relocation truncated to fit error on alpha

Wolfgang Bangerth bangerth@ices.utexas.edu
Fri Apr 4 21:45:00 GMT 2003


> I'm trying to build deal.II CVS with gcc-3.4 on alphaev6-unknown-linux-gnu
> and in trying to run the first test, I get the error messages:
> 
> ============================ Linking step-1
> liblac.g.a(sparse_matrix.float.g.o)(.rodata+0x2e00): relocation truncated to fit: GPREL32 *UND*
> liblac.g.a(sparse_matrix.float.g.o)(.rodata+0x2e04): relocation truncated to fit: GPREL32 *UND*
> [...]
> collect2: ld returned 1 exit status
> make[1]: *** [step-1] Error 1
> 
> Now, this is the same as PR6999, which you, Wolfgang, recently closed; it's
> somewhat ironic now that it comes up again when I'm trying to use your
> deal.II package.

Indeed ironic. Sorry, then, for doing this, I closed it because there was 
no feedback for a long time.

> which leads to Richard Henderson proposing a patch in
> http://gcc.gnu.org/ml/gcc/2001-11/msg00413.html
> which may not have been followed up.

But it was checked in as version 1.202 of the config/alpha/alpha.c


> So, does anyone have any suggestions about how to fix the build process of
> deal.II (which I find somewhat opaque) or how to fix this once and for all
> with gcc?

I can't comment on the gcc side, but am of course more than willing to 
answer all questions about the build process in deal.II. By the way, the 
flags used for building are in common/Make.global_options. The ones used 
for the files above (the debug build) are in $CXXFLAGSG.

Regards
  Wolfgang (...would love to help more, if only could...)

-------------------------------------------------------------------------
Wolfgang Bangerth              email:            bangerth@ices.utexas.edu
                               www: http://www.ices.utexas.edu/~bangerth/




More information about the Gcc mailing list