Subject: Re: having troubles cross-compiling for sparc
To: Matthias Scheler <tron@zhadum.de>
From: Hisashi T Fujinaka <htodd@twofifty.com>
List: current-users
Date: 07/05/2005 13:23:01
On Tue, 5 Jul 2005, Matthias Scheler wrote:

> In article <Pine.NEB.4.62.0507042314350.3041@chris.i8u.org>,
> 	Hisashi T Fujinaka <htodd@twofifty.com> writes:
>> On an i386-current box trying to compile sparc-current (using build.sh)
>>
>> #   install  /usr/src/obj.sparc/destdir.sparc/lib/libc.so.12.129
>> STRIP=/usr/cross/sparc/bin/sparc--netbsdelf-strip /usr/cross/sparc/bin/nbinstall -U -M /usr/src/obj.sparc/destdir.sparc/METALOG -D /usr/src/obj.sparc/destdir.sparc -h sha1 -N /usr/src/etc -c -p -r -o root -g wheel -m 444   libc.so.12.129 /usr/src/obj.sparc/destdir.sparc/lib/libc.so.12.129
>> STRIP=/usr/cross/sparc/bin/sparc--netbsdelf-strip /usr/cross/sparc/bin/nbinstall -U -M /usr/src/obj.sparc/destdir.sparc/METALOG -D /usr/src/obj.sparc/destdir.sparc -h sha1 -N /usr/src/etc -l s -r   -l r /usr/src/obj.sparc/destdir.sparc/lib/libc.so.12.129  /usr/src/obj.sparc/destdir.sparc/usr/lib/libc.so.12.129
>> nbinstall: /usr/src/obj.sparc/destdir.sparc/lib/libc.so.12.129: realpath: Not a directory
>
> The build tries for some reason unknown to me to install "libc" into the
> location where it was build. Could you please supply the command line you
> used to invoke "./build.sh"?

It's also broken in a non-cross build so let me try to see if something
else is broken. I tried:
./build.sh -U distribution
and 
/usr/src/build.sh -x -m sparc -T /usr/cross/sparc -U distribution

-- 
Hisashi T Fujinaka - htodd@twofifty.com
BSEE(6/86) + BSChem(3/95) + BAEnglish(8/95) + MSCS(8/03) + $2.50 = latte