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

Bug#618864: [gcc-4.5] Please support ppc64



On 19.03.2011 05:28, Hiroyuki Yamamoto wrote:
> Package: gcc-4.5
> Version: 4.5.2-6
> Severity: wishlist
> Tags: patch
> 
> Hi,
> 
> Please support ppc64.

--- gcc-4.5-4.5.2.orig/debian/rules.defs	2011-03-17 21:14:36.000000000 +0900
+++ gcc-4.5-4.5.2/debian/rules.defs	2011-03-17 21:16:53.000000000 +0900
@@ -268,7 +268,7 @@
 # build using fsf or linaro
 ifeq ($(distribution),Ubuntu)
   ifeq (,$(findstring gnat, $(PKGSOURCE)))
-  ifneq (,$(findstring $(DEB_TARGET_ARCH),amd64 armel armhf i386 powerpc))
+  ifneq (,$(findstring $(DEB_TARGET_ARCH),amd64 armel armhf i386 powerpc ppc64))
     with_linaro_branch = yes
   endif
   endif

How does this affect Debian?


@@ -338,7 +338,7 @@

 # Debian has both 4.5 and 4.6 in experimental for some archs
 ifeq ($(distribution),DebianXXXXX)
-  ifneq (,$(filter $(DEB_TARGET_ARCH_CPU),alpha amd64 armel i386 i486 i586 i686
ia64 mips powerpc s390 sparc))
+  ifneq (,$(filter $(DEB_TARGET_ARCH_CPU),alpha amd64 armel i386 i486 i586 i686
ia64 mips powerpc ppc64 s390 sparc))
     with_common_libs	:= no
     with_common_pkgs	:= no
   endif

I assume that you are fine making 4.5 the default for this port, or do you just
want to have 4.6 co-installable in experimental?


@@ -659,7 +659,7 @@
   with_objc_gc := yes

   # disable ObjC garbage collection library (needs libgc)
-  libgc_no_cpus := avr mips mipsel # alpha amd64 arm armel armhf hppa i386 ia64
m68k mips mipsel powerpc s390 sparc
+  libgc_no_cpus := avr mips mipsel # alpha amd64 arm armel armhf hppa i386 ia64
m68k mips mipsel powerpc ppc64 s390 sparc
   libgc_no_systems := knetbsd-gnu
   ifneq (,$(findstring $(DEB_TARGET_ARCH_CPU),$(libgc_no_cpus)))
     with_objc_gc := disabled for cpu $(DEB_TARGET_ARCH_CPU)

this is a no-change.

@@ -753,7 +753,7 @@

 # gold --------------------
 # armel with binutils 2.20.51 only
-gold_archs = amd64 armel armhf i386 lpia powerpc sparc
+gold_archs = amd64 armel armhf i386 lpia powerpc ppc64 sparc
 ifneq (,$(filter $(DEB_TARGET_ARCH),$(gold_archs)))
   with_gold := yes
 endif

please could you confim, that this doesn't show any regressions in the gcc
testsuite?

thanks, Matthias



Reply to: