[head tinderbox] failure on powerpc64/powerpc

Nathan Whitehorn nwhitehorn at freebsd.org
Fri Aug 20 14:25:52 UTC 2010


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


More information about the freebsd-current mailing list