[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#561418: texlive-bin: FTBFS on alpha: relocation truncated to fit: GPREL16 against symbol `zzzaa' defined in COMMON section in pdftex-pdftexextra.o



Source: texlive-bin
Version: 2009-3
Severity: important

Hi,

There was an error while trying to autobuild your package:

> Start Time: 20091211-1658

[...]

> Build-Depends: debhelper (>= 7), quilt, sharutils, ed, libncurses5-dev | libncurses-dev, libxaw7-dev, libpng12-dev | libpng-dev, zlib1g-dev | libz-dev, libgd2-xpm-dev | libgd2-noxpm-dev, flex, bison, libpoppler-dev (>= 0.6), chrpath, g++-4.4 [armel], time

[...]

> Toolchain package versions: libc6.1-dev_2.10.2-2 linux-libc-dev_2.6.32-1 g++-4.4_4.4.2-4 gcc-4.4_4.4.2-4 binutils_2.20-4 libstdc++6_4.4.2-4 libstdc++6-4.4-dev_4.4.2-4
> 

[...]

> /bin/sh ./libtool --tag=CXX   --mode=link g++  -g -O2   -o pdftex  pdftex-pdftexini.o pdftex-pdftex0.o pdftex-pdftex1.o pdftex-pdftex2.o pdftex-pdftex3.o pdftex-pdftex-pool.o pdftex-pdftexextra.o pdftex-synctex-pdf.o libpdftex.a -lpng -lz -lpoppler   /build/buildd-texlive-bin_2009-3-alpha-BB09Qt/texlive-bin-2009/Work/libs/obsdcompat/libopenbsd-compat.a libmd5.a lib/lib.a /build/buildd-texlive-bin_2009-3-alpha-BB09Qt/texlive-bin-2009/Work/texk/kpathsea/libkpathsea.la  -lm 
> libtool: link: g++ -g -O2 -o .libs/pdftex pdftex-pdftexini.o pdftex-pdftex0.o pdftex-pdftex1.o pdftex-pdftex2.o pdftex-pdftex3.o pdftex-pdftex-pool.o pdftex-pdftexextra.o pdftex-synctex-pdf.o  libpdftex.a -lpng -lz -lpoppler /build/buildd-texlive-bin_2009-3-alpha-BB09Qt/texlive-bin-2009/Work/libs/obsdcompat/libopenbsd-compat.a libmd5.a lib/lib.a /build/buildd-texlive-bin_2009-3-alpha-BB09Qt/texlive-bin-2009/Work/texk/kpathsea/.libs/libkpathsea.so -lm -Wl,-rpath -Wl,/build/buildd-texlive-bin_2009-3-alpha-BB09Qt/texlive-bin-2009/inst/lib
> pdftex-pdftex0.o: In function `zeqworddefine':
> /build/buildd-texlive-bin_2009-3-alpha-BB09Qt/texlive-bin-2009/Work/texk/web2c/pdftex0.c:9055: relocation truncated to fit: GPREL16 against symbol `zzzaa' defined in COMMON section in pdftex-pdftexextra.o
> collect2: ld returned 1 exit status
> find: `/build/buildd-texlive-bin_2009-3-alpha-BB09Qt/texlive-bin-2009/inst/bin': No such file or directory
> make[6]: *** [pdftex] Error 1
> make[6]: Leaving directory `/build/buildd-texlive-bin_2009-3-alpha-BB09Qt/texlive-bin-2009/Work/texk/web2c'
> make[5]: *** [all-recursive] Error 1
> make[5]: Leaving directory `/build/buildd-texlive-bin_2009-3-alpha-BB09Qt/texlive-bin-2009/Work/texk/web2c'
> make[4]: *** [all] Error 2
> make[4]: Leaving directory `/build/buildd-texlive-bin_2009-3-alpha-BB09Qt/texlive-bin-2009/Work/texk/web2c'
> make[3]: *** [subtexk] Error 1
> make[3]: Leaving directory `/build/buildd-texlive-bin_2009-3-alpha-BB09Qt/texlive-bin-2009/Work/texk'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/build/buildd-texlive-bin_2009-3-alpha-BB09Qt/texlive-bin-2009/Work/texk'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/build/buildd-texlive-bin_2009-3-alpha-BB09Qt/texlive-bin-2009/Work'
> Command exited with non-zero status 2
> 1166.95user 99.87system 22:56.97elapsed 92%CPU (0avgtext+0avgdata 0maxresident)k
> 0inputs+1055232outputs (3major+12093692minor)pagefaults 0swaps
> + echo 2
> ./Build: Build failed, no executables under /build/buildd-texlive-bin_2009-3-alpha-BB09Qt/texlive-bin-2009/inst/bin.
> done Fri Dec 11 17:27:26 UTC 2009
> make: *** [build-stamp] Error 2
> dpkg-buildpackage: error: debian/rules build gave error exit status 2

A full build log can be found at:
http://buildd.debian.org/build.php?arch=alpha&pkg=texlive-bin&ver=2009-3

I think this part of gcc's docs is relavant:

       -msmall-data
       -mlarge-data
           When -mexplicit-relocs is in effect, static data is accessed via
           gp-relative relocations.  When -msmall-data is used, objects 8
           bytes long or smaller are placed in a small data area (the ".sdata"
           and ".sbss" sections) and are accessed via 16-bit relocations off
           of the $gp register.  This limits the size of the small data area
           to 64KB, but allows the variables to be directly accessed via a
           single instruction.

           The default is -mlarge-data.  With this option the data area is
           limited to just below 2GB.  Programs that require more than 2GB of
           data must use "malloc" or "mmap" to allocate the data in the heap
           instead of in the program's data segment.

           When generating code for shared libraries, -fpic implies
           -msmall-data and -fPIC implies -mlarge-data.

I don't see any options in the calls to gcc, so I think it's
using the defaults.

I don't know that much about alpha, so I hope someone else can
give some insight in what the problem might be and help to get
this resolved.  I suspect this is some problem in the compiler.


Kurt




Reply to: