This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Always link against static libgcc on hppa-linux
- From: Richard Henderson <rth at redhat dot com>
- To: John David Anglin <dave at hiauly1 dot hia dot nrc dot ca>
- Cc: dje at watson dot ibm dot com, mark at codesourcery dot com, gcc-patches at gcc dot gnu dot org
- Date: Fri, 15 Feb 2002 12:53:50 -0800
- Subject: Re: Always link against static libgcc on hppa-linux
- References: <20020215114114.C25391@redhat.com> <200202152021.g1FKLreU007561@hiauly1.hia.nrc.ca>
On Fri, Feb 15, 2002 at 03:21:53PM -0500, John David Anglin wrote:
> It only outputs "-shared" and links with gcc. One of the "-gcc" in each
> pair is from LIB_SPEC. As can be seen, there no shared name in the link
> command. Don't we need EH for libstdc++?
Yes indeed we do. At the moment this is "working" because
we install undefined references to the eh routines in libstdc++,
which get resolved at runtime somewhere.
But they didn't get their symbol versions attached, and didn't
get the proper DT_NEEDED entry either. This needs to be fixed.
r~