Subject: gas.new can't build libstdc++.so
To: None <port-sparc@netbsd.org, tech-toolchain@netbsd.org>
From: matthew green <mrg@eterna.com.au>
List: tech-toolchain
Date: 11/07/1998 15:27:43
with /usr/bin/as being the only thing changed, i get this lossage
when it is gas.new, when trying to link libstdc++.so.2.0 on my
sparc:

ld -x -shared  -o libstdc++.so.2.0    --whole-archive libstdc++_pic.a --no-whole-archive /usr/lib/c++rt0.o
ld: libstdc++_pic.a(Cinst.so): relocation for internal symbol expected at 0x30
ld: libstdc++_pic.a(Cinst.so): relocation for internal symbol expected at 0xa8
ld: libstdc++_pic.a(Cinst.so): relocation for internal symbol expected at 0xac
ld: libstdc++_pic.a(Cinst.so): relocation for internal symbol expected at 0xd4
ld: libstdc++_pic.a(Cinst.so): relocation for internal symbol expected at 0xdc
ld: libstdc++_pic.a(Cinst.so): relocation for internal symbol expected at 0x114
ld: libstdc++_pic.a(Cinst.so): relocation for internal symbol expected at 0x128
[ ... ]
ld: libstdc++_pic.a(Cinst.so): relocation for internal symbol expected at 0x3390
ld: libstdc++_pic.a(Cinst.so): relocation for internal symbol expected at 0x3408
ld: libstdc++_pic.a(Cinst.so): relocation for internal symbol expected at 0x345c
ld: libstdc++_pic.a(stdexcepti.so): relocation for internal symbol expected at 0x30
ld: libstdc++_pic.a(stdexcepti.so): relocation for internal symbol expected at 0x94
ld: libstdc++_pic.a(stdexcepti.so): relocation for internal symbol expected at 0x254
[ ... ]
ld: libstdc++_pic.a(stdexcepti.so): relocation for internal symbol expected at 0x3d80
ld: libstdc++_pic.a(stdexcepti.so): relocation for internal symbol expected at 0x3fd8
ld: libstdc++_pic.a(stdexcepti.so): relocation for internal symbol expected at 0x40d4
ld: internal error: libstdc++_pic.a(Cinst.so): claim_rrs_internal_gotslot at 0x30: no reservation
*** Error code 1


this is with egcs (current version).  i have not looked at gcc (none of my
sparcs have used gcc2.7 for months).