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: Joe Buck <jbuck at racerx dot synopsys dot com>
- Subject: Re: latest snapshot fails to build libobjc.so on Solaris
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 21 Nov 2000 17:19:29 -0200
- Cc: hjl at valinux dot com (H . J . Lu), gcc at gcc dot gnu dot org
- Organization: GCC Team, Red Hat
- References: <200011211828.KAA18749@racerx.synopsys.com>
On Nov 21, 2000, Joe Buck <jbuck@racerx.synopsys.com> wrote:
>> > __objc_class_name_NXConstantString 0x20 .libs/linking.o
>> > ld: fatal: relocations remain against allocatable but non-writable sections
> What they have in common is that all of these .o files are built from
> Objective-C sources. Perhaps something is wrong with PIC generation from
> Objective-C?
That's possible. I remember having tracked one such failure before,
but it affected C++. I don't think the fix was C++-specific, though.
> Here is an example of a command that builds libs/linking.o:
What does the assembly code look like? Particularly, the code just
around the reference to the symbol, and the section in which it is
stored.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me