Package: gcc-4.0
Version: 4.0.1-2
Severity: wishlist
Tags: patch

When building 'gcc-4.0' on ppc64/unstable, I get the following error:

../../src/gcc/cppdefault.c:87: error: parse error before 'TARGET32_MACHINE'
../../src/gcc/cppdefault.c:91: error: parse error before 'TARGET64_MACHINE'
../../src/gcc/cppdefault.c:98: warning: missing initializer
../../src/gcc/cppdefault.c:98: warning: (near initialization for 
'cpp_include_defaults[6].biarch')
../../src/gcc/cppdefault.c:114: error: parse error before 'TARGET32_MACHINE'
../../src/gcc/cppdefault.c:118: error: parse error before 'TARGET64_MACHINE'
../../src/gcc/cppdefault.c:122: warning: missing initializer
../../src/gcc/cppdefault.c:122: warning: (near initialization for 
'cpp_include_defaults[9].biarch')
../../src/gcc/cppdefault.c:124: warning: missing initializer
../../src/gcc/cppdefault.c:124: warning: (near initialization for 
'cpp_include_defaults[10].biarch')
make[4]: *** [cppdefault.o] Error 1
make[4]: Leaving directory `/gcc-4.0-4.0.1/build/gcc'
make[3]: *** [stage1_build] Error 2
make[3]: Leaving directory `/gcc-4.0-4.0.1/build/gcc'
make[2]: *** [bootstrap] Error 2
make[2]: Leaving directory `/gcc-4.0-4.0.1/build'
s=`cat status`; rm -f status; test $s -eq 0
make[1]: *** [stamps/05-build-stamp] Error 1
make[1]: Leaving directory `/gcc-4.0-4.0.1'
make: *** [stamps/05-build-stamp] Error 2

Regards
Andreas Jochens

diff -urN ../tmp-orig/gcc-4.0-4.0.1/debian/rules.patch ./debian/rules.patch
--- ../tmp-orig/gcc-4.0-4.0.1/debian/rules.patch        2005-07-15 
17:44:53.000000000 +0000
+++ ./debian/rules.patch        2005-07-15 17:27:35.000000000 +0000
@@ -177,6 +177,9 @@
   ifeq ($(DEB_TARGET_ARCH),amd64)
     debian_patches += biarch-include-amd64
   endif
+  ifeq ($(DEB_TARGET_ARCH),ppc64)
+    debian_patches += biarch-include-powerpc
+  endif
 endif
 
 ifeq ($(PKGSOURCE),gcc-snapshot)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to