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

Bug#672222: texlive-bin FTBFS on alpha: GPREL16 relocation errors can be overcome with --no-relax



Source: texlive-bin
Version: 2011.20120507-1
Severity: Important
Justification: Fails to build from source (but built in the past)
User: debian-alpha@lists.debian.org
Usertags: alpha
X-Debbugs-CC: debian-alpha@lists.debian.org

texlive-bin FTBFS on Alpha with GRPEL16 relocation truncation errors
during linking of pdftex.  See build log at:

http://buildd.debian-ports.org/status/fetch.php?pkg=texlive-bin&arch=alpha&ver=2011.20120507-1&stamp=1336527521

This is a longstanding problem with the optimiser in the linker on Alpha
but can be worked around with the flag -Wl,--no-relax during linking.
The following added to debian/rules:

DEB_HOST_ARCH     ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)

ifeq ($(DEB_HOST_ARCH), alpha)
  export LDFLAGS = -Wl,--no-relax
endif

results in a successful build.

Cheers
Michael.



Reply to: