[MacPorts] #70286: quickjs needs to link to libatomic and legacysupport, but build system is non-trivially broken and linking fails
MacPorts
noreply at macports.org
Tue Jun 25 00:55:42 UTC 2024
#70286: quickjs needs to link to libatomic and legacysupport, but build system is
non-trivially broken and linking fails
--------------------------+---------------------
Reporter: barracuda156 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.9.3
Keywords: | Port: quickjs
--------------------------+---------------------
I spent quite some time on this, but everything fails.
Build keeps failing on:
{{{
Undefined symbols:
"___atomic_compare_exchange_8", referenced from:
_js_atomics_op in libquickjs.a(quickjs.o)
"___atomic_fetch_xor_8", referenced from:
_js_atomics_op in libquickjs.a(quickjs.o)
"___atomic_fetch_add_8", referenced from:
_js_atomics_op in libquickjs.a(quickjs.o)
"___atomic_load_8", referenced from:
_js_atomics_op in libquickjs.a(quickjs.o)
"___atomic_store_8", referenced from:
_js_atomics_store in libquickjs.a(quickjs.o)
"___atomic_fetch_sub_8", referenced from:
_js_atomics_op in libquickjs.a(quickjs.o)
"_clock_gettime", referenced from:
_js_atomics_wait in libquickjs.a(quickjs.o)
_js_os_setTimeout in libquickjs.a(quickjs-libc.o)
_js_os_poll in libquickjs.a(quickjs-libc.o)
"___atomic_fetch_or_8", referenced from:
_js_atomics_op in libquickjs.a(quickjs.o)
"___atomic_fetch_and_8", referenced from:
_js_atomics_op in libquickjs.a(quickjs.o)
"___atomic_exchange_8", referenced from:
_js_atomics_op in libquickjs.a(quickjs.o)
}}}
Issue with upstream: https://github.com/bellard/quickjs/issues/321
--
Ticket URL: <https://trac.macports.org/ticket/70286>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list