[llvmlinux] [llvm3.3linux3.10] x86_64: Two missing patches in series file?
Behan Webster
behanw at converseincode.com
Tue Jul 9 13:28:08 UTC 2013
On 07/09/13 07:24, Sedat Dilek wrote:
> Hi,
>
> I am trying to get LLVMLinux running on x86_64.
>
> [ TOOLCHAIN ]
>
> I have chosen the pre-compiled ("official") toolchain for
> Ubuntu/precise AMD64 [2] from the LLVM project.
>
> [ LINUX-KERNEL ]
>
> I have taken the latest available ("stable") Linux-v3.10 as my base.
>
> My 1st run/testing, will be to apply all patches from "arch/all"
> (here: "llvmlinux-generic") and from "arch/x86_64" (here:
> "llvmlinux-x86_64").
>
> While looking through the x86_64 patches I noticed two missing patches
> in the original series file:
>
> [ series.orig_sorted VS. series.patches_sorted ]
>
> +0011-Change-section-for-acpiosxf.h-to-__init.patch
> +change_var_in_perf_event_intel_uncore_to_fix_boot_crash.patch
>
> Why are they not included?
>
The answer is the same as the last time you asked this question: you're
looking in the wrong place. Those are merely some of the patches we use
for that one arch.
The build system pulls patches from several places to assemble a patch
series which is unique to each supported target. You're trying to
recreate the patch series by hand which isn't the way it was intended to
be used. The build system automates everything you are trying to
recreate by hand.
If you use the build system properly you can recreate the x86_64 patches
(without having to build anything) for mainline as follows:
$ cd targets/x86_64
$ make kernel-quilt-link-patches
The targets/x86_64/patches will now contain a proper series file, and
links to all the relevant patches.
The config options we use for a particular target is in its target
directory. For instance:
targets/x86_64/config_x86_64
I am sure the list would love to hear your results for testing specific
kernel versions and config options.
Behan
--
Behan Webster
behanw at converseincode.com
More information about the LLVMLinux
mailing list