Bug#719687: wesnoth-1.11 FTBFS on alpha: easy workaround to fix

Michael Cree mcree at orcon.net.nz
Wed Aug 14 09:42:27 UTC 2013


Source: wesnoth-1.11
Version: 1:1.11.5-1
Severity: normal
User: debian-alpha at lists.debian.org
Usertags: alpha

wesnoth-1.11 FTBFS on Alpha due to relocation errors during linking.  This
is a known bug in the linker on Alpha which affects linking very large
projects with relaxation.  Fortunately there is a workaround, and it is to
add to debian/rules the following:

DEB_BUILD_ARCH  ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
ifneq (,$(filter $(DEB_BUILD_ARCH),alpha))
  LDFLAGS += -Wl,--no-relax
endif

and then wesnoth-1.11 builds to completion.  The same fix should also work
on wesnoth-1.10.

Cheers
Michael.



More information about the Pkg-games-devel mailing list