[parisc-linux] xfree86 4.2.1-9 build problem

John David Anglin dave@hiauly1.hia.nrc.ca
Mon, 11 Aug 2003 16:41:39 -0400 (EDT)


> On Mon, Aug 11, 2003 at 03:25:47PM -0400, John David Anglin wrote:
> > > What's interesting is the "ld" command has "-lgcc-eh" which is where
> > > the missing symbols are defined:
> > > grundler <512>nm libgcc_eh.a | grep _Unwind_SjLj_Resume
> > > 0000079c T _Unwind_SjLj_Resume
> > > 000008d0 T _Unwind_SjLj_Resume_or_Rethrow
> > > grundler <513>pwd
> > > /usr/lib/gcc-lib/hppa-linux/3.3.1
> > 
> > Yes, but libgcc_eh.a doesn't contain the versioned symbols that the shared
> > libraries need.
> 
> Are we not using libgcc_eh to resolve such symbols in libgcc and libc?

Not for versioned symbols.  For that, you need to link with libgcc_s.so
(i.e., the shared version of libgcc).  The g++ driver does this automatically.
You can also add `-shared-libcc' to your link command when using the gcc
driver.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)