FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian GCC

 
 
LinkBack Thread Tools
 
Old 07-20-2012, 08:36 AM
Michael Cree
 
Default Bug#682197: gnat-4.6 FTBFS on Alpha: Link fails; --no-relax is a workaround.

Source: gnat-4.6
Version: 4.6.3-5
Severity: normal
Tags: patch
User: debian-alpha@lists.debian.org
Usertags: alpha
X-Debbugs-CC: debian-alpha@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-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 500918A2.7020802@orcon.net.nz">http://lists.debian.org/500918A2.7020802@orcon.net.nz
 

Thread Tools




All times are GMT. The time now is 09:32 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org