Subject: kern/35678: Newlock2 breaks arm build
To: None <,,>
From: None <>
List: netbsd-bugs
Date: 02/17/2007 21:45:00
>Number:         35678
>Category:       kern
>Synopsis:       Newlock2 breaks arm build
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Feb 17 21:45:00 +0000 2007
>Originator:     bucky katz
>Release:        current
cross compile.
Checked out tip'o'tree -current today.  Attempted to build for evbarm using

export BASE=`pwd`
export HAVE_GCC=4
export arch=evbarm
export OBJDIR=$BASE/obj/$arch
export TOOLDIR=$BASE/tools/$arch
export DESTDIR=$BASE/dist
export RELEASEDIR=$BASE/release
export X11SRCDIR=$BASE/xsrc

./ -O $OBJDIR -T $TOOLDIR -D $DESTDIR -R $RELEASEDIR -m $arch tools || exit 1
./ -O $OBJDIR -T $TOOLDIR -D $DESTDIR -R $RELEASEDIR -X $X11SRCDIR -x  -m $arch -U -u distribution || exit 1

build failed in distribution with error

#    create  /home/mfouts/projects/netbsd/current/dist/usr/include/arm
STRIP=/home/mfouts/projects/netbsd/current/tools/evbarm/bin/arm--netbsdelf-strip /home/mfouts/projects/netbsd/current/tools/evbarm/bin/nbinstall -U -M /home/mfouts/projects/netbsd/current/dist/METALOG -D /home/mfouts/projects/netbsd/current/dist -h sha1 -N /space/projects/netbsd/current/src/etc -d -o root -g wheel -m 755 /home/mfouts/projects/netbsd/current/dist/usr/include/arm
nbmake: don't know how to make mutex.h. Stop

See full description
Back out newlock2 changes