Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: compiling kernel on i386 fails
On 7 March 2015 at 17:27, Kurt Schreiner <ks%ub.uni-mainz.de@localhost> wrote:
>
> Hi,
>
> with -current source cvs-updated some moments ago:
Christos has been adding some dtrace improvements, hopefully the build
will be fixed shortly.
Justin
> ===> build.sh command: ./build.sh -u -N 1 -U -m i386 -O /u/NetBSD/arch/i386/obj -D /u/NetBSD/arch/i386/dest -R /u/NetBSD/arch/i386/release -T /u/NetBSD/arch/i386/TOOLS kernel=/var/home/ks/NBconf/vNBx32
> ===> build.sh started: Sat Mar 7 18:25:16 CET 2015
> ===> NetBSD version: 7.99.6
> ===> MACHINE: i386
> ===> MACHINE_ARCH: i386
> ===> Build platform: NetBSD 7.99.5 i386
> ===> HOST_SH: /bin/sh
> ===> MAKECONF file: /etc/mk.conf
> ===> TOOLDIR path: /u/NetBSD/arch/i386/TOOLS
> ===> DESTDIR path: /u/NetBSD/arch/i386/dest
> ===> RELEASEDIR path: /u/NetBSD/arch/i386/release
> ===> Updated makewrapper: /u/NetBSD/arch/i386/TOOLS/bin/nbmake-i386
> ===> Building kernel without building new tools
> ===> Building kernel: /var/home/ks/NBconf/vNBx32
> ===> Build directory: /u/NetBSD/arch/i386/obj/sys/arch/i386/compile/vNBx32
> Build directory is /u/NetBSD/arch/i386/obj/sys/arch/i386/compile/vNBx32
> Don't forget to run "make depend"
> depending the kern library objects
> depending the compat library objects
> [...]
> compile vNBx32/linux_syscall.o
> /u/NetBSD/src/sys/arch/i386/i386/linux_syscall.c: In function 'linux_syscall':
> /u/NetBSD/src/sys/arch/i386/i386/linux_syscall.c:103:3: error: passing argument 2 of 'trace_enter' from incompatible pointer type [-Werror]
> error = trace_enter(code, args, callp->sy_narg);
> ^
> In file included from /u/NetBSD/src/sys/sys/timevar.h:66:0,
> from /u/NetBSD/src/sys/sys/time.h:262,
> from /u/NetBSD/src/sys/sys/param.h:142,
> from /u/NetBSD/src/sys/arch/i386/i386/linux_syscall.c:39:
> /u/NetBSD/src/sys/sys/systm.h:394:5: note: expected 'const struct sysent *' but argument is of type 'register_t *'
> int trace_enter(register_t, const struct sysent *, const void *);
> ^
> /u/NetBSD/src/sys/arch/i386/i386/linux_syscall.c:103:3: error: passing argument 3 of 'trace_enter' makes pointer from integer without a cast [-Werror]
> error = trace_enter(code, args, callp->sy_narg);
> ^
> In file included from /u/NetBSD/src/sys/sys/timevar.h:66:0,
> from /u/NetBSD/src/sys/sys/time.h:262,
> from /u/NetBSD/src/sys/sys/param.h:142,
> from /u/NetBSD/src/sys/arch/i386/i386/linux_syscall.c:39:
> /u/NetBSD/src/sys/sys/systm.h:394:5: note: expected 'const void *' but argument is of type 'short int'
> int trace_enter(register_t, const struct sysent *, const void *);
> ^
> /u/NetBSD/src/sys/arch/i386/i386/linux_syscall.c:106:4: error: passing argument 2 of 'trace_exit' from incompatible pointer type [-Werror]
> trace_exit(code, rval, error);
> ^
> In file included from /u/NetBSD/src/sys/sys/timevar.h:66:0,
> from /u/NetBSD/src/sys/sys/time.h:262,
> from /u/NetBSD/src/sys/sys/param.h:142,
> from /u/NetBSD/src/sys/arch/i386/i386/linux_syscall.c:39:
> /u/NetBSD/src/sys/sys/systm.h:395:6: note: expected 'const struct sysent *' but argument is of type 'register_t *'
> void trace_exit(register_t, const struct sysent *, const void *,
> ^
> /u/NetBSD/src/sys/arch/i386/i386/linux_syscall.c:106:4: error: passing argument 3 of 'trace_exit' makes pointer from integer without a cast [-Werror]
> trace_exit(code, rval, error);
> ^
> In file included from /u/NetBSD/src/sys/sys/timevar.h:66:0,
> from /u/NetBSD/src/sys/sys/time.h:262,
> from /u/NetBSD/src/sys/sys/param.h:142,
> from /u/NetBSD/src/sys/arch/i386/i386/linux_syscall.c:39:
> /u/NetBSD/src/sys/sys/systm.h:395:6: note: expected 'const void *' but argument is of type 'int'
> void trace_exit(register_t, const struct sysent *, const void *,
> ^
> /u/NetBSD/src/sys/arch/i386/i386/linux_syscall.c:106:4: error: too few arguments to function 'trace_exit'
> trace_exit(code, rval, error);
> ^
> In file included from /u/NetBSD/src/sys/sys/timevar.h:66:0,
> from /u/NetBSD/src/sys/sys/time.h:262,
> from /u/NetBSD/src/sys/sys/param.h:142,
> from /u/NetBSD/src/sys/arch/i386/i386/linux_syscall.c:39:
> /u/NetBSD/src/sys/sys/systm.h:395:6: note: declared here
> void trace_exit(register_t, const struct sysent *, const void *,
> ^
> cc1: all warnings being treated as errors
>
> *** Failed target: linux_syscall.o
> *** Failed command: echo ' ' "compile vNBx32/linux_syscall.o" && : echo /u/NetBSD/arch/i386/TOOLS/bin/i486--netbsdelf-gcc -pipe -msoft-float -mno-mmx -mno-sse -mno-avx -ffreestanding -fno-zero-initialized-in-bss -g -O2 -fno-omit-frame-pointer -fstack-protector -Wstack-protector --param ssp-buffer-size=1 -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 -Wextra -Wno-unused-parameter -Wold-style-definition -Wno-sign-compare --sysroot=/u/NetBSD/arch/i386/dest -Di386 -I. -I/u/NetBSD/src/sys/../common/include -I/u/NetBSD/src/sys/arch -I/u/NetBSD/src/sys -nostdinc -DDIAGNOSTIC -DMSGBUFSIZE="0x10000" -DMAXUSERS=64 -D_KERNEL -D_KERNEL_OPT -std=gnu99 -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/i386/string -D_FORTIFY_SOURCE=2 -I/u/NetBSD/src/sys/external/bsd/ipf -I/u/NetBSD/src/sys/../common/include -I/u/NetBSD/src/sys/external/bsd/acpica/dist/include -c /u/NetBSD/src/sys/arch/i386/i386/linux_syscall.c && /u/NetBSD/arch/i386/TOOLS/bin/i486--netbsdelf-gcc -pipe -msoft-float -mno-mmx -mno-sse -mno-avx -ffreestanding -fno-zero-initialized-in-bss -g -O2 -fno-omit-frame-pointer -fstack-protector -Wstack-protector --param ssp-buffer-size=1 -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 -Wextra -Wno-unused-parameter -Wold-style-definition -Wno-sign-compare --sysroot=/u/NetBSD/arch/i386/dest -Di386 -I. -I/u/NetBSD/src/sys/../common/include -I/u/NetBSD/src/sys/arch -I/u/NetBSD/src/sys -nostdinc -DDIAGNOSTIC -DMSGBUFSIZE="0x10000" -DMAXUSERS=64 -D_KERNEL -D_KERNEL_OPT -std=gnu99 -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/i386/string -D_FORTIFY_SOURCE=2 -I/u/NetBSD/src/sys/external/bsd/ipf -I/u/NetBSD/src/sys/../common/include -I/u/NetBSD/src/sys/external/bsd/acpica/dist/include -c /u/NetBSD/src/sys/arch/i386/i386/linux_syscall.c && :
> *** Error code 1
> --
>
> Kurt
>
Home |
Main Index |
Thread Index |
Old Index