NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
port-macppc/53380: undefined reference to `__atomic_fetch_add_8'
>Number: 53380
>Category: port-macppc
>Synopsis: undefined reference to `__atomic_fetch_add_8'
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: port-macppc-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Jun 17 18:50:00 +0000 2018
>Originator: Sevan Janiyan
>Release: pkgsrc-current
>Organization:
>Environment:
NetBSD 8.0_RC1 macppc powerpc
>Description:
Attempting to build spidermonkey on NetBSD/macppc, the build fails with undefined reference to `__atomic_fetch_add_8'
/var/tmp/pbulk/lang/spidermonkey52/work/mozjs-52.7.4/_virtualenv/bin/python /var/tmp/pbulk/lang/spidermonkey52/work/mozjs-52.7.4/config/expandlibs_exec.py --uselist -- /var/tmp/pbulk/lang/spidermonkey52/work/.cwrapper/bin/c++ -std=gnu++11 -I/usr/pkg/include/nspr -I/usr/include -I/usr/pkg/include -Wall -Wc++11-compat -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wwrite-strings -Wno-invalid-offsetof -Wc++14-compat -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -fno-lifetime-dse -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include/nspr -I/usr/include -I/usr/pkg/include -mcpu=powerpc -Dunix -fno-rtti -fno-exceptions -fno-math-errno -pthread -pipe -I/usr/pkg/include -g -O -fomit-frame-pointer -fPIC -DPIC -shared -Wl,-z,defs -o libmozjs-52.so RegExp.o Parser.o StoreBuffer.o jsarray.o jsatom.o jsdtoa.o jsmath.o jsutil.o pm_stub.o ConditionVariable.o MutexImpl.o Thread.o Initializat
ion.o TraceLogging.o TraceLoggingGraph.o TraceLoggingTypes.o Unified_cpp_js_src0.o Unified_cpp_js_src1.o Unified_cpp_js_src10.o Unified_cpp_js_src11.o Unified_cpp_js_src12.o Unified_cpp_js_src13.o Unified_cpp_js_src14.o Unified_cpp_js_src15.o Unified_cpp_js_src16.o Unified_cpp_js_src17.o Unified_cpp_js_src18.o Unified_cpp_js_src19.o Unified_cpp_js_src2.o Unified_cpp_js_src20.o Unified_cpp_js_src21.o Unified_cpp_js_src22.o Unified_cpp_js_src23.o Unified_cpp_js_src24.o Unified_cpp_js_src25.o Unified_cpp_js_src26.o Unified_cpp_js_src27.o Unified_cpp_js_src28.o Unified_cpp_js_src29.o Unified_cpp_js_src3.o Unified_cpp_js_src30.o Unified_cpp_js_src31.o Unified_cpp_js_src32.o Unified_cpp_js_src33.o Unified_cpp_js_src34.o Unified_cpp_js_src35.o Unified_cpp_js_src36.o Unified_cpp_js_src37.o Unified_cpp_js_src4.o Unified_cpp_js_src5.o Unified_cpp_js_src6.o Unified_cpp_js_src7.o Unified_cpp_js_src8.o Unified_cpp_js_src9.o -lpthread -L/usr/pkg/lib/nspr -Wl,-R/usr/pkg/lib/nspr -L/usr/lib -Wl,-
R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id -Wl,-z,wxneeded -Wl,-rpath-link,/var/tmp/pbulk/lang/spidermonkey52/work/mozjs-52.7.4/js/src/dist/bin -Wl,-rpath-link,/usr/pkg/lib ../../modules/fdlibm/src/libmodules_fdlibm_src.a ../../mozglue/build/libmozglue.a ../../config/external/icu/libicu.a ../../config/external/nspr/libnspr.a ../../config/external/zlib/libzlib.a -lm -L/usr/pkg/lib -licui18n -Wl,-R/usr/pkg/lib -licuuc -licudata -Wl,-R/usr/pkg/lib/nspr -L/usr/pkg/lib/nspr -lplds4 -lplc4 -lnspr4 -L/usr/lib -pthread -lz -lm
Executing: ../../../../../.cwrapper/bin/c++ -std=gnu++11 -I/usr/pkg/include/nspr -I/usr/include -I/usr/pkg/include -Wall -Wc++11-compat -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wwrite-strings -Wno-invalid-offsetof -Wc++14-compat -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -fno-lifetime-dse -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include/nspr -I/usr/include -I/usr/pkg/include -mcpu=powerpc -Dunix -fno-rtti -fno-exceptions -fno-math-errno -pthread -pipe -I/usr/pkg/include -g -O -fomit-frame-pointer -fPIC -DPIC -shared -Wl,-z,defs -o libmozjs-52.so /var/tmp/pbulk/lang/spidermonkey52/work/mozjs-52.7.4/js/src/js/src/tmp8JShZH.list -lpthread -L/usr/pkg/lib/nspr -Wl,-R/usr/pkg/lib/nspr -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id -Wl,-z,wxneeded -Wl,-rpath-link,/var/tmp/pbulk/lang/spidermonkey52/work/mozjs-52.7.4
/js/src/dist/bin -Wl,-rpath-link,/usr/pkg/lib -lm -L/usr/pkg/lib -licui18n -Wl,-R/usr/pkg/lib -licuuc -licudata -Wl,-R/usr/pkg/lib/nspr -L/usr/pkg/lib/nspr -lplds4 -lplc4 -lnspr4 -L/usr/lib -pthread -lz -lm
/var/tmp/pbulk/lang/spidermonkey52/work/mozjs-52.7.4/js/src/js/src/tmp8JShZH.list:
INPUT("RegExp.o")
INPUT("Parser.o")
INPUT("StoreBuffer.o")
INPUT("jsarray.o")
INPUT("jsatom.o")
INPUT("jsdtoa.o")
INPUT("jsmath.o")
INPUT("jsutil.o")
INPUT("pm_stub.o")
INPUT("ConditionVariable.o")
INPUT("MutexImpl.o")
INPUT("Thread.o")
INPUT("Initialization.o")
INPUT("TraceLogging.o")
INPUT("TraceLoggingGraph.o")
INPUT("TraceLoggingTypes.o")
INPUT("Unified_cpp_js_src0.o")
INPUT("Unified_cpp_js_src1.o")
INPUT("Unified_cpp_js_src10.o")
INPUT("Unified_cpp_js_src11.o")
INPUT("Unified_cpp_js_src12.o")
INPUT("Unified_cpp_js_src13.o")
INPUT("Unified_cpp_js_src14.o")
INPUT("Unified_cpp_js_src15.o")
INPUT("Unified_cpp_js_src16.o")
INPUT("Unified_cpp_js_src17.o")
INPUT("Unified_cpp_js_src18.o")
INPUT("Unified_cpp_js_src19.o")
INPUT("Unified_cpp_js_src2.o")
INPUT("Unified_cpp_js_src20.o")
INPUT("Unified_cpp_js_src21.o")
INPUT("Unified_cpp_js_src22.o")
INPUT("Unified_cpp_js_src23.o")
INPUT("Unified_cpp_js_src24.o")
INPUT("Unified_cpp_js_src25.o")
INPUT("Unified_cpp_js_src26.o")
INPUT("Unified_cpp_js_src27.o")
INPUT("Unified_cpp_js_src28.o")
INPUT("Unified_cpp_js_src29.o")
INPUT("Unified_cpp_js_src3.o")
INPUT("Unified_cpp_js_src30.o")
INPUT("Unified_cpp_js_src31.o")
INPUT("Unified_cpp_js_src32.o")
INPUT("Unified_cpp_js_src33.o")
INPUT("Unified_cpp_js_src34.o")
INPUT("Unified_cpp_js_src35.o")
INPUT("Unified_cpp_js_src36.o")
INPUT("Unified_cpp_js_src37.o")
INPUT("Unified_cpp_js_src4.o")
INPUT("Unified_cpp_js_src5.o")
INPUT("Unified_cpp_js_src6.o")
INPUT("Unified_cpp_js_src7.o")
INPUT("Unified_cpp_js_src8.o")
INPUT("Unified_cpp_js_src9.o")
INPUT("../../modules/fdlibm/src/e_acos.o")
INPUT("../../modules/fdlibm/src/e_acosh.o")
INPUT("../../modules/fdlibm/src/e_asin.o")
INPUT("../../modules/fdlibm/src/e_atan2.o")
INPUT("../../modules/fdlibm/src/e_atanh.o")
INPUT("../../modules/fdlibm/src/e_cosh.o")
INPUT("../../modules/fdlibm/src/e_exp.o")
INPUT("../../modules/fdlibm/src/e_hypot.o")
INPUT("../../modules/fdlibm/src/e_log.o")
INPUT("../../modules/fdlibm/src/e_log10.o")
INPUT("../../modules/fdlibm/src/e_log2.o")
INPUT("../../modules/fdlibm/src/e_pow.o")
INPUT("../../modules/fdlibm/src/e_sinh.o")
INPUT("../../modules/fdlibm/src/e_sqrt.o")
INPUT("../../modules/fdlibm/src/k_exp.o")
INPUT("../../modules/fdlibm/src/s_asinh.o")
INPUT("../../modules/fdlibm/src/s_atan.o")
INPUT("../../modules/fdlibm/src/s_cbrt.o")
INPUT("../../modules/fdlibm/src/s_ceil.o")
INPUT("../../modules/fdlibm/src/s_ceilf.o")
INPUT("../../modules/fdlibm/src/s_copysign.o")
INPUT("../../modules/fdlibm/src/s_expm1.o")
INPUT("../../modules/fdlibm/src/s_fabs.o")
INPUT("../../modules/fdlibm/src/s_floor.o")
INPUT("../../modules/fdlibm/src/s_floorf.o")
INPUT("../../modules/fdlibm/src/s_log1p.o")
INPUT("../../modules/fdlibm/src/s_nearbyint.o")
INPUT("../../modules/fdlibm/src/s_rint.o")
INPUT("../../modules/fdlibm/src/s_rintf.o")
INPUT("../../modules/fdlibm/src/s_scalbn.o")
INPUT("../../modules/fdlibm/src/s_tanh.o")
INPUT("../../modules/fdlibm/src/s_trunc.o")
INPUT("../../modules/fdlibm/src/s_truncf.o")
INPUT("../../memory/mozalloc/Unified_cpp_memory_mozalloc0.o")
INPUT("../../mozglue/misc/StackWalk.o")
INPUT("../../mozglue/misc/TimeStamp.o")
INPUT("../../mozglue/misc/TimeStamp_posix.o")
INPUT("../../mfbt/Compression.o")
INPUT("../../mfbt/Decimal.o")
INPUT("../../mfbt/Unified_cpp_mfbt0.o")
INPUT("../../mfbt/Unified_cpp_mfbt1.o")
ld: warning: -z wxneeded ignored.
Unified_cpp_js_src1.o: In function `std::__atomic_base<unsigned long long>::fetch_add(unsigned long long, std::memory_order)':
/usr/include/g++/bits/atomic_base.h:514: undefined reference to `__atomic_fetch_add_8'
Unified_cpp_js_src20.o: In function `std::__atomic_base<unsigned long long>::fetch_add(unsigned long long, std::memory_order)':
/usr/include/g++/bits/atomic_base.h:514: undefined reference to `__atomic_fetch_add_8'
/var/tmp/pbulk/lang/spidermonkey52/work/mozjs-52.7.4/config/rules.mk:800: recipe for target 'libmozjs-52.so' failed
>How-To-Repeat:
attempt to build lang/spidermonkey52 on NetBSD/macppc
>Fix:
Home |
Main Index |
Thread Index |
Old Index