Port-arm archive

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

NetBSD/evbarm 32-bit GENERIC fails to build



In -current sources updated last night:

#   compile  GENERIC/fdt_machdep.o
/nbsd/tools/bin/armv7--netbsdelf-eabihf-gcc -mfloat-abi=soft -ffreestanding -fno-zero-initialized-in-bss -fno-delete-null-pointer-checks -g -O2 -fno-strict-aliasing -fno-common -std=gnu99 -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wold-style-definition -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wno-unreachable-code -Wno-pointer-sign -Wno-attributes -Wno-sign-compare --sysroot=/nbsd/destdir/opi-v7 -mcpu=cortex-a15 -mfpu=neon -I. -I../../../../../common/lib/libx86emu -I../../../../../common/include -I../../../../arch -I../../../.. -nostdinc -D__HAVE_CPU_COUNTER -D__HAVE_CPU_UAREA_ALLOC_IDLELWP -D__HAVE_FAST_SOFTINTS -D__HAVE_PCI_CONF_HOOK -DARM_GENERIC_TODR -DCOMPAT_44 -DDIAGNOSTIC -D_KERNEL -D_KERNEL_OPT -std=gnu99 -I../../../../lib/libkern/../../../common/lib/libc/quad -I../../../../lib/libkern/../../../common/lib/libc/string -I../../../../lib/libkern/../../../common/lib/libc/arch/arm/string -I../../../../external/bsd/libfdt/dist -c ../../../../arch/evbarm/fdt/fdt_machdep.c -o fdt_machdep.o
../../../../arch/evbarm/fdt/fdt_machdep.c: In function 'initarm':
../../../../arch/evbarm/fdt/fdt_machdep.c:431:3: error: 'KERNEL_BASE_VOFFSET' undeclared (first use in this function)
   KERNEL_BASE_VOFFSET);
   ^
../../../../arch/evbarm/fdt/fdt_machdep.c:151:30: note: in definition of macro 'DPRINTF'
 #define DPRINTF(...)  printf(__VA_ARGS__)
                              ^~~~~~~~~~~
../../../../arch/evbarm/fdt/fdt_machdep.c:431:3: note: each undeclared identifier is reported only once for each function it appears in
   KERNEL_BASE_VOFFSET);
   ^
../../../../arch/evbarm/fdt/fdt_machdep.c:151:30: note: in definition of macro 'DPRINTF'
 #define DPRINTF(...)  printf(__VA_ARGS__)
                              ^~~~~~~~~~~

*** Failed target:  fdt_machdep.o


There doesn’t seem to be a Makefie fragment that defines KERNEL_BASE_VOFFSET in the GENERIC case.

-- thorpej



Home | Main Index | Thread Index | Old Index