Current-Users archive

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

evbMIPS breaks becouse of the nw Atheros code.



Hi.

Compiling of kernel for RB153 breaks, probably because of the new Atheros HAL.

Running following on current:
./build.sh -m evbmips-eb -O /usr/mips/obj/ -T /usr/mips/tools/ kernel=RB153-NFS


#   compile  RB153-NFS/adm5120_extio.o
/usr/mips/tools/bin/mipseb--netbsd-gcc -G 0 -mno-abicalls -msoft-float -ffixed-23 -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 -Werror -march=4kc -Devbmips -I. -I/usr/src/sys/../common/include -I/usr/src/sys/arch -I/usr/src/sys -nostdinc -DMIPS3_ENABLE_CLOCK_INTR -DMIPS32 -DSOFTFLOAT -DCONSPEED=115200 -DSOSEND_LOAN -DUSB_DEBUG -DUHUB_DEBUG -DMSGBUFSIZE=65536 -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -I/usr/src/sys/lib/libkern/../../../common/lib/libc/quad -I/usr/src/sys/lib/libkern/../../../common/lib/libc/string -I/usr/src/sys/lib/libkern/../../../common/lib/libc/arch/mips/string -I/usr/src/sys/dist/pf -I/usr/src/sys/external/isc/atheros_hal/dist -I/usr/src/sys/external/isc/atheros_hal/ic -c /usr/src/sys/arch/mips/adm5120/adm5120_extio.c
cc1: warnings being treated as errors
/usr/src/sys/arch/mips/adm5120/adm5120_extio.c: In function 'extio_print':
/usr/src/sys/arch/mips/adm5120/adm5120_extio.c:411: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'bus_addr_t'

*** Failed target:  adm5120_extio.o
*** Failed command: echo '# ' "compile RB153-NFS/adm5120_extio.o" && echo /usr/mips/tools/bin/mipseb--netbsd-gcc -G 0 -mno-abicalls -msoft-float -ffixed-23 -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 -Werror -march=4kc -Devbmips -I. -I/usr/src/sys/../common/include -I/usr/src/sys/arch -I/usr/src/sys -nostdinc -DMIPS3_ENABLE_CLOCK_INTR -DMIPS32 -DSOFTFLOAT -DCONSPEED="115200" -DSOSEND_LOAN -DUSB_DEBUG -DUHUB_DEBUG -DMSGBUFSIZE="65536" -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -I/usr/src/sys/lib/libkern/../../../common/lib/libc/quad -I/usr/src/sys/lib/libkern/../../../common/lib/libc/string -I/usr/src/sys/lib/libkern/../../../common/lib/libc/arch/mips/string -I/usr/src/sys/dist/pf -I/usr/src/sys/external/isc/atheros_hal/dist -I/usr/src/sys/external/isc/atheros_hal/ic -c /usr/src/sys/arch/mips/adm5120/adm5120_extio.c && /usr/mips/tools/bin/mipseb--netbsd-gcc -G 0 -mno-abicalls -msoft-float -ffixed-23 -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 -Werror -march=4kc -Devbmips -I. -I/usr/src/sys/../common/include -I/usr/src/sys/arch -I/usr/src/sys -nostdinc -DMIPS3_ENABLE_CLOCK_INTR -DMIPS32 -DSOFTFLOAT -DCONSPEED="115200" -DSOSEND_LOAN -DUSB_DEBUG -DUHUB_DEBUG -DMSGBUFSIZE="65536" -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -I/usr/src/sys/lib/libkern/../../../common/lib/libc/quad -I/usr/src/sys/lib/libkern/../../../common/lib/libc/string -I/usr/src/sys/lib/libkern/../../../common/lib/libc/arch/mips/string -I/usr/src/sys/dist/pf -I/usr/src/sys/external/isc/atheros_hal/dist -I/usr/src/sys/external/isc/atheros_hal/ic -c /usr/src/sys/arch/mips/adm5120/adm5120_extio.c && echo
*** Error code 1

Stop.
nbmake: stopped in /usr/mips/obj/sys/arch/evbmips/compile/RB153-NFS

ERROR: Failed to make all in "/usr/mips/obj/sys/arch/evbmips/compile/RB153-NFS"



Home | Main Index | Thread Index | Old Index