Subject: Re: problem building -current on macppc
To: Bartek Krawczyk <bkrawczyk@op.pl>
From: Timo Schoeler <timo.schoeler@macfinity.net>
List: port-macppc
Date: 06/04/2005 15:14:15
thus Bartek Krawczyk spake:
> Timo Schoeler wrote:
> 
>> thus Johnny Billquist spake:
>>
>>> On Fri, 3 Jun 2005, Timo Schoeler wrote:
>>>
>>>
>>>
>>>> thus Davide Zanon spake:
>>>>
>>>>
>>>>> On Friday 03 June 2005 14:01, Davide Zanon wrote:
>>>>>
>>>>>
>>>>>
>>>>>> Hi all!
>>>>>> I get this error while compiling a custom -current kernel...
>>>>>> what's the
>>>>>> problem?
>>>>>
>>>>>
>>>>>
>>>>> Sorry, I made a mistake :(
>>>>>
>>>>> The error is
>>>>>
>>>>> #   compile  DREAM/autoconf.o
>>>>> /usr/src/../tools-macppc/bin/powerpc--netbsd-gcc -maltivec -O4
>>>>> -mno-strict-align -msoft-float -Wa,-maltivec -ffreestanding -O2
>>>>> -Wreturn-type
>>>>> -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith
>>>>> -Wmissing-prototypes -Wstrict-prototypes -Wreturn-type -Wswitch
>>>>> -Wshadow
>>>>> -Wcast-qual -Wwrite-strings -Wno-sign-compare
>>>>> -fno-zero-initialized-in-bss
>>>>> -Dmacppc=macppc -I. -I/usr/src/sys/arch -I/usr/src/sys -nostdinc -DLKM
>>>>> -DDIAGNOSTIC -DZS_CONSOLE_ABORT -DDEBUG_DARWIN -DOFB_ENABLE_CACHE
>>>>> -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -I/usr/src/sys/dist/pf
>>>>> -I/usr/src/sys/dist/ipf -c /usr/src/sys/arch/macppc/macppc/autoconf.c
>>>>> /usr/src/sys/arch/macppc/macppc/autoconf.c: In function
>>>>> `OF_interpret':
>>>>> /usr/src/sys/arch/macppc/macppc/autoconf.c:366: warning:
>>>>> initialization
>>>>> discards qualifiers from pointer target type
>>>>>
>>>>> david
>>>>
>>>>
>>>> same here (Xbuild from sparc64), IIRC a few days ago it went okay...
>>>
>>>
>>>
>>> It's the same all over the place. I've identified a number of places for
>>> the VAX. People are probably working on this. Don't know if it's a new
>>> version of the compiler, or (more likely) the addition of another
>>> warning
>>> switch for the compilation.
>>>
>>> Many of these are simlpy code in the form:
>>>
>>> char *foo = "kaka";
>>>
>>> which needs to be changed to:
>>>
>>> const char *foo = "kaka";
>>>
>>>     Johnny
>>
>>
>>
>> ah, yes, thanks, i've seen some changes of this style.
>>
> And does anyone know when it will be probably fixed? I've been trying to
> build -current on my iBook for about 3 or 4 days but failed because of
> having different errors (with DDB but since that's fixed building
> crashes on autoconf.c). Maybe anyone can tell me a specific date from
> which building -current on macppc doesn't fail?
> 
> regards,

hi bartek,

IIRC 2005-05-28 still runs -- i'm doublechecking this right now on my G4...

cheers,

-- 
Timo Schoeler | http://macfinity.net/~tis | timo.schoeler@macfinity.net
//macfinity -- finest IT services | http://macfinity.net
Key fingerprint = F844 51BE C22C F6BD 1196  90B2 EF68 C851 6E12 2D8A

There are 10 types of people in the world. Those who understand binary
and those who don't.