Current-Users archive

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

Building fails for am64



Hi,

with sources cvs'uped some minutes ago

> 1029: ./build.sh -u -N 1 -j 8 -U -m amd64 -O /u/NetBSD/arch/amd64/obj -D /u/NetBSD/arch/amd64/dest -R /u/NetBSD/arch/amd64/release -T /u/NetBSD/arch/amd64/TOOLS distribution

respectively

>-1038: cd /u/NetBSD/src/usr.sbin/crash
>-1038: /u/NetBSD/arch/amd64/TOOLS/bin/nbmake-amd64 dependall

failed (see below). This compiles fine for aarch64 at least.

Kurt


#   compile  crash/db_trace.o
/u/NetBSD/arch/amd64/TOOLS/bin/x86_64--netbsd-gcc -O2 -pipe   -fPIE    -std=gnu99    -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare  -Wsystem-headers   -Wno-traditional   -Wa,--fatal-warnings  -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wno-sign-compare -Wsign-compare -Wformat=2  -Wno-format-zero-length  -Werror     --sysroot=/u/NetBSD/arch/amd64/dest -I/u/NetBSD/src/usr.sbin/crash -I/u/NetBSD/arch/amd64/obj/usr.sbin/crash -I/u/NetBSD/src/usr.sbin/crash/../../sys -fno-strict-aliasing -DDDB_VERBOSE_HELP -DDB_MAX_LINE=10000000 -D_KMEMUSER -UDB_MACHINE_COMMANDS -I/u/NetBSD/src/usr.sbin/crash/../../sys/arch -D_KERNTYPES  -c    /u/NetBSD/src/usr.sbin/crash/../../sys/arch/x86/x86/db_trace.c
In file included from /u/NetBSD/src/usr.sbin/crash/../../sys/arch/x86/x86/db_trace.c:53:0:
/u/NetBSD/src/usr.sbin/crash/../../sys/arch/x86/x86/db_trace.c: In function 'db_stack_trace_print':
/u/NetBSD/arch/amd64/obj/usr.sbin/crash/x86/db_machdep.h:6:42: error: 'VM_MIN_KERNEL_ADDRESS' undeclared (first use in this function)
 #define INKERNEL(va) (((vaddr_t)(va)) >= VM_MIN_KERNEL_ADDRESS)
                                          ^
/u/NetBSD/src/usr.sbin/crash/../../sys/arch/x86/x86/db_trace.c:281:7: note: in expansion of macro 'INKERNEL'
   if (INKERNEL((long)frame)) {
       ^~~~~~~~
/u/NetBSD/arch/amd64/obj/usr.sbin/crash/x86/db_machdep.h:6:42: note: each undeclared identifier is reported only once for each function it appears in
 #define INKERNEL(va) (((vaddr_t)(va)) >= VM_MIN_KERNEL_ADDRESS)
                                          ^
/u/NetBSD/src/usr.sbin/crash/../../sys/arch/x86/x86/db_trace.c:281:7: note: in expansion of macro 'INKERNEL'
   if (INKERNEL((long)frame)) {
       ^~~~~~~~

*** Failed target:  db_trace.o



Home | Main Index | Thread Index | Old Index