From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joe Buck To: egcs@cygnus.com (egcs team) Subject: Solaris problems with exceptions+shared libraries, 971031 Date: Sat, 01 Nov 1997 13:42:00 -0000 Message-id: <199711012142.NAA27180@atrus.synopsys.com> X-SW-Source: 1997-11/msg00010.html On sparc-sun-solaris 2.5.1, for 971031 configured --enable-shared, I get the following errors from the libstdc++ tests: /remote/dtg103/jbuck/gnu/src/egcs-971031/gcc/xgcc -B/remote/dtg103/jbuck/gnu/src/egcs-971031/gcc/ -g -O2 -fno-implicit-templates -h libstdc++.so.2.8.0 -shared -o libstdc++.so.2.8.0 `cat piclist` -lm ld: fatal: file pic/cstrmain.o: section .eh_frame: an output relocation [R_SPARC_RELATIVE] against symbol `__EXCEPTION_TABLE__' would be created against a non-aligned offset: 0x52cdf ld: fatal: file pic/stdexcepti.o: section .eh_frame: an output relocation [R_SPARC_RELATIVE] against symbol `__EXCEPTION_TABLE__' would be created against a non-aligned offset: 0x54e97 ld: fatal: file ../libio/pic/filebuf.o: section .eh_frame: an output relocation [R_SPARC_RELATIVE] against symbol `__EXCEPTION_TABLE__' would be created against a non-aligned offset: 0x553f3 ld: fatal: file ../libio/pic/fstream.o: section .eh_frame: an output relocation [R_SPARC_RELATIVE] against symbol `__EXCEPTION_TABLE__' would be created against a non-aligned offset: 0x55673 ld: fatal: file ../libio/pic/procbuf.o: section .eh_frame: an output relocation [R_SPARC_RELATIVE] against symbol `__EXCEPTION_TABLE__' would be created against a non-aligned offset: 0x56ca7 ld: fatal: file ../libio/pic/stdiostream.o: section .eh_frame: an output relocation [R_SPARC_RELATIVE] against symbol `__EXCEPTION_TABLE__' would be created against a non-aligned offset: 0x56e4b ld: fatal: file ../libio/pic/stream.o: section .eh_frame: an output relocation [R_SPARC_RELATIVE] against symbol `__EXCEPTION_TABLE__' would be created against a non-aligned offset: 0x5713f ld: fatal: file ../libio/pic/strstream.o: section .eh_frame: an output relocation [R_SPARC_RELATIVE] against symbol `__EXCEPTION_TABLE__' would be created against a non-aligned offset: 0x57e93 ld: fatal: file ../libio/pic/parsestream.o: section .eh_frame: an output relocation [R_SPARC_RELATIVE] against symbol `__EXCEPTION_TABLE__' would be created against a non-aligned offset: 0x5879b ld: fatal: file ../libio/pic/pfstream.o: section .eh_frame: an output relocation [R_SPARC_RELATIVE] against symbol `__EXCEPTION_TABLE__' would be created against a non-aligned offset: 0x58adb ld: fatal: file ../libio/pic/editbuf.o: section .eh_frame: an output relocation [R_SPARC_RELATIVE] against symbol `__EXCEPTION_TABLE__' would be created against a non-aligned offset: 0x58bd3 collect2: ld returned 1 exit status make: *** [libstdc++.so.2.8.0] Error 1