Source: gnat-4.6 Version: 4.6.3-5 Severity: normal Tags: patch User: debian-al...@lists.debian.org Usertags: alpha X-Debbugs-CC: debian-al...@lists.debian.org
gnat-4.6 FTBFS on Alpha with GPREL16 relocation truncation errors in the link of gnat1 during stage 1 compilation. Full build log is at: http://buildd.debian-ports.org/status/fetch.php?pkg=gnat-4.6&arch=alpha&ver=4.6.3-5&stamp=1342739232 Adding: ifneq (,$(filter $(DEB_TARGET_ARCH), alpha)) LDFLAGS = -Wl,--no-relax endif to debian/rules2 enables the link to complete successfully. (The bug is actually a long standing bug in binutils that typically only affects the linking of very large C++ projects but seems to be triggered more often now that gcc-4.6 is the default.) I presume adding the above to debian/rules2 will mean that it is also automatically added to the gcc-4.6 and gcj-4.6 packages but that should result in no loss in performance to gcc/g++/gcj/etc since only the link of the stage-1 compiler does not get relaxation optimisation. Cheers Michael. -- To UNSUBSCRIBE, email to debian-gcc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/500918a2.7020...@orcon.net.nz