This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: libgcc_s, Linux, and PT_GNU_EH_FRAME
Jakub Jelinek <jakub@redhat.com> writes:
> I think it is best just to say in the docs that 3.2 linux ABI compatibility
> requires: binutils 2.12.1+, glibc 2.2.5+ used when configuring and
> configuring with --enable-threads=posix --enable-shared --enable-__cxa_atexit
Shouldn't gcc's build process indicate that the resulting compiler
won't be able to create ABI-compliant binaries?
> (dunno if other configure options matter for binary compatibility).
That seems the root of the problem: Apparently, nobody knows that the
ABI not just depends on the compiler source code, but also on other
details, such as the version of the C library that was present when
the compiler was built.
Notice that install.texi has various recommendations on binutils:
arm*-*-linux-gnu: requires binutils 2.10 or newer
i?86-*-linux*: binutils 2.9.1.0.15 or newer for exception handling to work.
ia64-*-linux: binutils 2.11.1 or later (for 3.0.1)
powerpc-*-linux-gnu*: binutils 2.12.90.0.7 or newer
Regards,
Martin