NetBSD-Bugs archive

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

port-powerpc/43075: checkflist fails for macppc64 builds: missing /usr/include/altivec.h (among others)

>Number:         43075
>Category:       port-powerpc
>Synopsis:       checkflist fails for macppc64 builds: missing 
>/usr/include/altivec.h (among others)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    port-powerpc-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Mar 29 14:15:00 +0000 2010
>Originator:     Dennis Ferguson
>Release:        very recent 5.99.24
NetBSD 5.99.24 NetBSD 5.99.24 (GENERIC) #0: Sun Mar 
14 17:25:30 HKT 2010

At the end of a macppc64 build, checkflist fails as follows:

======  5 missing files in DESTDIR  ========
Files in flist but missing from DESTDIR.
File wasn't installed ?
========  end of 5 missing files  ==========

*** Failed target:  checkflist

Do a:

    MACHINE=macppc64 ./ distribution
The missing /usr/include/altivec.h is worth fixing.  It comes from
gcc; the attached patch will get it installed for powerpc64 builds.

As for the others, while fdformat and elf2aout could be built
for powerpc64 just to make the messages go away, fixing ld.elf_so
requires real code to be written for the platform so, for the
moment, I think this is as close to a clean build as this port
can get.

Index: gnu/usr.bin/gcc4/include/Makefile
RCS file: /cvsroot/src/gnu/usr.bin/gcc4/include/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- gnu/usr.bin/gcc4/include/Makefile   26 Feb 2008 10:55:50 -0000      1.3
+++ gnu/usr.bin/gcc4/include/Makefile   29 Mar 2010 14:09:07 -0000
@@ -2,7 +2,7 @@
 .include "../"
-.if ${MACHINE_ARCH} == "powerpc"
+.if ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "powerpc64"
 INCS=  altivec.h
 .elif ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
 INCS=  emmintrin.h mmintrin.h pmmintrin.h xmmintrin.h mm_malloc.h

Home | Main Index | Thread Index | Old Index