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

Bug#682197: marked as done (gnat-4.6 FTBFS on Alpha: Link fails; --no-relax is a workaround.)



Your message dated Sun, 22 Jun 2014 20:48:34 +1200
with message-id <20140622084834.GA30111@omega>
and subject line gnat-4.6 will now build successfully on alpha as linker bug fixed
has caused the Debian Bug report #682197,
regarding gnat-4.6 FTBFS on Alpha: Link fails; --no-relax is a workaround.
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
682197: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=682197
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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.

--- End Message ---
--- Begin Message ---
Closing this gnat-4.6 FTBFS on alpha bug as the long standing linker
bug that was causing gnat-4.6 to fail to build on alpha is now fixed.
No special casing for alpha is needed anymore.

Cheers
Michael.

--- End Message ---

Reply to: