[Bug 216745] devel/boost-libs: atomics are broken with clang 4.0 on i386
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed May 30 15:10:11 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216745
Fernando Apesteguía <fernape at FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |fernape at FreeBSD.org
--- Comment #15 from Fernando Apesteguía <fernape at FreeBSD.org> ---
Similar problem trying to build lang/ponyc on 10.4 amd64 (bug #228549)
c++ -o build/release/libponyrt.tests build/release/obj/tests/libponyrt/util.o
build/release/obj/tests/libponyrt/ds/list.o
build/release/obj/tests/libponyrt/ds/f
un.o build/release/obj/tests/libponyrt/ds/hash.o
build/release/obj/tests/libponyrt/mem/pagemap.o
build/release/obj/tests/libponyrt/mem/heap.o
build/release/obj/tests/libponyrt/mem/pool.o -march=native -mtune=generic
-mcx16 -L build/release -L /usr/local/lib -lgtest -lponyrt -lpthread -rdynamic
build/release/libponyrt.a(pool.o): In function `pool_get':
src/libponyrt/mem/pool.c:(.text+0xbb): undefined reference to
`__atomic_compare_exchange'
build/release/libponyrt.a(pool.o): In function `ponyint_pool_free':
src/libponyrt/mem/pool.c:(.text+0x221): undefined reference to
`__atomic_compare_exchange'
src/libponyrt/mem/pool.c:(.text+0x26f): undefined reference to
`__atomic_compare_exchange'
build/release/libponyrt.a(pool.o): In function `ponyint_pool_thread_cleanup':
src/libponyrt/mem/pool.c:(.text+0x7ef): undefined reference to
`__atomic_compare_exchange'
src/libponyrt/mem/pool.c:(.text+0x8c0): undefined reference to
`__atomic_compare_exchange'
build/release/libponyrt.a(pool.o):src/libponyrt/mem/pool.c:(.text+0x900): more
undefined references to `__atomic_compare_exchange' follow
c++: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[1]: *** [Makefile:771: build/release/libponyrt.tests] Error 1
gmake[1]: *** Waiting for unfinished jobs....
gmake[1]: Leaving directory '/wrkdirs/usr/ports/lang/ponyc/work/ponyc-0.21.0'
===> Compilation failed unexpectedly.
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
More information about the freebsd-office
mailing list