latest snapshot fails to build libobjc.so on Solaris

H . J . Lu hjl@valinux.com
Tue Nov 21 11:08:00 GMT 2000


On Tue, Nov 21, 2000 at 10:59:10AM -0800, Joe Buck wrote:
> > > 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?

Something like that.

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

It has been a long time and I know nothing about Objective-C :-). But
if someone is going to fix the Objective-C compiler, I will see what
I can help.


-- 
H.J. Lu (hjl@valinux.com)


More information about the Gcc mailing list