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


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

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