[Buildroot] [PATCH] qt: add patch fixing build failure on ARMv8 in 32-bit mode
peter at korsgaard.com
Thu Sep 21 10:02:38 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>
> Peter: this should go to 2017.02.x, the problem was reported on IRC by
> ivychend who is using 2017.02.5.
Committed to 2017.02.x, thanks.
Bye, Peter Korsgaard
More information about the buildroot