Subject: Re: cross compiling from Solaris x86 is busted .... again...
To: None <tech-toolchain@netbsd.org>
From: Christos Zoulas <christos@astron.com>
List: tech-toolchain
Date: 09/03/2006 18:58:25
In article <44FB1C5A.4040002@tadpole.com>,
Garrett D'Amore  <garrett_damore@tadpole.com> wrote:
>matthew green wrote:
>>    Cross compiling tools from Solaris x86 using
>>    
>>    ./build.sh -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
>/import/meteor/tools/SunOS-i386/lib/gcc/i386--n
>etbsdelf/4.1.2/../../../../i386--netbsdelf/sys-include | sed -e :a -e
>"s,[^/]*/\
>.\.\/,," -e ta`"'"' \
>        >
>/import/meteor/tools/SunOS-i386/lib/gcc/i386--netbsdelf/4.1.2/install-
>tools/mkheaders.conf
>sed: command garbled: s,[
>/bin/sh: : cannot execute
>/bin/sh: /]*/../,, -e ta: not found
>nbgmake[1]: *** [install-mkheaders] Error 1
>nbgmake[1]: Leaving directory
>`/home/garrett/roofnano/src/tools/gcc/obj/build/gc
>c'
>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.

christos