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]

egcs-980221 problems on Solaris-2.6



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



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