[Buildroot] compiler plugins & compiling the kernel

Kenneth Adam Miller kennethadammiller at gmail.com
Sun Aug 21 15:21:34 UTC 2016


On Sat, Aug 20, 2016 at 11:55 PM, Khem Raj <raj.khem at gmail.com> wrote:
> On Aug 20, 2016 10:10 AM, "Kenneth Adam Miller"
> <kennethadammiller at gmail.com> wrote:
>>
>> Hello all,
>>
>>
>> I've noticed that when the kernel is built, it appears to always be
>> built with the host compiler, and not the buildroot specified cross
>> compiler. Why is that?
>>
>
> Some portions are compiled for the build host. E.g. Tools. They will always
> use native compiler. But the kernel proper should be using cross compiler
>

Oh ok. Maybe that's it.

>> In addition, for some pax related options, it requires gcc plugins for
>> the version being used. That means that I would have to have plugin
>> support for my host, correct? I don't believe that there is a way to
>> enable plugin support for the buildroot toolchain or for crosstool. At
>> least, when I looked and searched I didn't see any option that
>> mentioned that. I just want to make sure that I have it correct in
>> that my host compiler is being used to build the kernel.
>> _______________________________________________
>> buildroot mailing list
>> buildroot at busybox.net
>> http://lists.busybox.net/mailman/listinfo/buildroot



More information about the buildroot mailing list