relocation truncated to fit error on alpha

Falk Hueffner falk.hueffner@student.uni-tuebingen.de
Sat Apr 5 01:07:00 GMT 2003


Richard Henderson <rth@redhat.com> writes:

> > /export/home/lucier/programs/deal.II/lib/liblac.g.a(sparse_matrix.float.g.o)(.rodata+0x2e00): relocation truncated to fit: GPREL32 *UND*
> 
> The thing you should be concerned about here is not the
> relocation type at all, or even the overflow, but that
> we're relocating against an undefined symbol.
> 
> I don't suppose you have sparse_matrix.float.g.[is] 
> hanging about?

sfs fails with a similar error on Alpha
(http://buildd.debian.org/fetch.php?&pkg=sfs&ver=1%3A0.7.2-3&arch=alpha&stamp=1043589561&file=log&as=raw):

g++ -g -O2 -Wall -o .libs/sfsproac sfsauthmgr.o sfsextauth.o sfsproac.o ../sfsmisc/.libs/libsfsmisc.so -lresolv -lnsl ../svc/.libs/libsvc.so -lresolv -lnsl ../crypt/.libs/libsfscrypt.so -lresolv -lnsl ../arpc/.libs/libarpc.so -lresolv -lnsl ../async/.libs/libasync.so -lresolv -lnsl /usr/lib/libgmp.so -lresolv -lnsl -Wl,--rpath -Wl,/usr/lib/sfs-0.7.2
sfsproac.o(.rodata+0xd4):/tmp/sfs-0.7.2/async/str.h:420: relocation truncated to fit: GPREL32 *UND*
sfsproac.o(.rodata+0xd8):/tmp/sfs-0.7.2/arpc/xdrmisc.h:243: relocation truncated to fit: GPREL32 *UND*
sfsproac.o(.rodata+0xdc):/tmp/sfs-0.7.2/async/str.h:312: relocation truncated to fit: GPREL32 *UND*
sfsproac.o(.rodata+0xe0):/tmp/sfs-0.7.2/async/union.h:102: relocation truncated to fit: GPREL32 *UND*
sfsproac.o(.rodata+0xe4):/tmp/sfs-0.7.2/async/union.h:105: relocation truncated to fit: GPREL32 *UND*
sfsproac.o(.rodata+0xe8):/tmp/sfs-0.7.2/async/str.h:420: relocation truncated to fit: GPREL32 *UND*
sfsproac.o(.rodata+0xec):/tmp/sfs-0.7.2/async/str.h:180: relocation truncated to fit: GPREL32 *UND*
collect2: ld returned 1 exit status

I've put sfsproac.ii.bz2 and sfsproac.s.bz2 at
http://people.debian.org/~falk/.

-- 
	Falk



More information about the Gcc mailing list