Date: Wed, 29 Nov 2006 18:01:02 GMT From: "Dr. Markus Waldeck"<waldeck@gmx.de> To: freebsd-gnats-submit@FreeBSD.org Subject: kern/106023: makeoptions DEBUG=-p Message-ID: <200611291801.kATI12F5023054@www.freebsd.org> Resent-Message-ID: <200611291810.kATIA9T5055005@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 106023 >Category: kern >Synopsis: makeoptions DEBUG=-p >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Nov 29 18:10:08 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Dr. Markus Waldeck >Release: 7.0-CURRENT-200611 >Organization: >Environment: FreeBSD fbh 7.0-CURRENT-200611 FreeBSD 7.0-CURRENT-200611 root@fb:/usr/src/sys/i386/compile/FB70B01 i386 >Description: I read about kgmon and tried to build a GENERIC kernel with makeoptions DEBUG=-p instead of makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols I got following compilation error MAKE=make sh ../../../conf/newvers.sh GENERIC cc -c -O -pipe -std=c99 -p -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -fformat-extensions -nostdinc -I- -I. -I../../.. -I../../../contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Werror vers.c linking kernel.debug aic7xxx_reg_print.o(.text+0x4): In function `ahc_scsiseq_print': : undefined reference to `.mcount' aic7xxx_reg_print.o(.text+0x2c): In function `ahc_sxfrctl0_print': : undefined reference to `.mcount' aic7xxx_reg_print.o(.text+0x54): In function `ahc_sxfrctl1_print': : undefined reference to `.mcount' aic7xxx_reg_print.o(.text+0x7c): In function `ahc_scsisigi_print': : undefined reference to `.mcount' aic7xxx_reg_print.o(.text+0xa4): In function `ahc_scsisigo_print': : undefined reference to `.mcount' aic7xxx_reg_print.o(.text+0xcc): more undefined references to `.mcount' follow *** Error code 1 >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200611291801.kATI12F5023054>