Date: Thu, 15 Apr 2010 15:01:14 +0200 From: Alexander Leidinger <netchild@FreeBSD.org> To: Navdeep Parhar <nparhar@gmail.com> Cc: freebsd-current@FreeBSD.org Subject: Re: Does "makeoptions WITH_CTF=yes" actually work? Message-ID: <20100415150114.10943xtlf1pbz76s@webmail.leidinger.net> In-Reply-To: <20100414183540.GA2542@gypsy> References: <g2md04e16b71004140133ubee176eboe6baaeb7ef0f0605@mail.gmail.com> <20100414105819.13143mf12ccgjy4g@webmail.leidinger.net> <y2vd04e16b71004140231u4b638141w17215bf037a9c94@mail.gmail.com> <20100414132342.74616nl7805cljgo@webmail.leidinger.net> <20100414183540.GA2542@gypsy>
next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Navdeep Parhar <nparhar@gmail.com> (from Wed, 14 Apr 2010 =20 11:35:40 -0700): > On Wed, Apr 14, 2010 at 01:23:42PM +0200, Alexander Leidinger wrote: >> Quoting Navdeep Parhar <nparhar@gmail.com> (from Wed, 14 Apr 2010 >> 02:31:30 -0700): >> >> >On Wed, Apr 14, 2010 at 1:58 AM, Alexander Leidinger >> ><netchild@freebsd.org> wrote: >> >>Quoting Navdeep Parhar <nparhar@gmail.com> (from Wed, 14 Apr 2010 01:3= 3:29 >> >>-0700): >> >> >> >>>I read the UPDATING entry that accompanied r206082 and added WITH_CTF= =3Dyes >> >>>to >> >>>my kernel config, hoping to get CTF information in the kernel and all >> >>>modules. =C2=A0No luck. >> >>>It appears that NO_CTF remains set to 1 inspite of the undef NO_CTF i= n >> >>>various .mk files >> >>>and ctfconvert never runs. >> >> >> >>This is the output I get in my kernel build directory: >> >>---snip--- >> >># make -V NO_CTF -V WITH_CTF >> >> >> >>yes >> > >> >Can you also try a "makeoptions WITH_CTF=3Dyes" in your KERNCONF >> >> The above one is with WITH_CTF in my kernel config, but this was >> generated manually with cd /sys/i386/conf; config CONF; cd >> ../compile/CONF; make -V... >> >> >and see if the results are as expected? How was r206082 tested? I'm >> >trying to figure out the differences, if any, between your build setup = and >> >mine. >> >> I made a buildworld with and without WITH_CTF in src.conf to confirm >> that it works (no installkernel, as the world is known to be not >> useable with CTF), and I did a lot of tests by hand as above >> (config;make). > > Have you or anyone else ever used buildkernel successfully with > "makeoptions WITH_CTF=3Dyes" in the conf file? Something as simple as > this does not work for me: > > - pristine sources in /usr/src, empty /usr/obj, no /etc/make.conf, no > /etc/src.conf > - add "makeoptions WITH_CTF=3Dyes" in sys/amd64/conf/GENERIC > - make buildkernel in /usr/src I can reproduce what you see. Somewhere NO_CTF is feed to the build of =20 the kernel. I will have a look from where this comes. Until then I =20 suggest to compile the kernel by hand (if you want to make use of the =20 CTF stuff) instead of using buildkernel. Bye, Alexander. --=20 http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137 I attribute my success to intelligence, guts, determination, honesty, ambition, and having enough money to buy people with those qualities.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100415150114.10943xtlf1pbz76s>