Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

building sparc64 kernel fails in ehci_pci.c



Hi,

sparc64 (at least) doesn't like the "grotty hack" ;-) in
sys/dev/pci/ehci_pci.c at line 236: (source as of Apr 17 22:09 MEST,
cross compiling on amd64)

    compile  GENERIC/ehci_pci.o
cc1: warnings being treated as errors
/u/NetBSD/src/sys/dev/pci/ehci_pci.c: In function 'ehci_pci_detach':
/u/NetBSD/src/sys/dev/pci/ehci_pci.c:236: warning: value computed is not used

*** Failed target:  ehci_pci.o
*** Failed command: echo ' ' "compile GENERIC/ehci_pci.o"; : echo 
/u/NetBSD/arch/sparc64/TOOLS/bin/sparc64--netbsd-gcc -pipe -mcmodel=medlow 
-mno-fpu -ffreestanding -fno-zero-initialized-in-bss -O2 -std=gnu99 
-fno-strict-aliasing -Werror -Wall -Wno-main -Wno-format-zero-length 
-Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wswitch -Wshadow 
-Wcast-qual -Wwrite-strings -Wno-unreachable-code -Wno-sign-compare 
-Wno-pointer-sign -Wno-attributes -Wextra -Wno-unused-parameter -Werror 
-Dsparc64 -D__sparc64__ -D_LP64 -Wa,-Av9a -I. 
-I/u/NetBSD/src/sys/../common/include -I/u/NetBSD/src/sys/arch 
-I/u/NetBSD/src/sys -nostdinc -DMAXUSERS=64 -D_KERNEL -D_KERNEL_OPT 
-I/u/NetBSD/src/sys/lib/libkern/../../../common/lib/libc/quad 
-I/u/NetBSD/src/sys/lib/libkern/../../../common/lib/libc/string 
-I/u/NetBSD/src/sys/lib/libkern/../../../common/lib/libc/arch/sparc64/string 
-I/u/NetBSD/src/sys/dist/ipf -I/u/NetBSD/src/sys/external/isc/atheros_hal/dist 
-I/u/NetBSD/src/sys/external/isc/atheros_hal/ic -c 
/u/NetBSD/src/sys/dev/pci/ehci_pci.c; 
/u/NetBSD/arch/sparc64/TOOLS/bin/sparc64--netbsd-gcc -pipe -mcmodel=medlow 
-mno-fpu -ffreestanding -fno-zero-initialized-in-bss -O2 -std=gnu99 
-fno-strict-aliasing -Werror -Wall -Wno-main -Wno-format-zero-length 
-Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wswitch -Wshadow 
-Wcast-qual -Wwrite-strings -Wno-unreachable-code -Wno-sign-compare 
-Wno-pointer-sign -Wno-attributes -Wextra -Wno-unused-parameter -Werror 
-Dsparc64 -D__sparc64__ -D_LP64 -Wa,-Av9a -I. 
-I/u/NetBSD/src/sys/../common/include -I/u/NetBSD/src/sys/arch 
-I/u/NetBSD/src/sys -nostdinc -DMAXUSERS=64 -D_KERNEL -D_KERNEL_OPT 
-I/u/NetBSD/src/sys/lib/libkern/../../../common/lib/libc/quad 
-I/u/NetBSD/src/sys/lib/libkern/../../../common/lib/libc/string 
-I/u/NetBSD/src/sys/lib/libkern/../../../common/lib/libc/arch/sparc64/string 
-I/u/NetBSD/src/sys/dist/ipf -I/u/NetBSD/src/sys/external/isc/atheros_hal/dist 
-I/u/NetBSD/src/sys/external/isc/atheros_hal/ic -c 
/u/NetBSD/src/sys/dev/pci/ehci_pci.c
*** Error code 1

Stop.
nbmake: stopped in /u/NetBSD/arch/sparc64/obj/sys/arch/sparc64/compile/GENERIC

Kurt


Home | Main Index | Thread Index | Old Index