This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Problem building gcc 3.0 in Solaris 2.6
- To: gcc-help at gcc dot gnu dot org
- Subject: Problem building gcc 3.0 in Solaris 2.6
- From: "Karthikeyan M. D" <dkarthik at wilco-int dot com>
- Date: Sat, 21 Jul 2001 16:29:48 +0530
Hi,
I am getting the following error, when I tried building gcc-3.0 in
sun-sparc-solaris2.6 with native assembler and linker (/usr/ccs/bin/as and
/usr/ccs/bin/ld). I configured it like this,
../gcc-3.0/configure --prefix=/tmp/dkarthik/gcc
--enable-shared
--enable-threads=posix
--with-ld=/usr/ccs/bin/ld
--with-as=/usr/ccs/bin/as
Is it possible to build gcc-3.0 with the solaris native assembler and linker
? Any help would he highly appreciated.
Thanks and Regards,
Karthik
/tmp/dkarthik/build/gcc/xgcc -B/tmp/dkarthik/build/gcc/
-B/tmp/dkarthik/gcc/sparc-sun-solaris2.6/bin/
-B/tmp/dkarthik/gcc/sparc-sun-solaris2.6/lib/ -isystem
/tmp/dkarthik/gcc/sparc-sun-solaris2.6/include -shared -Wl,-h
-Wl,libobjc.so.1 -o .libs/libobjc.so.1.0.0 .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/Protocol.o
__objc_class_name_Object 0x0 .libs/NXConstStr.o
__objc_class_name_Object 0x1c .libs/linking.o
__objc_class_name_NXConstantString 0x20 .libs/linking.o
ld: fatal: relocations remain against allocatable but non-writable sections
collect2: ld returned 1 exit status
make[2]: *** [libobjc.la] Error 1
make[2]: Leaving directory
`/tmp/dkarthik/build/sparc-sun-solaris2.6/libobjc'
make[1]: *** [all-target-libobjc] Error 2
make[1]: Leaving directory `/tmp/dkarthik/build'
make: *** [bootstrap] Error 2
_______________________________________________
Karthikeyan M D
Wilco International Systems (P) Ltd
Web: www.wilco-int.com
Email: dkarthik@wilco-int.com
Phone: +91 40 340 8600 Extn.: 8422
Fax: +91 40 340 6980
"In the long run we're all dead"
This message is confidential and may also be legally privileged. If you are not the intended recipient, please notify us immediately. You should not copy it or use it for any purpose, not disclose its contents to any other person. The views and opinions expressed in this e-mail message are the author's own and may not reflect the views and opinions of Wilco International