Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Aug 2010 08:25:48 -0500
From:      Nathan Whitehorn <nwhitehorn@freebsd.org>
To:        =?UTF-8?B?RGFnLUVybGluZyBTbcO4cmdyYXY=?= <des@des.no>
Cc:        powerpc@freebsd.org, FreeBSD Tinderbox <tinderbox@freebsd.org>, current@freebsd.org
Subject:   Re: [head tinderbox] failure on powerpc64/powerpc
Message-ID:  <4C6E825C.5060509@freebsd.org>
In-Reply-To: <86sk29ws6u.fsf@ds4.des.no>
References:  <201008190304.o7J34Wa4089466@freebsd-current.sentex.ca> <86occzdmhg.fsf@ds4.des.no> <4C6D557E.6080406@freebsd.org> <86sk29ws6u.fsf@ds4.des.no>

next in thread | previous in thread | raw e-mail | index | archive | help
On 08/20/10 04:26, Dag-Erling Smørgrav wrote:
> Nathan Whitehorn<nwhitehorn@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C6E825C.5060509>