Subject: Re: Trying to fix -current amd64 kernel compilation failures
To: Nicolas Joly <firstname.lastname@example.org>
From: Patrick Welche <email@example.com>
Date: 06/01/2005 19:51:04
On Wed, Jun 01, 2005 at 08:38:32PM +0200, Nicolas Joly wrote:
> On Thu, Jun 02, 2005 at 12:11:37AM +0930, Brett Lymn wrote:
> > On Wed, Jun 01, 2005 at 01:54:54PM +0200, Nicolas Joly wrote:
> > >
> > > While trying to upgrade my -current amd64 workstation, i just got hit
> > > by the recent shadow/cast compilation flags change.
> > All those have been fixed and the changes committed (I also was bitten
> > by this :). Try updating your source again and rebuild, hopefully it
> > should be ok.
> Done, thanks.
> In the mean time i got another one :
> # compile LANFEUST/db_interface.o
> /local/src/NetBSD/tool/amd64/bin/x86_64--netbsd-gcc -mcmodel=kernel -mno-red-zone -ffreestanding -g -O2 -fno-omit-frame-pointer -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 -Damd64 -Dx86_64 -I. -I/local/src/NetBSD/src/sys/arch -I/local/src/NetBSD/src/sys -nostdinc -DLKM -DDIAGNOSTIC -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -I/local/src/NetBSD/src/sys/dist/ipf -c /local/src/NetBSD/src/sys/arch/amd64/amd64/db_interface.c
> /local/src/NetBSD/src/sys/arch/amd64/amd64/db_interface.c:76: warning: initialization from incompatible pointer type
> I noticed it on my multi-processors machines with DDB enabled (both
> i386 and amd64).
Just sent the patch for that to -current ;-)