[Buildroot] [PATCH/next 2/2] package/mariadb: bump version to 10.3.9
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Sat Aug 25 21:39:58 UTC 2018
Hello,
On Sat, 25 Aug 2018 23:26:48 +0200, Bernd Kuhls wrote:
> In unpatched next branch the build on arc fails with
> "error atomic ops for this platform are not implemented", no cxxflags nor
> CONF_OPTS will solve that.
>
> Only when bumping to 10.3 you get past this build error just to see the
> "undefined reference to `__sync_fetch_and_add_8'" error later on.
> To solve this the changes in this patch are needed.
So it still needs some atomic intrinsics, so the package should:
depends on BR2_TOOLCHAIN_HAS_ATOMIC || BR2_TOOLCHAIN_HAS_SYNC_4
Indeed, atomic intrinsics are not always available, even when you link
with -latomic: gcc versions before gcc 4.8 did not have libatomic.
Build a SPARC gcc 4.7 toolchain, and try to build this package, you'll
be surprised :-)
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
More information about the buildroot
mailing list