This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: latest snapshot fails to build libobjc.so on Solaris


> > 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).

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]