NetBSD Problem Report #43075
From www@NetBSD.org Mon Mar 29 14:10:31 2010
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by www.NetBSD.org (Postfix) with ESMTP id 23D3F63B86C
for <gnats-bugs@gnats.NetBSD.org>; Mon, 29 Mar 2010 14:10:31 +0000 (UTC)
Message-Id: <20100329141030.BADB363B11D@www.NetBSD.org>
Date: Mon, 29 Mar 2010 14:10:30 +0000 (UTC)
From: dennis.c.ferguson@gmail.com
Reply-To: dennis.c.ferguson@gmail.com
To: gnats-bugs@NetBSD.org
Subject: checkflist fails for macppc64 builds: missing /usr/include/altivec.h (among others)
X-Send-Pr-Version: www-1.0
>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: mrg
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Mar 29 14:15:00 +0000 2010
>Closed-Date: Wed Jun 09 08:07:29 +0000 2010
>Last-Modified: Wed Jun 09 08:07:29 +0000 2010
>Originator: Dennis Ferguson
>Release: very recent 5.99.24
>Organization:
>Environment:
NetBSD acer.hk.akit-ferguson.com 5.99.24 NetBSD 5.99.24 (GENERIC) #0: Sun Mar 14 17:25:30 HKT 2010 dennis@acer.hk.akit-ferguson.com:/usr/obj/sys/arch/amd64/compile/GENERIC amd64
>Description:
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 ?
------------------------------------------
./libexec/ld.elf_so
./usr/bin/elf2aout
./usr/bin/fdformat
./usr/include/altivec.h
./usr/libexec/ld.elf_so
======== end of 5 missing files ==========
*** Failed target: checkflist
>How-To-Repeat:
Do a:
MACHINE=macppc64 ./build.sh distribution
>Fix:
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 "../Makefile.inc"
-.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
>Release-Note:
>Audit-Trail:
From: matthew green <mrg@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/43075 CVS commit: src/usr.bin
Date: Tue, 30 Mar 2010 07:26:23 +0000
Module Name: src
Committed By: mrg
Date: Tue Mar 30 07:26:23 UTC 2010
Modified Files:
src/usr.bin/elf2aout: Makefile
src/usr.bin/fdformat: Makefile
Log Message:
build elf2aout and fdformat on macppc64 (for now, it's a lot easier than
figuring out how to split the sets... but that will have to happen.)
fixes the first easy part of PR#43075.
To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/usr.bin/elf2aout/Makefile
cvs rdiff -u -r1.12 -r1.13 src/usr.bin/fdformat/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: matthew green <mrg@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/43075 CVS commit: src/gnu/usr.bin/gcc4/include
Date: Tue, 30 Mar 2010 07:27:09 +0000
Module Name: src
Committed By: mrg
Date: Tue Mar 30 07:27:09 UTC 2010
Modified Files:
src/gnu/usr.bin/gcc4/include: Makefile
Log Message:
install altivec.h in powerpc64.
from dennis.c.ferguson@gmail.com in PR#43075.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/gnu/usr.bin/gcc4/include/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Responsible-Changed-From-To: port-powerpc-maintainer->mrg
Responsible-Changed-By: mrg@NetBSD.org
Responsible-Changed-When: Tue, 30 Mar 2010 07:35:16 +0000
Responsible-Changed-Why:
i'll take care of this.
State-Changed-From-To: open->analyzed
State-Changed-By: mrg@NetBSD.org
State-Changed-When: Tue, 30 Mar 2010 07:35:16 +0000
State-Changed-Why:
everything besides ld.elf_so is fixed. thanks!
State-Changed-From-To: analyzed->closed
State-Changed-By: mrg@NetBSD.org
State-Changed-When: Wed, 09 Jun 2010 08:07:29 +0000
State-Changed-Why:
ld.elf_so is an "obvious" issue; this PR does nothing useful anymore. if code
for ld.elf_so appears, someone will commit it. :)
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.