Bug#650151: FTBFS on Alpha: Some tweaks needed

Mike Hommey mh at glandium.org
Sun Nov 27 09:20:11 UTC 2011


On Sun, Nov 27, 2011 at 01:52:09PM +1300, Michael Cree wrote:
> Source: iceweasel
> Version: 8.0-3
> Severity: Important
> Justification: fails to build from source
> User: debian-alpha at lists.debian.org
> Usertags: alpha
> X-Debbugs-CC: debian-alpha at lists.debian.org
> 
> Iceweasel FTBFS on Alpha. Build log is at:
> http://buildd.debian-ports.org/status/fetch.php?pkg=iceweasel&arch=alpha&ver=8.0-3&stamp=1320898779
> 
> The following tweaks are all that are needed to build a working iceweasel.
> 
> Please add the following to the patch
> "Add-mips-hppa-ia64-s390-and-sparc-defines-in-ipc-chr.patch":
> 
>  #elif defined(__s390__)
>  #define ARCH_CPU_S390 1
>  #define ARCH_CPU_32_BITS 1
> +#elif defined(__alpha__)
> +#define ARCH_CPU_ALPHA 1
> +#define ARCH_CPU_64_BITS 1
>  #else
>  #error Please add support for your architecture in build/build_config.h
>  #endif
> 
> There remains a bug in the linker (binutils) that is causing problems to
> large C++ projects and to get a working iceweasel full optimisation
> needs to be disabled.  Please add into debian/rules the following:
> 
> ifneq (,$(filter alpha,$(DEB_BUILD_ARCH)))
>         CONFIGURE_FLAGS += --enable-optimize=-O1
> endif

Seriously, I doubt this is all that is needed. I would be surprised if
the resulting binary actually works and passes the test suites.

Mike





More information about the pkg-mozilla-maintainers mailing list