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

Bug#324243: gcc-3.3: FTBFS (ppc64): Please support the ppc64 architecture



Package: gcc-3.3
Version: 3.3.6-9
Severity: wishlist
Tags: patch

The attached patch adds ppc64 support to gcc-3.3. 

Regards
Andreas Jochens


Summary of changes:

* debian/rules.defs: add 'ppc64' to ada_no_archs (gcc-4.0 has ada
  support on ppc64 but gnat-3.3 does not build with gnat-4.0)

* debian/rules2: use '--disable-multilib' for 'ppc64'


diff -urN ../tmp-orig/gcc-3.3-3.3.6/debian/rules.defs ./debian/rules.defs
--- ../tmp-orig/gcc-3.3-3.3.6/debian/rules.defs	2005-08-21 06:27:41.000000000 +0000
+++ ./debian/rules.defs	2005-08-20 18:57:09.000000000 +0000
@@ -399,7 +399,7 @@
 endif
 
 with_libgnat := yes
-ada_no_archs := arm hurd-i386 m68k kfreebsd-i386 netbsd-i386
+ada_no_archs := arm hurd-i386 m68k ppc64 kfreebsd-i386 netbsd-i386
 ifneq ($(DEB_TARGET_ARCH),i386)
   ifeq ($(DEB_TARGET_ARCH), $(findstring $(DEB_TARGET_ARCH),$(ada_no_archs)))
     with_ada := disabled for architecure $(DEB_TARGET_ARCH)
diff -urN ../tmp-orig/gcc-3.3-3.3.6/debian/rules2 ./debian/rules2
--- ../tmp-orig/gcc-3.3-3.3.6/debian/rules2	2005-08-21 06:27:41.000000000 +0000
+++ ./debian/rules2	2005-08-20 18:56:21.000000000 +0000
@@ -137,7 +137,7 @@
   endif
 endif
 
-ifeq ($(DEB_TARGET_ARCH),amd64)
+ifeq ($(DEB_TARGET_ARCH),$(findstring $(DEB_TARGET_ARCH),amd64 ppc64))
   CONFARGS += --disable-multilib
 endif
 
@@ -969,7 +969,7 @@
 
 	mkdir -p $(d)/$(libdir) $(d)/bin $(d)/$(PF)/share/{doc,info,man/man1}
 
-ifeq ($(DEB_TARGET_ARCH),amd64)
+ifeq ($(DEB_TARGET_ARCH),$(findstring $(DEB_TARGET_ARCH),amd64 ppc64))
 	: # link lib to lib64 and usr/lib to usr/lib64
 	: # (this works when CONFARGS contains '--disable-multilib')
 	ln -s $(libdir) $(d)/lib64



Reply to: