Subject: Re: Prob with 2.0 build
To: NetBSD Current Users <current-users@netbsd.org>
From: Peter Eisch <peter@boku.net>
List: current-users
Date: 07/18/2004 19:32:12
I bomb there if I'm building for i386 on i386 as well.

On 7/19/04 4:13 AM, "sigsegv@rambler.ru" <sigsegv@rambler.ru> wrote:

> Peter Eisch wrote:
> 
>> Are other folks seeing this or have I messed up my source tree?
>> 
>> Thanks,
>> 
>> peter
>> 
>> 
>> ===> build.sh command: /builds/netbsd-2-0/src/build.sh -U -x -M
>> /builds/netbsd-2-0/sparc64/obj -m sparc64 -D /builds/netbsd-2-0/sparc64/dest
>> -R /builds/netbsd-2-0/sparc64/release -N 1 -T
>> /builds/netbsd-2-0/sparc64/tools release
>> ...
>> install ===> compat
>> dependall ===> binstall
>>     create  binstall/getid.d
>>     create  binstall/xinstall.d
>>     create  binstall/.depend
>>    compile  binstall/xinstall.lo
>>    compile  binstall/getid.lo
>>       link  binstall/xinstall
>> xinstall.lo(.text+0x76f): In function `do_link':
>> : warning: mktemp() possibly used unsafely, use mkstemp() or mkdtemp()
>> xinstall.lo(.text+0x4e0): In function `main':
>> : undefined reference to `string_to_flags'
>> 
>> *** Failed target:  xinstall
>> *** Failed command: cc -O -I/builds/netbsd-2-0/src/bin/ls
>> -I/builds/netbsd-2-0/src/usr.sbin/mtree -o xinstall xinstall.lo getid.lo
>> *** Error code 1
>> 
>> Stop.
>> nbmake: stopped in /builds/netbsd-2-0/src/tools/binstall
>> 
>> *** Failed target:  dependall
>> *** Failed command: cd /builds/netbsd-2-0/src/tools/binstall;
>> /builds/netbsd-2-0/sparc64/tools/bin/nbmake realall
>> *** Error code 1
>> 
>> Stop.
>> nbmake: stopped in /builds/netbsd-2-0/src/tools/binstall
>> 
>> *** Failed target:  dependall-binstall
>> *** Failed command: targ=dependall;dir=binstall; case "$dir" in /*) echo
>> "$targ ===> $dir"; cd "$dir"; /builds/netbsd-2-0/sparc64/tools/bin/nbmake
>> "_THISDIR_=$dir/" $targ; ;; *) echo "$targ ===> $dir"; cd
>> "/builds/netbsd-2-0/src/tools/$dir";
>> /builds/netbsd-2-0/sparc64/tools/bin/nbmake "_THISDIR_=$dir/" $targ; ;; esac
>> *** Error code 1
>> 
>> Stop.
>> nbmake: stopped in /builds/netbsd-2-0/src/tools
>> 
>> *** Failed target:  do-tools
>> *** Failed command: (cd /builds/netbsd-2-0/src/tools &&
>> /builds/netbsd-2-0/sparc64/tools/bin/nbmake dependall)
>> *** Error code 1
>> 
>> Stop.
>> nbmake: stopped in /builds/netbsd-2-0/src
>> 
>> *** Failed target:  build
>> *** Failed command: (cd /builds/netbsd-2-0/src &&
>> /builds/netbsd-2-0/sparc64/tools/bin/nbmake do-tools)
>> *** Error code 1
>> 
>> Stop.
>> nbmake: stopped in /builds/netbsd-2-0/src
>> 
>> *** Failed target:  release
>> *** Failed command: (cd /builds/netbsd-2-0/src &&
>> /builds/netbsd-2-0/sparc64/tools/bin/nbmake NOPOSTINSTALL=1 build)
>> *** Error code 1
>> 
>> Stop.
>> nbmake: stopped in /builds/netbsd-2-0/src
>> 
>> ERROR: Failed to make release
>> *** BUILD ABORTED ***
>> 
>>  
>> 
> I think I had similar problems last time I tried to cross-compile for
> sparc64. While we're on sparc64 subject, does anyone know why NetBSD
> doesn't support UltraSparc III and UltraSparc IV systems? Is it because
> those systems are too expensive for mortal users so nobody bothers to
> support them or because of some other reasons?
> If I win the lottery which 64 bit system would I be better off with
> Alpha or UltarSparc? Well there is AMD's x86_64 but I guess it sucks
> compared to Alphas or UltraSparcs, I mean it's cursed x86 with 64 bit
> registers :-) can't be too much of an improvement can it?
> 
>