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, and binutils
Jakub Jelinek <jakub@redhat.com> writes:
> The compatibility is only backward compatibility, not forward
> compatibility. So if you build binaries/libraries on a system with
> PT_GNU_EH_FRAME capable g++/libgcc_s, you need to use that libgcc_s
> wherever you run those programs.
Should this incompatibility be indicated in the libgcc_s version, or
in a versioned symbol?
I predict that users will get easily confused by that, and quite upset
because the failure cause is so difficult to track down. OTOH, if the
dynamic linker tells them that they need _Unwind_Find_FDE@GNU_MAGIC,
they get a clue that something is wrong with their shared libraries.
Regards,
Martin
- References:
- libgcc_s, Linux, and PT_GNU_EH_FRAME, and binutils
- Re: libgcc_s, Linux, and PT_GNU_EH_FRAME, and binutils
- Re: libgcc_s, Linux, and PT_GNU_EH_FRAME, and binutils
- Re: libgcc_s, Linux, and PT_GNU_EH_FRAME, and binutils