This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: relocation truncated to fit error on alpha
- From: Falk Hueffner <falk dot hueffner at student dot uni-tuebingen dot de>
- To: Richard Henderson <rth at redhat dot com>
- Cc: Brad Lucier <lucier at math dot purdue dot edu>, gcc at gcc dot gnu dot org, Sehun Chun <schun at math dot purdue dot edu>, bangerth at dealii dot org
- Date: 04 Apr 2003 22:39:03 +0200
- Subject: Re: relocation truncated to fit error on alpha
- References: <200304041915.h34JFjSn002361@banach.math.purdue.edu><20030404193746.GE28206@redhat.com>
Richard Henderson <rth at redhat dot 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