Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Apr 2010 01:33:29 -0700
From:      Navdeep Parhar <nparhar@gmail.com>
To:        netchild@freebsd.org, freebsd-current@freebsd.org
Subject:   Does "makeoptions WITH_CTF=yes" actually work?
Message-ID:  <g2md04e16b71004140133ubee176eboe6baaeb7ef0f0605@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
I read the UPDATING entry that accompanied r206082 and added WITH_CTF=yes to
my kernel config, hoping to get CTF information in the kernel and all
modules.  No luck.
It appears that NO_CTF remains set to 1 inspite of the undef NO_CTF in
various .mk files
and ctfconvert never runs.

Can anyone confirm whether r206082 works as advertised or not?

This is the diff between my config and amd64/conf/GENERIC:
24a25
> makeoptions   WITH_CTF=yes
66,67c67,68
< #options      KDTRACE_FRAME           # Ensure frames are compiled in
< #options      KDTRACE_HOOKS           # Kernel DTrace hooks
---
> options       KDTRACE_FRAME           # Ensure frames are compiled in
> options       KDTRACE_HOOKS           # Kernel DTrace hooks
72a74
> options       DDB_CTF

This is /etc/make.conf on my system:
CPUTYPE?=core2
DEBUG_FLAGS=-g -fno-inline-functions -fno-inline-functions-called-once

I built the kernel with a "make -j16 buildkernel" in /usr/src.

Regards,
Navdeep



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?g2md04e16b71004140133ubee176eboe6baaeb7ef0f0605>