Subject: crossbuilding of -current fails on Solaris
To: None <tech-toolchain@netbsd.org>
From: Garrett D'Amore <garrett_damore@tadpole.com>
List: tech-toolchain
Date: 07/21/2006 10:19:26
From a freshly updated (cvs update -dP) source tree:

./build.sh -T ${METEOR_TOOLS} -m sparc tools kernel=GENERIC

echo 'SYSTEM_HEADER_DIR="'"`echo
/import/meteor/tools/SunOS-i386/lib/gcc/sparc--netbsdelf/4.1.2/../../../../sparc--netbsdelf/sys-include
| /import/meteor/tools/SunOS-i386/bin/nbsed  -e :a -e "s,[^/]*/\.\.\/,,"
-e ta`"'"' \
        >
/import/meteor/tools/SunOS-i386/lib/gcc/sparc--netbsdelf/4.1.2/install-tools/mkheaders.conf
sed: 1: "s,[": unbalanced brackets ([])
/bin/sh: : cannot execute
/bin/sh: /]*/../,, -e ta: not found
nbgmake[1]: *** [install-mkheaders] Error 1
nbgmake[1]: Leaving directory
`/home/garrett/netbsd/head/src/tools/gcc/obj/build/gcc'
nbgmake: *** [install-gcc] Error 2

(Note I hardcoded the path to "nbsed" in the gcc4/gcc/Makefile.in after
my native sed had problems.  I thought maybe it was a problem with
native sed.  Now I think there is a shell expansion problem.)

Any advice would be appreciated.  I can't build stuff at the moment.

-- 
Garrett D'Amore, Principal Software Engineer
Tadpole Computer / Computing Technologies Division,
General Dynamics C4 Systems
http://www.tadpolecomputer.com/
Phone: 951 325-2134  Fax: 951 325-2191