Package: gcc-4.0 Version: 4.0.1-5 Severity: wishlist Tags: patch Currently the linux-2.6 kernel fails to build on ppc64 with the following error message:
CC [M] drivers/md/raid6altivec1.o drivers/md/raid6altivec1.c:29:21: error: altivec.h: No such file or directory Please change 'debian/rules.d/binary-gcc.mk' to install the missing 'altivec.h' include file on ppc64. This file is currently installed on powerpc only. Regards Andreas Jochens diff -urN ../tmp-orig/gcc-4.0-4.0.1/debian/rules.d/binary-gcc-cross.mk ./debian/rules.d/binary-gcc-cross.mk --- ../tmp-orig/gcc-4.0-4.0.1/debian/rules.d/binary-gcc-cross.mk 2005-08-19 11:45:29.000000000 +0000 +++ ./debian/rules.d/binary-gcc-cross.mk 2005-08-19 11:31:36.000000000 +0000 @@ -41,7 +41,7 @@ files_gcc += $(gcc_lib_dir)/include/math-68881.h endif -ifeq ($(DEB_TARGET_ARCH),powerpc) +ifeq ($(DEB_TARGET_ARCH),$(findstring $(DEB_TARGET_ARCH),powerpc ppc64)) files_gcc += $(gcc_lib_dir)/include/{altivec.h,ppc-asm.h} endif diff -urN ../tmp-orig/gcc-4.0-4.0.1/debian/rules.d/binary-gcc.mk ./debian/rules.d/binary-gcc.mk --- ../tmp-orig/gcc-4.0-4.0.1/debian/rules.d/binary-gcc.mk 2005-08-19 11:45:29.000000000 +0000 +++ ./debian/rules.d/binary-gcc.mk 2005-08-19 11:28:54.000000000 +0000 @@ -50,7 +50,7 @@ files_gcc += $(gcc_lib_dir)/include/math-68881.h endif -ifeq ($(DEB_HOST_ARCH),powerpc) +ifeq ($(DEB_TARGET_ARCH),$(findstring $(DEB_TARGET_ARCH),powerpc ppc64)) files_gcc += $(gcc_lib_dir)/include/{altivec.h,ppc-asm.h} endif -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]