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

Bug#374535: gcc-4.1: FTBFS (ppc64): Please use '__powerpc64_linux_gnu__' instead of '__ppc64_linux_gnu__' in debian/multiarch.inc



Package: gcc-4.1
Version: 4.1.1-5
Severity: wishlist
Tags: patch

Hello,

the 'gcc-4.1' package FTBFS on ppc64/unstable because debian/multiarch.inc
uses the symbol '__ppc64_linux_gnu__' which does not exist. 

Please use the correct '__powerpc64_linux_gnu__' symbol instead.

With the attached patch 'gcc-4.1' can be compiled on ppc64.

Regards
Andreas Jochens

diff -urN ../tmp-orig/gcc-4.1-4.1.1/debian/multiarch.inc ./debian/multiarch.inc
--- ../tmp-orig/gcc-4.1-4.1.1/debian/multiarch.inc	2006-06-19 07:37:12.000000000 +0000
+++ ./debian/multiarch.inc	2006-06-19 07:36:12.000000000 +0000
@@ -3,7 +3,7 @@
   { "64",  "x86_64-linux-gnu"},
 #endif
 
-#if defined(__ppc64_linux_gnu__)
+#if defined(__powerpc64_linux_gnu__)
   { "32",  "powerpc-linux-gnu"},
 #endif
 
@@ -12,7 +12,7 @@
 #endif
 
 #if defined(__powerpc_linux_gnu__)
-  { "64",  "ppc64-linux-gnu"},
+  { "64",  "powerpc64-linux-gnu"},
 #endif
 
 #if defined(__sparc_linux_gnu__)



Reply to: