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

Bug#699220: gcc-4.8 FTBFS from source on Alpha.



Source: gcc-4.8
Version: 4.8-20130127-1
Severity: normal
Tags: patch
User: debian-alpha@lists.debian.org
Usertags: alpha
X-Debbugs-CC: debian-alpha@lists.debian.org

gcc-4.8 in experimental FTBFS on alpha due to linker relocation overflow
errors.  Build log at:

http://buildd.debian-ports.org/status/fetch.php?pkg=gcc-4.8&arch=alpha&ver=4.8-20130127-1&stamp=1359353680

This is a known problem in the linker that affects builds of very large
(typically C++) packages.  The work around is to link with --no-relax. 
I would presume that the fix reported in bugs #681762 (same problem
seen in gcc-4.5) and #682197 (same problem seen in gnat-4.6), namely
adding to debian/rules2 the following

ifneq (,$(filter $(DEB_TARGET_ARCH), alpha))
  LDFLAGS = -Wl,--no-relax
endif 

should enable gcc-4.8 to build on Alpha.

Cheers
Michael.


Reply to: