Bug#816051: gcc-5: Incorrectly enables ada on powerpcspe because it triggers on DEB_HOST_ARCH_CPU
Hi Matthias! On 02/29/2016 03:59 PM, John Paul Adrian Glaubitz wrote: > On 02/28/2016 10:27 PM, Matthias Klose wrote: >> You are a disabler, not a porter ;p Did you check that this isn't >> supported upstream? > > I don't want to disable Ada per se, I just want to get a working gcc-5 > first. And for that, we should disable Ada first and fix #816048 [1]. gcc-5 builds fine on powerpcspe now. I just successfully built gcc-defaults as well for powerpcspe and uploaded it, so that gcc-5 will be default from now on. Could you blacklist Ada for powerpcspe as suggested in this bug report for the time being so that I can start with the build process? Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Bug#816051: gcc-5: Incorrectly enables ada on powerpcspe because it triggers on DEB_HOST_ARCH_CPU
On 02/28/2016 10:27 PM, Matthias Klose wrote: > You are a disabler, not a porter ;p Did you check that this isn't > supported upstream? I don't want to disable Ada per se, I just want to get a working gcc-5 first. And for that, we should disable Ada first and fix #816048 [1]. Addtionally, there is a linking issue which I am working on resolving and which I have reported upstream [2]. I haven't had the time yet to try Andreas' suggestion. This is is not new, in any case [3]. Adrian > [1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=816048 > [2] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69988 > [3] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=708961#36 -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Bug#816051: gcc-5: Incorrectly enables ada on powerpcspe because it triggers on DEB_HOST_ARCH_CPU
On 26.02.2016 23:47, John Paul Adrian Glaubitz wrote: Thus, in order to make sure Ada is disabled on powerpcspe while it has not been bootstrapped yet, we need to trigger by testing DEB_HOST_ARCH: ifneq (,$(filter $(DEB_TARGET_ARCH),powerpcspe x32)) with_ada := disabled for architecture $(DEB_TARGET_ARCH) endif This has been verified to work on real powerpcspe hardware. You are a disabler, not a porter ;p Did you check that this isn't supported upstream? Matthias
Bug#816051: gcc-5: Incorrectly enables ada on powerpcspe because it triggers on DEB_HOST_ARCH_CPU
Source: gcc-5 Version: 5.3.1-10 Severity: normal User: debian-powe...@lists.debian.org Usertags: powerpcspe Hello! gcc-5 currently fails to build from source on powerpcspe because it incorrectly enables Ada on this architecture despite it has not been bootstrapped here yet. This happens because rules.defs triggers Ada support on powerpcspe by reading DEB_HOST_ARCH_CPU which, however, prints "powerpc" and not "powerpcspe", see below: buildd@atlantis:~$ dpkg-architecture DEB_BUILD_ARCH=powerpcspe DEB_BUILD_ARCH_BITS=32 DEB_BUILD_ARCH_CPU=powerpc DEB_BUILD_ARCH_ENDIAN=big DEB_BUILD_ARCH_OS=linux DEB_BUILD_GNU_CPU=powerpc DEB_BUILD_GNU_SYSTEM=linux-gnuspe DEB_BUILD_GNU_TYPE=powerpc-linux-gnuspe DEB_BUILD_MULTIARCH=powerpc-linux-gnuspe DEB_HOST_ARCH=powerpcspe DEB_HOST_ARCH_BITS=32 DEB_HOST_ARCH_CPU=powerpc DEB_HOST_ARCH_ENDIAN=big DEB_HOST_ARCH_OS=linux DEB_HOST_GNU_CPU=powerpc DEB_HOST_GNU_SYSTEM=linux-gnuspe DEB_HOST_GNU_TYPE=powerpc-linux-gnuspe DEB_HOST_MULTIARCH=powerpc-linux-gnuspe DEB_TARGET_ARCH=powerpcspe DEB_TARGET_ARCH_BITS=32 DEB_TARGET_ARCH_CPU=powerpc DEB_TARGET_ARCH_ENDIAN=big DEB_TARGET_ARCH_OS=linux DEB_TARGET_GNU_CPU=powerpc DEB_TARGET_GNU_SYSTEM=linux-gnuspe DEB_TARGET_GNU_TYPE=powerpc-linux-gnuspe DEB_TARGET_MULTIARCH=powerpc-linux-gnuspe buildd@atlantis:~$ Thus, in order to make sure Ada is disabled on powerpcspe while it has not been bootstrapped yet, we need to trigger by testing DEB_HOST_ARCH: ifneq (,$(filter $(DEB_TARGET_ARCH),powerpcspe x32)) with_ada := disabled for architecture $(DEB_TARGET_ARCH) endif This has been verified to work on real powerpcspe hardware. Cheers, Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913