alpha vs. -static: relocation truncated to fit

Benjamin Kosnik bkoz@redhat.com
Mon Apr 29 01:48:00 GMT 2002


Noticed during a 'make check-script' on alpha for my last patch:

-b	+	21_strings/append.cc

/castro/street/bkoz/bld-alpha-gcc-3_1-branch/gcc/g++ -shared-libgcc -B/castro/street/bkoz/bld-alpha-gcc-3_1-branch/gcc/ -nostdinc++ -L/castro/street/bkoz/bld-alpha-gcc-3_1-branch/alphaev6-unknown-linux-gnu/libstdc++-v3/src -L/castro/street/bkoz/bld-alpha-gcc-3_1-branch/alphaev6-unknown-linux-gnu/libstdc++-v3/src/.libs -B/castro/street/bkoz/H-alpha-gcc/alphaev6-unknown-linux-gnu/bin/ -B/castro/street/bkoz/H-alpha-gcc/alphaev6-unknown-linux-gnu/lib/ -isystem /castro/street/bkoz/H-alpha-gcc/alphaev6-unknown-linux-gnu/include -g -ffunction-sections -fdata-sections -fmessage-length=0 -DDEBUG_ASSERT -DLOCALEDIR="/castro/street/bkoz/bld-alpha-gcc-3_1-branch/alphaev6-unknown-linux-gnu/libstdc++-v3/po/share/locale" -nostdinc++ -I/castro/street/bkoz/bld-alpha-gcc-3_1-branch/alphaev6-unknown-linux-gnu/libstdc++-v3/include/alphaev6-unknown-linux-gnu -I/castro/street/bkoz/bld-alpha-gcc-3_1-branch/alphaev6-unknown-linux-gnu/libstdc++-v3/include -I/es/scratch/bkoz/src.gcc-3_1-branch/libstd!
c++-v3/libsupc++ -I/es/scratch/bkoz/src.gcc-3_1-branch/libstdc++-v3/libio -I/es/scratch/bkoz/src.gcc-3_1-branch/libstdc++-v3/include/backward -I/es/scratch/bkoz/src.gcc-3_1-branch/libstdc++-v3/testsuite -static /es/scratch/bkoz/src.gcc-3_1-branch/libstdc++-v3/testsuite/21_strings/insert.cc -o /castro/street/bkoz/bld-alpha-gcc-3_1-branch/alphaev6-unknown-linux-gnu/libstdc++-v3/testsuite/insert.st-exe
/castro/street/bkoz/bld-alpha-gcc-3_1-branch/alphaev6-unknown-linux-gnu/libstdc++-v3/src/.libs/libstdc++.a(string-inst.o)(.eh_frame+0x1188): relocation truncated to fit: SREL32 *UND*
/castro/street/bkoz/bld-alpha-gcc-3_1-branch/alphaev6-unknown-linux-gnu/libstdc++-v3/src/.libs/libstdc++.a(string-inst.o)(.eh_frame+0x11f0): relocation truncated to fit: SREL32 *UND*
/castro/street/bkoz/bld-alpha-gcc-3_1-branch/alphaev6-unknown-linux-gnu/libstdc++-v3/src/.libs/libstdc++.a(string-inst.o)(.eh_frame+0x1298): relocation truncated to fit: SREL32 *UND*
/castro/street/bkoz/bld-alpha-gcc-3_1-branch/alphaev6-unknown-linux-gnu/libstdc++-v3/src/.libs/libstdc++.a(string-inst.o)(.eh_frame+0x13d0): relocation truncated to fit: SREL32 *UND*
collect2: ld returned 1 exit status


This is with current binutils.

%which ld
/castro/street/bkoz/H-alpha-src/bin/ld
<bkoz@castro> /castro/street/bkoz/bld-alpha-gcc-3_1-branch/alphaev6-unknown-linux-gnu/libstdc++-v3/testsuite                                                    
%ld --version
GNU ld version 2.12.90 20020428

Everything else is fine, but this is a bit odd.

-benjamin



More information about the Gcc-bugs mailing list