This is the mail archive of the 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 on Solaris

On Tue, Nov 21, 2000 at 09:26:51AM -0800, Joe Buck wrote:
> I'm getting a failure building on Solaris (old Solaris,
> platform is sparc-sun-solaris2.5.1).
> Here's the command that fails:
> /remote/dtg103/jbuck/gnu/src/cvs/gcc-racerx/gcc/xgcc -B/remote/dtg103/jbuck/gnu/src/cvs/gcc-racerx/gcc/ -B/u/jbuck/gcc-cvs/sparc-sun-solaris2.5.1/bin/ -B/u/jbuck/gcc-cvs/sparc-sun-solaris2.5.1/lib/ -isystem /u/jbuck/gcc-cvs/sparc-sun-solaris2.5.1/include -shared -Wl,-h -Wl, -o .libs/  .libs/archive.o .libs/class.o .libs/encoding.o .libs/gc.o .libs/hash.o .libs/init.o .libs/linking.o .libs/misc.o .libs/nil_method.o .libs/NXConstStr.o .libs/Object.o .libs/objects.o .libs/Protocol.o .libs/sarray.o .libs/selector.o .libs/sendmsg.o .libs/thr.o .libs/thr-objc.o  -lc 
> Text relocation remains                 	referenced
>     against symbol		    offset	in file
> __objc_class_name_Object            0x0       	.libs/NXConstStr.o
> __objc_class_name_Object            0x1c      	.libs/linking.o
> __objc_class_name_Object            0x0       	.libs/Protocol.o
> __objc_class_name_NXConstantString  0x20      	.libs/linking.o

Are those .o files compiled with PIC?

> ld: fatal: relocations remain against allocatable but non-writable sections
> collect2: ld returned 1 exit status
> make[2]: *** [] Error 1

H.J. Lu (

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