sys-libs/db: compile-fix by dropping mutex=ARM/gcc-assembly
authorRobin H. Johnson <robbat2@gentoo.org>
Wed, 8 May 2019 21:19:50 +0000 (14:19 -0700)
committerRobin H. Johnson <robbat2@gentoo.org>
Wed, 8 May 2019 21:24:42 +0000 (14:24 -0700)
commitc8762844e2a26ab7ed62a161195106652675828b
treea148f1ced86f710d50db45b64b55a7bc18121b21
parentb315599362a6b912211fc3cd2faa7c2aa160d17a
sys-libs/db: compile-fix by dropping mutex=ARM/gcc-assembly

This is a compile-fix so that old versions build on newer ARM hardware.

The ARM assembly code does not work on newer hardware
so you CANNOT use --with-mutex=ARM/gcc-assembly anymore.

Specifically, it uses the SWPB op, which was deprecated [1]
The SWPB op ALSO cannot be used in ARM-Thumb mode.

>=sys-libs/db-6.1 uses LDREX instead, but that fix CANNOT be backported
due differing licenses in the new versions (the new version is AGPL).

Trust the compiler instead for older sys-libs/db versions, and just drop
--with-mutex=ARM/gcc-assembly from the configure.

[1] http://www.keil.com/support/man/docs/armasm/armasm_dom1361289909499.htm

Fixes: https://bugs.gentoo.org/555740
Reported-By: Christohper Harrington <ironiridis@gmail.com>
Reported-By: Luke-Jr <luke-jr@utopios.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
sys-libs/db/db-4.7.25_p4.ebuild
sys-libs/db/db-4.8.30-r2.ebuild
sys-libs/db/db-5.1.29-r1.ebuild
sys-libs/db/db-5.3.28-r2.ebuild
sys-libs/db/db-5.3.28-r3.ebuild
sys-libs/db/db-6.0.35-r1.ebuild
sys-libs/db/db-6.0.35.ebuild