Subject: kern/35678: Newlock2 breaks arm build
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <bucky@picovex.com>
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
>Organization:
Picovex
>Environment:
cross compile.
>Description:
Checked out tip'o'tree -current today.  Attempted to build for evbarm using

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

./build.sh -O $OBJDIR -T $TOOLDIR -D $DESTDIR -R $RELEASEDIR -m $arch tools || exit 1
./build.sh -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



>How-To-Repeat:
See full description
>Fix:
Back out newlock2 changes