[Buildroot] [PATCH] qt: add patch fixing build failure on ARMv8 in 32-bit mode

Peter Korsgaard peter at korsgaard.com
Fri Sep 8 09:18:09 UTC 2017

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni at free-electrons.com> writes:

 > The Qt package currently fails to build on ARMv8 cores in 32-bit mode
 > (for example, if you select ARM and then Cortex-A53), because the ARM
 > atomic operation implementation in Qt checks if we're on ARMv7, then
 > on ARMv6, and otherwise falls back to an ARMv5 implementation. The
 > latter uses the swp instruction, which doesn't exist on ARMv8, causing
 > a build failure.

 > To solve this, we simply add a patch that uses the ARMv7 atomic
 > operations for ARMv8-A.

 > There is no autobuilder reference because we don't have any ARMv8
 > 32-bit configuration in the autobuilders.

 > Cc: <ivychend at gmail.com>
 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>

Committed, thanks.

 > ---
 > Peter: this should go to 2017.02.x, the problem was reported on IRC by
 > ivychend who is using 2017.02.5.

I'll cherry pick it to 2017.02.x as well this weekend, thanks.

Bye, Peter Korsgaard

More information about the buildroot mailing list