Subject: port-sparc64/22333: can't compile IPSEC kernels on sparc64
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <rquinn@sec.sprint.net>
List: netbsd-bugs
Date: 08/01/2003 15:25:31
>Number: 22333
>Category: port-sparc64
>Synopsis: can't compile IPSEC kernels on sparc64
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: port-sparc64-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Aug 01 15:26:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Rob Quinn
>Release: NetBSD current kernel from about 25 July 2003, sources from this morning 1 Aug 2003
>Organization:
>Environment:
NetBSD struck.sec.sprint.net 1.6U NetBSD 1.6U (STRUCK) #6: Fri Jul 25 03:14:00 EDT 2003 root@struck.sec.sprint.net:/usr/obj/STRUCK sparc64
>Description:
Sparc64 kernel compile fails if 'options IPSEC' and IPSEC_ESP are enabled.
i386 compile seems fine.
>How-To-Repeat:
struck:/usr/obj/GENERIC #diff CONFIG /usr/src/sys/arch/sparc64/conf/GENERIC
1d0
< source /usr/src/sys
38,40d36
<
< options IPSEC # IP security
< options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
struck:/usr/obj/GENERIC #nbconfig -P
Build directory is .
Don't forget to run "make depend"
struck:/usr/obj/GENERIC #nbmake depend
depending the kern library objects
depending the compat library objects
struck:/usr/obj/GENERIC #nbmake
/usr/obj/tooldir/bin/sparc64--netbsd-gcc -mcmodel=medlow -mno-fpu -ffreestanding -O2 -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wno-sign-compare -Wno-uninitialized -Dsparc64 -D__sparc64__ -D_LP64 -Wa,-Av9a -I. -I/usr/src/sys/arch -I/usr/src/sys -nostdinc -DLKM -DMAXUSERS=64 -D_KERNEL -D_KERNEL_OPT -c /usr/src/sys/crypto/ripemd160/rmd160.c
cc1: warnings being treated as errors
/usr/src/sys/crypto/ripemd160/rmd160.c: In function `RMD160Transform':
/usr/src/sys/crypto/ripemd160/rmd160.c:173: warning: implicit declaration of function `swap32'
*** Error code 1
Stop.
nbmake: stopped in /usr/obj/GENERIC
>Fix:
Temp fix: remove IPSEC options
>Release-Note:
>Audit-Trail:
>Unformatted: