[PATCH] configure: set minimum arch to i586 on --enable-runtime-cpudetection
__atomic_fecth_add(___sync_fetch_and_add) builtin requires i586 at least. --- configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 1882f208c..4b8ec235f 100755 --- a/configure +++ b/configure @@ -2291,8 +2291,8 @@ case "$host_arch" in fi else # if test "$_runtime_cpudetection" = no _mcpu="$cpuopt=generic" - # at least i486 required, for bswap instruction - _march="-march=i486" + # at least i586 required, for __atomic_fetch_add builtin + _march="-march=i586" cflag_check $_mcpu || _mcpu="$cpuopt=i686" cflag_check $_mcpu || _mcpu="" cflag_check $_march $_mcpu || _march="" -- 2.22.0
On Wed, Oct 14, 2020 at 04:35:22PM +0900, KO Myung-Hun wrote:
__atomic_fecth_add(___sync_fetch_and_add) builtin requires i586 at least.
I think that's a reasonable solution (ignoring the typo above). Feel free to commit it.
Reimar Döffinger wrote:
On Wed, Oct 14, 2020 at 04:35:22PM +0900, KO Myung-Hun wrote:
__atomic_fecth_add(___sync_fetch_and_add) builtin requires i586 at least.
I think that's a reasonable solution (ignoring the typo above). Feel free to commit it.
Committed with fix. Thanks! -- KO Myung-Hun Using Mozilla SeaMonkey 2.7.2 Under OS/2 Warp 4 for Korean with FixPak #15 In VirtualBox v6.1.10 on Intel Core i7-3615QM 2.30GHz with 8GB RAM Korean OS/2 User Community : http://www.os2.kr/
participants (2)
-
KO Myung-Hun -
Reimar Döffinger