Package: linux-kbuild-2.6.32
Version: 2.6.32-1
Severity: important
Enabling CONFIG_FTRACE_MCOUNT_RECORD in the kernel's configuration calls
for the addition of recordmcount.pl to the set of scripts to install (as
listed in scripts/Makefile, AFAICT); could you please do so?
As a workaround in the meantime you could extract recordmcount.pl from
the /script directory of /usr/src/linux-source-2.6.32.tar.bz2 (if you
installed the source package) and copy it to
/usr/src/linux-kbuild-2.6.32/scripts. Afterwards you can build your
kernel packages, at least it worked for me for the nvidia-kernel-source
package.
Don't know if the added file has to be removed by hand before upgrading
the linux-kbuild package in order not to entangle your package manager.
Regards
Ingo
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Enabling CONFIG_FTRACE_MCOUNT_RECORD in the kernel's configuration calls
> for the addition of recordmcount.pl to the set of scripts to install (as
> listed in scripts/Makefile, AFAICT); could you please do so?
Thanks, and sorry for the long silence. In
/usr/lib/linux-kbuild-3.2/scripts/Makefile.build I see:
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/20121001074243.GA7300@elie.Belkin
No problem; truth be told, the bug hasn't affected me in a while (due to
changes in either the kernel's configuration or OpenAFS's build system,
I don't remember which). That said, I can confirm that your patch does
indeed add recordmcount.pl to linux-kbuild-3.5, thanks.
--
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
http://www.mit.edu/~amu/ | http://stuff.mit.edu/cgi/finger/?amu@monk.mit.edu
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: udlvceunshe.fsf@dr-wily.mit.edu">http://lists.debian.org/udlvceunshe.fsf@dr-wily.mit.edu
On Mon, Oct 01, 2012 at 12:42:43AM -0700, Jonathan Nieder wrote:
> reassign 568165 src:linux-tools linux-kbuild-2.6/2.6.32-1
> found 568165 linux-tools/3.5-1~experimental.1 , linux-tools/3.2.17-1
> tags 568165 + patch
> quit
>
> Hi,
>
> In 2010, Aaron M. Ucko wrote:
>
> > Enabling CONFIG_FTRACE_MCOUNT_RECORD in the kernel's configuration calls
> > for the addition of recordmcount.pl to the set of scripts to install (as
> > listed in scripts/Makefile, AFAICT); could you please do so?
>
> Thanks, and sorry for the long silence. In
> /usr/lib/linux-kbuild-3.2/scripts/Makefile.build I see:
>
> define rule_cc_o_c
> $(call echo-cmd,checksrc) $(cmd_checksrc)
> $(call echo-cmd,cc_o_c) $(cmd_cc_o_c);
> $(cmd_modversions)
> $(call echo-cmd,record_mcount)
> [...]
>
> Does the following work?
>
> Index: debian/changelog
> ================================================== =================
> --- debian/changelog (révision 19403)
> +++ debian/changelog (copie de travail)
> @@ -1,9 +1,13 @@
> linux-tools (3.5-1~experimental.2) UNRELEASED; urgency=low
>
> + [ Ben Hutchings ]
> * genorig: Accept xz-compressed upstream tarballs and patches, and
> generate an xz-compressed orig tarball, thanks to Sedat Dilek
> * source: Enable xz-compression for debian directory tarball
>
> + [ Jonathan Nieder ]
> + * Include recordmcount.pl (Closes: #568165)
> +
Most archs use the C-version of recordmcount nowadays. I don't know
about 3.2, but for new versions we'd need a binary and rewrite
Makefile.build IIRC.
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20121001152640.GM16606@pengutronix.de">http://lists.debian.org/20121001152640.GM16606@pengutronix.de
> Most archs use the C-version of recordmcount nowadays. I don't know
> about 3.2, but for new versions we'd need a binary and rewrite
> Makefile.build IIRC.
The magic happens in the toplevel Makefile, which is not installed in
kbuild:
+ [ Ben Hutchings ]
* genorig: Accept xz-compressed upstream tarballs and patches, and
generate an xz-compressed orig tarball, thanks to Sedat Dilek
* source: Enable xz-compression for debian directory tarball
+ [ Jonathan Nieder ]
+ * Include recordmcount and recordmcount.pl (Closes: #568165)
+
-- Ben Hutchings <ben@decadent.org.uk> Tue, 21 Aug 2012 05:05:42 +0100
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/20121001190254.GE16391@elie.Belkin
> No problem; truth be told, the bug hasn't affected me in a while (due to
> changes in either the kernel's configuration or OpenAFS's build system,
> I don't remember which).
Probably due to v2.6.38-rc1~2^2~57^2~2 (ftrace: Speed up recordmcount,
2010-10-28).
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/20121001194328.GA27024@elie.Belkin