Port-arm archive

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

Can't build TEGRA kernel without DIAGNOSTIC



Just FYI - it seems that a TEGRA kernel won't compile without options DIAGNOSTIC:


--- fdtbus.o --- [113/1952]
#   compile  TEST/fdtbus.o
/usr/src/../tools/bin/armv7--netbsdelf-eabihf-gcc -mfloat-abi=soft -ffreestandin g -fno-zero-initialized-in-bss -g -O2 -fno-strict-aliasing -fno-common -std=gnu9 9 -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prot otypes -Wstrict-prototypes -Wold-style-definition -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wno-unreachable-code -Wno-pointer-sign -Wno-attributes -Wno-sig n-compare --sysroot=/usr/src/../dest-evbarm -mcpu=cortex-a15 -mfpu=neon -DKERNEL _BASES_EQUAL -DKERNEL_BASE_VOFFSET=0 -I. -I/usr/src/sys/../common/lib/libx86emu -I/usr/src/sys/../common/include -I/usr/src/sys/arch -I/usr/src/sys -nostdinc -D __HAVE_CPU_COUNTER -D__HAVE_FAST_SOFTINTS -DKERNEL_BASE_EXT=0x80000000 -D__HAVE_ PCI_CONF_HOOK -DARM_GENERIC_TODR -DCONSADDR=0x70006300 -D_KERNEL -D_KERNEL_OPT - std=gnu99 -I/usr/src/sys/lib/libkern/../../../common/lib/libc/quad -I/usr/src/sy s/lib/libkern/../../../common/lib/libc/string -I/usr/src/sys/lib/libkern/../../. ./common/lib/libc/arch/arm/string -I/usr/src/sys/external/isc/atheros_hal/dist - I/usr/src/sys/external/isc/atheros_hal/ic -I/usr/src/sys/external/bsd/common/inc lude -I/usr/src/sys/external/bsd/drm2/include -I/usr/src/sys/external/bsd/common /include -I/usr/src/sys/external/bsd/drm2/include -I/usr/src/sys/external/bsd/dr m2/include/drm -I/usr/src/sys/external/bsd/drm2/dist -I/usr/src/sys/external/bsd /drm2/dist/include -I/usr/src/sys/external/bsd/drm2/dist/include/drm -I/usr/src/ sys/external/bsd/drm2/dist/uapi -I/usr/src/sys/external/bsd/common/include -D__K ERNEL__ -DCONFIG_FB=0 -DCONFIG_BACKLIGHT_CLASS_DEVICE=0 -DCONFIG_BACKLIGHT_CLASS _DEVICE_MODULE=0 -I/usr/src/sys/external/bsd/drm2/dist/drm/nouveau -I/usr/src/sy s/external/bsd/drm2/dist/drm/nouveau/core -I/usr/src/sys/external/bsd/drm2/dist/drm/nouveau/core/include -I/usr/src/sys/external/bsd/drm2/nouveau -DCONFIG_NOUVE AU_DEBUG=5 -DCONFIG_NOUVEAU_DEBUG_DEFAULT=3 -I/usr/src/sys/external/bsd/libfdt/d
ist -c /usr/src/sys/dev/fdt/fdtbus.c -o fdtbus.o
/usr/src/sys/dev/fdt/fdtbus.c: In function 'fdt_scan':
/usr/src/sys/dev/fdt/fdtbus.c:96:11: error: variable 'alen' set but not used [-W
error=unused-but-set-variable]
  int len, alen, child;
           ^
cc1: all warnings being treated as errors
*** [fdtbus.o] Error code 1

nbmake: stopped in /usr/obj-evbarm/sys/arch/evbarm/compile/TEST



Home | Main Index | Thread Index | Old Index