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

Bug#853794: gcc-defaults-ports: Missing packages for powerpcspe



Source: gcc-defaults-ports
Version: 4:6.3.0-1
Severity: normal
Tags: patch
User: helmutg@debian.org
Usertags: rebootstrap

Hi!

Although current versions of the gcc package have been building without
issues on powerpcspe, we're currently missing this architecture in
gcc-defaults-ports meaning that packages like gcc-powerpc-linux-gnuspe.

However, having these packages is important so powerpcspe can be
enabled in build-essential as cross-build-essential-powerpcspe so
that we're able to cross-build packages for powerpcspe.

I have looked into gcc-defaults-ports and figured that after applying
the changes from the attached patch, running debian/rules control, I
was able to rebuild gcc-defaults-ports with the default gcc packages
for powerpcspe enabled.

Thanks,
Adrian

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
--- gcc-defaults-ports-1.165/debian/rules       2017-01-21 19:07:52.000000000 +0100
+++ gcc-defaults-ports-1.165/debian/rules       2017-01-21 19:11:34.000000000 +0100
@@ -312,7 +312,7 @@
 
 go_archs = alpha amd64 arm64 armel armhf i386 ia64 m68k \
        mips mips64 mips64el mipsel \
-       powerpc ppc64 ppc64el s390 s390x sparc sparc64 x32
+       powerpc powerpcspe ppc64 ppc64el s390 s390x sparc sparc64 x32
 
 go_multilib_archs = $(filter $(go_archs), $(filter-out armel armhf, $(multilib_archs)))
 
@@ -337,6 +337,7 @@
 HOST_ARCHS_mips64 = amd64 i386 x32
 HOST_ARCHS_mips64el = amd64 i386 x32
 HOST_ARCHS_powerpc = amd64 i386 x32 ppc64el
+HOST_ARCHS_powerpcspe = amd64 i386 x32 ppc64el
 HOST_ARCHS_ppc64 = amd64 i386 x32
 HOST_ARCHS_ppc64el = amd64 i386 x32 ppc64
 HOST_ARCHS_s390x = amd64 i386 x32
@@ -348,9 +349,8 @@
   CROSS_ARCHS  ?= s390x ppc64el arm64 armhf armel \
                        $(if $(filter $(vendor), Ubuntu),, mips mipsel mips64el)
 else
-  CROSS_ARCHS  ?= alpha hppa m68k mips64 powerpc ppc64 sh4 sparc64 \
+  CROSS_ARCHS  ?= alpha hppa m68k mips64 powerpc powerpcspe ppc64 sh4 sparc64 \
                        $(if $(filter $(vendor), Ubuntu), mips mipsel mips64el)
-  # powerpcspe, outdated, ftbfs
 endif
 with_cross  = yes


Reply to: