Can't build kernel 3.16.0-26.34~14.04.1 on amd64
Cyril Scetbon
cyril.scetbon at free.fr
Wed Nov 26 21:30:34 UTC 2014
The issue is in fact really similar to http://lkml.iu.edu/hypermail/linux/kernel/1408.3/00285.html <http://lkml.iu.edu/hypermail/linux/kernel/1408.3/00285.html>. In my case Dwarf is disabled too as opposed to your build.
--
Cyril SCETBON
> On 26 Nov 2014, at 17:47, Cyril Scetbon <cyril.scetbon at free.fr> wrote:
>
> Hi,
>
> Building this kernel on an X86_64 works like a charm, however it fails on an AMD64. You can find the output of the build at http://pastebin.com/fXTwucbg <http://pastebin.com/fXTwucbg>.
>
> To be able to build it I had to apply the attached patch.
>
> => Explanation of the issue
>
> The matter is that in debian/build/tools-perarch/tools/perf/Makefile.perf I find :
>
> ifeq ($(ARCH),x86)
> LIB_OBJS += $(OUTPUT)tests/perf-time-to-tsc.o
> endif
>
> which means it's not included for ARCH=amd64. However functions stored in the file above are referred in debian/build/tools-perarch/tools/perf/tests/builtin-test.c :
>
> #if defined(__x86_64__) || defined(__i386__)
> {
> .desc = "Test converting perf time to TSC",
> .func = test__perf_time_to_tsc,
> },
> #endif
>
> In fact, on an AMD64, "defined(__x86_64__)" is True while "ifeq ($(ARCH),x86") is FALSE and that's the cause of the issue. I'm amazed to see you build it on AMD64 and don't seem to get issues on launchpad ...
>
> <utopic-fix.patch>
> --
> Cyril SCETBON
>
> --
> Ubuntu-devel-discuss mailing list
> Ubuntu-devel-discuss at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-devel-discuss/attachments/20141126/e3d6e6de/attachment.html>
More information about the Ubuntu-devel-discuss
mailing list