This is the mail archive of the gcc-bugs@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]

Error in libstdc++ bootstrapping egcs-20000110 on Solaris 7 x86


Make bootstrap of egcs-20000110 failed on Solaris 2.7 x86 while building 
libstdc++.so.2.10.0; the following configuration was in use:

$ gcc -v
Reading specs from /opt/gcc-2.95.2/lib/gcc-lib/i686-sun-solaris2.7/2.95.2/specs
gcc version 2.95.2 19991024 (release)
$ as --version
GNU assembler 000111
$ flex --version
flex version 2.5.4
$ make --version
GNU Make version 3.78.1, by Richard Stallman and Roland McGrath.
Built for i686-sun-solaris2.7

The egcs-20000110 configuration was the following:

$ env CC=gcc BOOT_CFLAGS="-O2 -mcpu=pentiumpro" ../egcs-20000110/configure \
i686-sun-solaris2.7 --enable-shared --enable-haifa --enable-threads \
--prefix=/opt/egcs --without-gnu-ld --srcdir=../egcs-20000110

Following is an extract of the build output:

...
/playground/build/egcsobj/gcc/xgcc -B/playground/build/egcsobj/gcc/
-B/opt/egcs/i686-sun-solaris2.7/bin/ -g -O2 -fno-implicit-templates
-h libstdc++.so.2.10.0 -shared -o libstdc++.so.2.10.0 `cat piclist` -lm
Text relocation remains                         referenced
     against symbol                  offset      in file
ifstream type_info node             0x0         ../libio/pic/pfstream.o
istream type_info node              0xc         ../libio/pic/stdiostream.o
istream type_info node              0x7c        ../libio/pic/iostream.o
istream type_info node              0x60        ../libio/pic/iostream.o
istream type_info node              0x20        ../libio/pic/fstream.o
istream type_info node              0x30        ../libio/pic/strstream.o
ofstream type_info node             0x14        ../libio/pic/pfstream.o
ofstream type_info node             0x4         ../libio/pic/PlotFile.o
ostream type_info node              0x50        ../libio/pic/strstream.o
ostream type_info node              0x24        ../libio/pic/stdiostream.o
ostream type_info node              0xa0        ../libio/pic/iostream.o
ostream type_info node              0x68        ../libio/pic/iostream.o
ostream type_info node              0x3c        ../libio/pic/fstream.o
fstream type_info node              0x0         ../libio/pic/SFile.o
iostream type_info node             0x70        ../libio/pic/strstream.o
iostream type_info node             0x58        ../libio/pic/fstream.o
fstreambase type_info node          0x50        ../libio/pic/fstream.o
fstreambase type_info node          0x18        ../libio/pic/fstream.o
fstreambase type_info node          0x34        ../libio/pic/fstream.o
strstreambase type_info node        0x48        ../libio/pic/strstream.o
strstreambase type_info node        0x68        ../libio/pic/strstream.o
strstreambase type_info node        0x28        ../libio/pic/strstream.o
ios type_info node                  0x10        ../libio/pic/strstream.o
ios type_info node                  0x4c        ../libio/pic/iostream.o
ios type_info node                  0x38        ../libio/pic/iostream.o
ios type_info node                  0x0         ../libio/pic/fstream.o
ld: fatal: relocations remain against allocatable but non-writable sections
collect2: ld returned 1 exit status
make[2]: *** [libstdc++.so.2.10.0] Error 1
make[2]: Leaving directory 
`/playground/build/egcsobj/i686-sun-solaris2.7/libstdc++'
make[1]: *** [all-target-libstdc++] Error 2
make[1]: Leaving directory `/playground/build/egcsobj'
make: *** [bootstrap] Error 2

Bernard Michaud
Excom Informatics Services


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