This is the mail archive of the 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: libgcc_s, Linux, and PT_GNU_EH_FRAME

Jakub Jelinek <> 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 or newer for exception handling to work.
ia64-*-linux:     binutils 2.11.1 or later (for 3.0.1)
powerpc-*-linux-gnu*: binutils or newer


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