latest snapshot fails to build libobjc.so on Solaris

Joe Buck jbuck@racerx.synopsys.com
Tue Nov 21 10:59:00 GMT 2000


> > libobjc.so builds OK on i686-pc-linux-gnu, which is ELF.  (Now
> > that doesn't mean that something isn't broken).
> 
> It doesn't mean much since the GNU linker, which i686-pc-linux-gnu
> uses, may handle many things which the Solaris linker refuses to
> at the price of reduced performance/feature.

Ah, so you're saying that non-PIC code is being emitted even though PIC
is specified, and this makes some linkers barf but not others?

Can you narrow the problem down?  (e.g. provide a small coding example
that makes non-PIC code).


More information about the Gcc mailing list