Subject: kernel compile error
To: None <current-users@netbsd.org>
From: Ryo HAYASAKA <ryoh@jaist.ac.jp>
List: current-users
Date: 03/11/2007 23:18:32
----Security_Multipart(Sun_Mar_11_23_18_32_2007_715)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi,

The VIA_PADLOCK enabled kernel fails to compile:

$ make dependall
...
#   compile  BONNIE/via_padlock.o
/usr/src/obj/toolsdir/bin/i386--netbsdelf-gcc -pipe -ffreestanding -fno-zero-initialized-in-bss -march=i486 -mtune=pentiumpro -ggdb -march=athlon -O2 -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wno-sign-compare -Wno-pointer-sign -Wno-attributes -Wextra -Wno-unused-parameter -fno-strict-aliasing -Di386 -I. -I../../../../contrib/dev/ath/netbsd -I../../../../../common/include -I../../../../arch -I../../../.. -nostdinc -DSHMMNI=1024 -DSHMSEG=1024 -DLKM -DDIAGNOSTIC -DDEBUG -DEXT2FS_SYSTEM_FLAGS -DIPSEC_DEBUG -DMSGBUFSIZE=131072 -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -I../../../../lib/libkern/../../../common/lib/libc/quad -I../../../../lib/libkern/../../../common/lib/libc/string -I../../../../lib/libkern/../../../common/lib/libc/arch/i386/string -I../../../../dist/pf -I../../../../dist/ipf -c ../../../../arch/x86/x86/via_padlock.c
cc1: warnings being treated as errors
../../../../arch/x86/x86/via_padlock.c: In function 'via_padlock_crypto_encdec':
../../../../arch/x86/x86/via_padlock.c:363: warning: pointer of type 'void *' used in arithmetic
../../../../arch/x86/x86/via_padlock.c:379: warning: pointer of type 'void *' used in arithmetic
../../../../arch/x86/x86/via_padlock.c:391: warning: pointer of type 'void *' used in arithmetic
../../../../arch/x86/x86/via_padlock.c:405: warning: pointer of type 'void *' used in arithmetic
../../../../arch/x86/x86/via_padlock.c:419: warning: pointer of type 'void *' used in arithmetic
../../../../arch/x86/x86/via_padlock.c:419: warning: pointer of type 'void *' used in arithmetic
../../../../arch/x86/x86/via_padlock.c:419: warning: pointer of type 'void *' used in arithmetic

*** Failed target:  via_padlock.o

--
Ryo HAYASAKA <ryoh@jaist.ac.jp>
Japan Advanced Institute of Science and Technology (JAIST)

----Security_Multipart(Sun_Mar_11_23_18_32_2007_715)--
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (NetBSD)

iD8DBQBF9A+511up7NrSK2IRAveBAJ4nsDgB7tng/qDL0iWRp1R1m8zhlgCeLvyQ
qZHCWYtWJltncvsI2SnVzkg=
=b9d/
-----END PGP SIGNATURE-----

----Security_Multipart(Sun_Mar_11_23_18_32_2007_715)----