Date: Sat, 18 Jan 2020 19:58:21 +0000 (UTC) From: "Tobias C. Berner" <tcberner@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r523494 - branches/2020Q1/lang/spidermonkey60 Message-ID: <202001181958.00IJwLZm042028@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tcberner Date: Sat Jan 18 19:58:21 2020 New Revision: 523494 URL: https://svnweb.freebsd.org/changeset/ports/523494 Log: MFH: r523492 lang/spidermonkey60: fix build on i386 Build used to fail with Unified_cpp_js_src_jsapi-tests0.o: In function `cls_testAtomicOperationsU64::run(JS::Handle<JSObject*>)': ...[_ZN27cls_testAtomicOperationsU643runEN2JS6HandleIP8JSObjectEE]+0x86): undefined reference to `__atomic_load_8' ...[_ZN27cls_testAtomicOperationsU643runEN2JS6HandleIP8JSObjectEE]+0xd0): undefined reference to `__atomic_store_8' ...[_ZN27cls_testAtomicOperationsU643runEN2JS6HandleIP8JSObjectEE]+0x111): undefined reference to `__atomic_exchange_8' ...[_ZN27cls_testAtomicOperationsU643runEN2JS6HandleIP8JSObjectEE]+0x185): undefined reference to `__atomic_compare_exchange_8' ...[_ZN27cls_testAtomicOperationsU643runEN2JS6HandleIP8JSObjectEE]+0x200): undefined reference to `__atomic_compare_exchange_8' ...[_ZN27cls_testAtomicOperationsU643runEN2JS6HandleIP8JSObjectEE]+0x268): undefined reference to `__atomic_fetch_add_8' ...[_ZN27cls_testAtomicOperationsU643runEN2JS6HandleIP8JSObjectEE]+0x2c5): undefined reference to `__atomic_fetch_sub_8' ...[_ZN27cls_testAtomicOperationsU643runEN2JS6HandleIP8JSObjectEE]+0x324): undefined reference to `__atomic_fetch_and_8' ...[_ZN27cls_testAtomicOperationsU643runEN2JS6HandleIP8JSObjectEE]+0x384): undefined reference to `__atomic_fetch_or_8' ...[_ZN27cls_testAtomicOperationsU643runEN2JS6HandleIP8JSObjectEE]+0x3e4): undefined reference to `__atomic_fetch_xor_8' Switch to using gcc on i386. Approved by: ports-secteam (blanket) Modified: branches/2020Q1/lang/spidermonkey60/Makefile Directory Properties: branches/2020Q1/ (props changed) Modified: branches/2020Q1/lang/spidermonkey60/Makefile ============================================================================== --- branches/2020Q1/lang/spidermonkey60/Makefile Sat Jan 18 19:55:56 2020 (r523493) +++ branches/2020Q1/lang/spidermonkey60/Makefile Sat Jan 18 19:58:21 2020 (r523494) @@ -52,6 +52,11 @@ CONFIGURE_ENV= HOST_CC=${CC} HOST_CXX=${CXX} CONFIGURE_TARGET=x86_64-portbld-freebsd${OSREL} .endif +.if ${ARCH} == i386 +# ld: error: undefined symbol: __atomic_load +USE_GCC= 9+ +.endif + post-install: ${RM} ${STAGEDIR}${PREFIX}/lib/libjs_static.ajs ${LN} -fs libmozjs-${SP_VER}.so ${STAGEDIR}${PREFIX}/lib/libmozjs-${SP_VER}.so.1
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202001181958.00IJwLZm042028>