[parisc-linux] xfree86 4.2.1-9 build problem

John David Anglin dave@hiauly1.hia.nrc.ca
Mon, 11 Aug 2003 13:30:40 -0400 (EDT)


> I upgraded to gcc-3.3/unstable and got the same result when attempting
> to build glxinfo by hand.

It's not clear what's going on.  Possibly, linking with libgcc.a
is interacting in a bad way with shared libraries linked with
libgcc_s.so.  You can get more info by adding `-Wl,-v' to the link
command.  Adding `-Wl,-debug' to the gcc link command will show
the full `ld' command.

I am certain that the symbols are defined in libgcc_s.so.  It may
be that the linker isn't looking for dependent libraries correctly.
Using the g++ driver or adding `-shared-libgcc' to the link command
should work around the problem.  But I don't think that it should
be necessary.

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