Hi,
this is what I get then I compile -current with
makeoptions DEBUG="-g" # compile full symbol table
makeoptions PROF="-pg" # build profiled kernel
ld -Ttext 0xffffffff801001e0 -e start --warn-common -nopie -X -o bsd
${SYSTEM_HEAD} vers.o ${OBJS}
smc93cx6.o(.text+0x12): In function `read_seeprom':
../../../../dev/ic/smc93cx6.c:100: undefined reference to `__mcount'
pcdisplay_subr.o(.text+0x5): In function `pcdisplay_cursor_reset':
../../../../dev/ic/pcdisplay_subr.c:45: undefined reference to `__mcount'
pcdisplay_subr.o(.text+0x15): In function `pcdisplay_cursor_init':
../../../../dev/ic/pcdisplay_subr.c:54: undefined reference to `__mcount'
pcdisplay_subr.o(.text+0x4d): In function `pcdisplay_eraserows':
../../../../dev/ic/pcdisplay_subr.c:288: undefined reference to `__mcount'
pcdisplay_subr.o(.text+0x11d): In function `pcdisplay_erasecols':
../../../../dev/ic/pcdisplay_subr.c:235: undefined reference to `__mcount'
pcdisplay_subr.o(.text+0x1ed):../../../../dev/ic/pcdisplay_subr.c:261: more
undefined references to `__mcount' follow
*** Error 1 in /usr/src/sys/arch/amd64/compile/GENERIC (Makefile:716 'bsd':
@echo ld -Ttext 0xffffffff801001e0 -e start --warn-common -nopieā¦)
My guess is that those two are mutual exclusive?