SystemTap on 2.6.23-rc8-mm2
David Smith
dsmith@redhat.com
Thu Oct 4 18:34:00 GMT 2007
Mike Mason wrote:
> Just a heads up... I had to patch buildrun.cxx to get scripts to build
> on 2.6.23-rc8-mm2 (CFLAGS changed to KBUILD_CFLAGS, CPPFLAGS changed to
> KBUILD_CPPFLAGS). I've attached the patch below. I don't know when or
> if this change will go into Linus' kernel. I'm also not sure of the
> best way to ensure the correct CFLAGS are used in build_run.cxx (maybe
> check s.kernel_release?).
I've seen this also (and in fact I meant to check something in but got
distracted by my other marker work). I believe my solution will be
backwards compatible to 2.6.9 kernels - I've tested it on RHEL4 but I
wanted to test f7 and RHEL5 to make sure I didn't break anything.
Basically I moved all our flag settings to EXTRA_CFLAGS (which is used
by both kernels). See the attached patch for details.
--
David Smith
dsmith@redhat.com
Red Hat
http://www.redhat.com
256.217.0141 (direct)
256.837.0057 (fax)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch
URL: <http://sourceware.org/pipermail/systemtap/attachments/20071004/0bb49b2a/attachment.ksh>
More information about the Systemtap
mailing list