------- Comment #7 from bkoz at gcc dot gnu dot org  2009-01-24 02:30 -------

Please note there are no ABI baseline files checked in to the FSF GCC
repository for darwin for this (or any) release on this (or any) architecture.
Without these, there can be no automated ABI testing by the GCC community. 

Thus, there is no ABI to break for your release/target, and this bug is
invalid. 

If this is something you'd like to see supported on your target in the future,
please consider activating the "make check-abi" rule and checking in the ABI
baseline files (baseline_symbols.txt) to the
config/abi/post/[powerpc|i686]_darwin directories. 

There appears to be scripts/make_exports.pl that intends to generate the
appropriate baseline files for darwin. It appears to be unused. Is this still
in an experimental state?

Now, to answer the stated question.

On x86_64-linux-gnu, gcc-4.0.4 has the following stdio_sync_exports in
baseline_symbols.txt:
OBJECT:54:_ZTSN9__gnu_cxx18stdio_sync_filebufIcSt11char_traitsIcEEE@@GLIBCXX_3.4
OBJECT:54:_ZTSN9__gnu_cxx18stdio_sync_filebufIwSt11char_traitsIwEEE@@GLIBCXX_3.4
FUNC:_ZN9__gnu_cxx18stdio_sync_filebufIcSt11char_traitsIcEE4fileEv@@GLIBCXX_3.4.2
FUNC:_ZN9__gnu_cxx18stdio_sync_filebufIwSt11char_traitsIwEE4fileEv@@GLIBCXX_3.4.2
OBJECT:24:_ZTIN9__gnu_cxx18stdio_sync_filebufIcSt11char_traitsIcEEE@@GLIBCXX_3.4
OBJECT:24:_ZTIN9__gnu_cxx18stdio_sync_filebufIwSt11char_traitsIwEEE@@GLIBCXX_3.4
OBJECT:54:_ZTSN9__gnu_cxx18stdio_sync_filebufIcSt11char_traitsIcEEE@@GLIBCXX_3.4
OBJECT:54:_ZTSN9__gnu_cxx18stdio_sync_filebufIwSt11char_traitsIwEEE@@GLIBCXX_3.4

These match gcc-4.2.4. Analysis of prior baseline_symbols.txt files (from
gcc-3.4.6) show similar exports for this class. 

So, 
000252d2 T __gnu_cxx::stdio_sync_filebuf<char, std::char_traits<char> >::file()
0002530e T __gnu_cxx::stdio_sync_filebuf<wchar_t, std::char_traits<wchar_t>
>::file()

was exported from gcc-3.4.6 to gcc-4.2.4 inclusive, and remains exported. The
remaining functions were not exported. 

For the record, later versions of gcc, starting with gcc-4.3.0, started
exporting these stdio_sync_filebuf member functions in the GLIBCXX_3.4.10
namespace. This is not especially relevant to your question about gcc-4.0.0 to
gcc-4.2.1 versioning.

If darwin exported these additional member functions in gcc-4.0.0, then it did
so in divergence with the linux baselines.

Hope this helps.


-- 

bkoz at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36164

Reply via email to