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: "H . J . Lu" <hjl at valinux dot com>
- Subject: Re: latest snapshot fails to build libobjc.so on Solaris
- From: Ovidiu Predescu <ovidiu at cup dot hp dot com>
- Date: Tue, 21 Nov 2000 11:19:14 -0800
- Cc: Joe Buck <jbuck at racerx dot synopsys dot com>, gcc at gcc dot gnu dot org
On Tue, 21 Nov 2000 10:55:40 -0800, "H . J . Lu" <hjl@valinux.com> wrote:
> On Tue, Nov 21, 2000 at 10:50:31AM -0800, Joe Buck wrote:
> >
> > > Last time when I checked a few months ago, the PIC support in the
> > > Objective-C compiler was broken on most if not all ELF targets:
> >
> > 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.
>
> I noticed that the Objective-C compiler did quite a few things wrong
> with PIC for ELF. I don't know how to fix it.
It seems the Objective-C compiler generates some symbols without the proper
type information. I don't know however how these are supposed to be generated
on ELF platforms. Unfortunately I've been swamped in a totally different thing
at work and don't have time to investigate it.
Regards,
Ovidiu