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

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



Hi,
Sorry, though I might be wrong because I am not expert to gcc,
it reported because it moved at present without trouble.

(2011/03/20 12:39), Matthias Klose wrote:
> --- 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?

Sorry, I am not well informed to it.
Is it not necessary?

> @@ -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?

I wanted that gcc-4.5 to be by default and gcc-4.6 to be co-installable in experimental as well as the official ports.

> @@ -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.

Yes, I added to comment.

> @@ -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?

Yes, if this part doesn't exist, gcc-4.5 's gold LTO plugin disappears, 
and there are some packages that cannot be builded.

Regards,
--
Hiroyuki Yamamoto
A75D B285 7050 4BF9 AEDA  91AC 3A10 59C6 5203 04DC



Reply to: