[Buildroot] [PATCH 2/2] linux: Disable -ftree-loop-distribute-patterns when building for microblaze with gcc >= 10

Thomas Petazzoni thomas.petazzoni at bootlin.com
Thu Oct 1 08:06:16 UTC 2020


On Wed, 30 Sep 2020 23:04:22 +0200
Romain Naour <romain.naour at gmail.com> wrote:

> > The gotcha being of course that we don't pass TARGET_CFLAGS to the
> > Linux package...  
> 
> Indeed, I have no ideas if the userspace built with this toolchain is really
> working... except for busybox which was used by qemu_microblazeel_mmu_defconfig

I think we should be passing this flag in TARGET_CFLAGS. What bothers
me is that passing it in TARGET_CFLAGS would not resolve the Linux
build issue, as Linux isn't built with TARGET_CFLAGS...

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


More information about the buildroot mailing list