Re: [head tinderbox] failure on powerpc64/powerpc

From: Nathan Whitehorn <nwhitehorn_at_freebsd.org>
Date: Fri, 20 Aug 2010 08:25:48 -0500
On 08/20/10 04:26, Dag-Erling Smørgrav wrote:
> Nathan Whitehorn<nwhitehorn_at_freebsd.org>  writes:
>    
>> The problem is that until yesterday, you could not build a powerpc64
>> LINT, and so it was trying to build a PPC32 kernel with a 64-bit
>> toolchain. An actual powerpc64 kernel does not include
>> ofw_standard.c. This should be fixed now with r211483, so long as the
>> LINT config is made with TARGET_ARCH set (and is not reused for 32 and
>> 64-bit builds). There is a seat-belt mechanism I should add soon that
>> will complain earlier about architecture mismatches like this. Thanks
>> for your patience.
>>      
>    
>>>> stage 3.2: building everything
>>>>          
> [...]
> /src/sys/powerpc/fpu/fpu_emu.c: In function 'fpu_execute':
> /src/sys/powerpc/fpu/fpu_emu.c:329: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'long int'
> /src/sys/powerpc/fpu/fpu_emu.c:329: warning: format '%x' expects type 'unsigned int', but argument 5 has type 'long int'
> /src/sys/powerpc/fpu/fpu_emu.c:359: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'long int'
> /src/sys/powerpc/fpu/fpu_emu.c:359: warning: format '%x' expects type 'unsigned int', but argument 5 has type 'long int'
> /src/sys/powerpc/fpu/fpu_emu.c:376: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'long int'
> /src/sys/powerpc/fpu/fpu_emu.c:376: warning: format '%x' expects type 'unsigned int', but argument 4 has type 'vm_offset_t'
> /src/sys/powerpc/fpu/fpu_emu.c:778: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'register_t'
> *** Error code 1
>
> Stop in /obj/powerpc.powerpc64/src/sys/LINT.
>    

OK, that one is fixed now too. :)

Next up: tinderbox needs to build GENERIC64, not GENERIC, on powerpc64. 
make buildkernel is programmed to do the right thing is you don't pass a 
KERNCONF, but tinderbox apparently passes GENERIC explicitly. This one's 
in your court!
-Nathan
Received on Fri Aug 20 2010 - 12:25:52 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:06 UTC