libgcc_s, Linux, and PT_GNU_EH_FRAME, and binutils

Martin v. Loewis martin@v.loewis.de
Sun Aug 4 21:44:00 GMT 2002


Further analysis shows that the incompatibility was caused due to
different binutils versions. On the system where the binary was
compiled, binutils 2.12 was present, which has --eh-frame-hdr.

On the system where the binary was run, binutils 2.11 was present,
which does not support this option.

So binutils versions that differ by one minor can cause binary
incompatibilities for C++ :-(

Regards,
Martin



More information about the Gcc mailing list