This is the mail archive of the gcc@gcc.gnu.org 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, 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


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