Subject: Re: building XEN0 kernel fails
To: None <current-users@netbsd.org>
From: Teemu Rinta-aho <teemu@rinta-aho.org>
List: current-users
Date: 06/07/2005 15:35:28
Is this going to stay broken or is someone going to fix it?
Teemu
Jukka Salmi wrote:
> It's the following change which causes the problem:
>
> Module Name: src
> Committed By: sjg
> Date: Thu Jun 2 05:11:55 UTC 2005
>
> Modified Files:
> src/sys/conf: Makefile.kern.inc
>
> Log Message:
> Don't assume infinite command line length.
>
> http://mail-index.netbsd.org/source-changes/2005/06/02/0053.html
>
> Not sure how to fix so far...
>
> Jukka Salmi --> current-users (2005-06-02 15:10:38 +0200):
>
>>Hi,
>>
>>using HEAD sources checked out some minutes ago, building a XEN0 kernel
>>fails:
>>
>>$ cd /usr/src && ./build.sh [...] kernel=XEN0
>>[...]
>># create XEN0/config_time.h
>>cp config_time.src config_time.h
>># create XEN0/.depend
>>/opt/tools/i386/bin/nbmkdep -a -- -x assembler-with-cpp -traditional-cpp -D_LOCORE -Di386 -I. -I/build/nbsd/i386/sys/arch/i386/compile/XEN0/xen-ma -I/usr/src/sys/arch -I/usr/src/sys -nostdinc -DLKM -DDIAGNOSTIC -DDEBUG -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -I/usr/src/sys/dist/ipf rm -f i386 ln -s /usr/src/sys/arch/i386/include i386 rm -f x86 ln -s /usr/src/sys/arch/x86/include x86 rm -rf xen-ma mkdir xen-ma ln -s ../i386 xen-ma/machine /usr/src/sys/arch/xen/i386/locore.S /usr/src/sys/arch/xen/i386/spl.S /usr/src/sys/arch/xen/i386/vector.S /usr/src/sys/arch/i386/i386/db_dbgreg.S /usr/src/sys/arch/i386/i386/in_cksum.S /usr/src/sys/crypto/des/arch/i386/des_enc.S /usr/src/sys/crypto/des/arch/i386/des_cbc.S /usr/src/sys/crypto/blowfish/arch/i386/bf_enc.S /usr/src/sys/crypto/blowfish/arch/i386/bf_cbc.S /usr/src/sys/arch/i386/i386/svr4_sigcode.S /usr/src/sys/arch/i386/i386/ibcs2_sigcode.S /usr/src/sys/arch/i386/i386/linux_sigcode.S /usr/src/sys/arch/i386/i386/freebsd_sigcode.S
>>i386--netbsdelf-gcc: rm: No such file or directory
>>i386--netbsdelf-gcc: ln: No such file or directory
>>i386--netbsdelf-gcc: rm: No such file or directory
>>i386--netbsdelf-gcc: ln: No such file or directory
>>i386--netbsdelf-gcc: rm: No such file or directory
>>i386--netbsdelf-gcc: mkdir: No such file or directory
>>i386--netbsdelf-gcc: ln: No such file or directory
>>i386--netbsdelf-gcc: ../i386: No such file or directory
>>cc1: error: unrecognized option `-f'
>>cc1: error: unrecognized option `-f'
>>[...]
>>cc1: error: unrecognized option `-f'
>>cc1: error: unrecognized option `-f'
>>nbmkdep: compile failed.
>>
>>*** Failed target: .depend
>>*** Failed command: /opt/tools/i386/bin/nbmake -f Makefile _sfiles | CC=/opt/tools/i386/bin/i386--netbsdelf-gcc xargs -t /opt/tools/i386/bin/nbmkdep -a -- -x assembler-with-cpp -traditional-cpp -D_LOCORE -Di386 -I. -I/build/nbsd/i386/sys/arch/i386/compile/XEN0/xen-ma -I/usr/src/sys/arch -I/usr/src/sys -nostdinc -DLKM -DDIAGNOSTIC -DDEBUG -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -I/usr/src/sys/dist/ipf
>>*** Error code 123
>>
>>Stop.
>>nbmake: stopped in /build/nbsd/i386/sys/arch/i386/compile/XEN0
>>
>>ERROR: Failed to make depend in /build/nbsd/i386/sys/arch/i386/compile/XEN0
>>*** BUILD ABORTED ***
>
>
--
teemu@rinta-aho.org -+- http://www.rinta-aho.org