This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
egcs-980221 problems on Solaris-2.6
- To: Oleg Krivosheev <kriol at waldo dot fnal dot gov>
- Subject: egcs-980221 problems on Solaris-2.6
- From: Oleg Krivosheev <kriol at fnal dot gov>
- Date: Mon, 23 Feb 1998 17:21:02 -0600 (CST)
- cc: egcs at cygnus dot com
Hi, All
tried to build latest snapshot
./configure --enable-shared --enable-haifa --prefix=...
host_canonical = sparc-sun-solaris2.6
make bootstrap BOOT_CFLAGS="-pipe -O3"
/home/room1/kriol/egcs-980221/gcc/xgcc
-B/home/room1/kriol/egcs-980221/gcc/ -g -O2 -fno-implicit-templates -h
libstdc++.so.2.8.0 -shared -o libstdc++.so.2.8.0 `cat piclist` -lm
Text relocation remains referenced
against symbol offset in file
<unknown> 0x40 ../libio/pic/ioextend.o
<unknown> 0x0 ../libio/pic/ioextend.o
<unknown> 0x38 ../libio/pic/ioextend.o
<unknown> 0x4 ../libio/pic/ioextend.o
<unknown> 0x14 ../libio/pic/ioextend.o
<unknown> 0x1c ../libio/pic/ioextend.o
<unknown> 0x20 ../libio/pic/ioextend.o
__builtin_vec_new 0x4 ../libio/pic/strstream.o
<and tons of other such errors>
SUN native ld
i suspect that something is going wrong with --enable-shared.
>From compilation log it loooks like there is no
-fPIC/-fpic options while compiling sh.lib
object file.
/home/room1/kriol/egcs-980221/gcc/xgcc
-B/home/room1/kriol/egcs-980221/gcc/ -c -g -O2 -fno-implicit-templates -I.
-I./stl -I../libio -I./../libio -nostdinc++ cstringi.cc -o
pic/cstringi.o
/home/room1/kriol/egcs-980221/gcc/xgcc
-B/home/room1/kriol/egcs-980221/gcc/ -c -g -O2 -fno-implicit-templates -I.
-I./stl -I../libio -I./../libio -nostdinc++ cstringi.cc
Does someone has this error?
regards
OK