On Thu, Jan 3, 2013 at 1:56 PM, mxb <[email protected]> wrote:
> 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'
...
> My guess is that those two are mutual exclusive?

No, they are not.  If you're going to edit your kernel config, you
should read options(4).

     makeoptions PROF="-pg"
     The -pg flag causes the kernel to be compiled with support for profiling.
     The option GPROF is required for the kernel compile to succeed.


Philip Guenther

Reply via email to