This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch] [libstdc++] [C++0x] Export std::string base object move constructor.


Hi,
After a bit of poking around with nm in various objects I determined
that the baseline_symbols files define what should be exported.  The
following grep+sed combo adds the necessary export for any architecture
that exports the C1 constructor symbol.

   grep _ZNSsC1EOSs libstdc++-v3/config/abi/post -R -l | xargs sed -i.bak
'/_ZNSsC2EPKcRKSaIcE/ iFUNC:_ZNSsC2EOSs@@GLIBCXX_3.4.14'
For sure the baseline_symbols files do *not* define what is exported, pre/gnu.ver does, those files are only for checking purposes. Now, I'm traveling and I'm not a position to carefully double check on Linux what you are saying, I'm going to ask Jakub' help here, looks more likely something should be additionally exported @GLIBCXX_3.4.15.

Paolo.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]