Subject: Re: cross compiling from Solaris x86 is busted .... again...
To: None <>
From: Christos Zoulas <>
List: tech-toolchain
Date: 09/03/2006 18:58:25
In article <>,
Garrett D'Amore  <> wrote:
>matthew green wrote:
>>    Cross compiling tools from Solaris x86 using
>>    ./ -T ${TOOLSDIR} -m i386 tools kernel=GENERIC
>>    fails bootstrapping tools.
>> fails how?
>Okay, 20+ minutes into the bootstrap of  tools:
>echo 'SYSTEM_HEADER_DIR="'"`echo
>etbsdelf/4.1.2/../../../../i386--netbsdelf/sys-include | sed -e :a -e
>.\.\/,," -e ta`"'"' \
>        >
>sed: command garbled: s,[
>/bin/sh: : cannot execute
>/bin/sh: /]*/../,, -e ta: not found
>nbgmake[1]: *** [install-mkheaders] Error 1
>nbgmake[1]: Leaving directory
>nbgmake: *** [install-gcc] Error 2
>Have fun.

That is inside the gcc Makefile. Does gcc-4 build on solaris-x86? Again
Solaris is bitten by its ancient userland... I wish someone at sun would
wakeup and smell the cookies. Either fix the bugs in the 25 years old code
or replace it with something that works.