[Buildroot] [PATCH] mesa3d: fix build with gcc <= 4.7 on some architectures
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Tue May 8 13:01:17 UTC 2018
Hello,
On Mon, 7 May 2018 13:50:36 +0200, Thomas Petazzoni wrote:
> The configure.ac check for atomic intrinsics assumes that if an atomic
> intrinsic is not available, it's because we must link with
> libatomic. Except that libatomic is not always available, for example
> with gcc <= 4.7.
>
> To fix this, this commit adds a patch that reworks the atomic check in
> configure.ac. It has been submitted upstream, and tested in a number
> of different combinations.
>
> Fixes:
>
> http://autobuild.buildroot.net/results/b045488d880a4013ed82937e7115b7636867e01d/
>
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
> ---
> .../0003-configure.ac-rework-latomic-check.patch | 124 +++++++++++++++++++++
> 1 file changed, 124 insertions(+)
> create mode 100644 package/mesa3d/0003-configure.ac-rework-latomic-check.patch
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com
More information about the buildroot
mailing list