Subject: Re: gcc4 status
To: matthew green <mrg@eterna.com.au>
From: Jochen Kunz <jkunz@unixag-kl.fh-kl.de>
List: tech-toolchain
Date: 05/23/2006 17:15:27
On Mon, 22 May 2006 14:33:00 +1000
matthew green <mrg@eterna.com.au> wrote:

> powerpc could when people
> verify that all the non-macppc powerpc platforms build.
Today I gave port-ofppc a try. Building the userland faild even with gcc3
due to some gcc4 unrelated issues in iscsi. Building the kernel with gcc3
works but fails with gcc4:

#   compile  GENERIC-ofppc/atapi_wdc.o
/usr/src/current/tooldir/bin/powerpc--netbsd-gcc -mno-strict-align -msoft-f=
loat -Wa,-maltivec -ffreestanding -g -O2 -Wreturn-type -Werror -Wall -Wno-m=
ain -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-p=
rototypes -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wno-=
sign-compare -fno-zero-initialized-in-bss -Dofppc=3Dofppc -I. -I/usr/src/cu=
rrent/src/sys/../common/include -I/usr/src/current/src/sys/arch -I/usr/src/=
current/src/sys -nostdinc -DFIRMWORKSBUGS -DLKM -DDIAGNOSTIC -DTRAP_PANICWA=
IT -DMAXUSERS=3D32 -D_KERNEL -D_KERNEL_OPT -I/usr/src/current/src/sys/lib/l=
ibkern/../../../common/lib/libc/quad -I/usr/src/current/src/sys/lib/libkern=
/../../../common/lib/libc/string -I/usr/src/current/src/sys/lib/libkern/../=
../../common/lib/libc/arch/powerpc/string -I/usr/src/current/src/sys/dist/i=
pf -c /usr/src/current/src/sys/dev/scsipi/atapi_wdc.c
cc1: warnings being treated as errors
/usr/src/current/src/sys/dev/scsipi/atapi_wdc.c: In function 'wdc_atapi_pro=
be_device':
/usr/src/current/src/sys/dev/scsipi/atapi_wdc.c:303: warning: pointer targe=
ts in passing argument 1 of 'scsipi_strvis' differ in signedness
/usr/src/current/src/sys/dev/scsipi/atapi_wdc.c:304: warning: pointer targe=
ts in passing argument 1 of 'scsipi_strvis' differ in signedness
/usr/src/current/src/sys/dev/scsipi/atapi_wdc.c:305: warning: pointer targe=
ts in passing argument 1 of 'scsipi_strvis' differ in signedness
--=20


tsch=FC=DF,
       Jochen

Homepage: http://www.unixag-kl.fh-kl.de/~jkunz/