This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: latest snapshot fails to build libobjc.so on Solaris
- To: hjl at valinux dot com (H . J . Lu)
- Subject: Re: latest snapshot fails to build libobjc.so on Solaris
- From: Joe Buck <jbuck at racerx dot synopsys dot com>
- Date: Tue, 21 Nov 2000 10:59:10 -0800 (PST)
- Cc: gcc at gcc dot gnu dot org
> > 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).