Date: Sun, 2 Dec 2001 16:34:53 -0500 (EST) From: Robert Watson <rwatson@FreeBSD.org> To: freebsd-current@FreeBSD.org Subject: kernel makefile irregularity (kernel.debug: file truncated) Message-ID: <Pine.NEB.3.96L.1011202162153.4004N-100000@fledge.watson.org>
next in thread | raw e-mail | index | archive | help
Odd experience today -- was building a kernel with the standard makefiles and -j 4, and found the following in buildkernel.log: ... cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -g -nostdinc -I- -I. -I../../.. -I../../../dev -I../../../contrib/dev/acpica -I../../../contrib/ipfilter -I/usr/include -D_KERNEL -include opt_global.h -elf -mpreferred-stack-boundary=2 vers.c linking kernel.debug text data bss dec hex filename 2899368 282508 348852 3530728 35dfe8 kernel.debug objcopy --strip-debug kernel.debug kernel cd ../../../modules ; envMAKEOBJDIRPREFIX=/cboss/freebsd/jail_smpng_commit/src/ sys/i386/compile/GENERIC/modules KMODDIR=/boot/kernel DEBUG="-g" DEBUG_FLAGS="-g" make obj ; env MAKEOBJDIRPREFIX=/cboss/freebsd/jail_smpng_commit/src/sys/i386/compile/GENERIC/modules KMODDIR=/boot/kernel DEBUG="-g" DEBUG_FLAGS="-g" make all ... cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -g -nostdinc -I- -I. -I../../.. -I../../../dev -I../../../contrib/dev/acpica -I../../../contrib/ipfilter -I/usr/include -D_KERNEL -include opt_global.h -elf -mpreferred-stack-boundary=2 vers.c objcopy --strip-debug kernel.debug kernel /usr/libexec/elf/objcopy: kernel.debug: File truncated *** Error code 1 Looks like for some reason the objcopy on kernel.debug got run twice, possibly due to the -j. This was run from src/sys/i386/compile/GENERIC as make -j 4 Robert N M Watson FreeBSD Core Team, TrustedBSD Project robert@fledge.watson.org NAI Labs, Safeport Network Services To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1011202162153.4004N-100000>