Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 May 2018 15:10:06 +0000
From:      bugzilla-noreply@freebsd.org
To:        office@FreeBSD.org
Subject:   [Bug 216745] devel/boost-libs: atomics are broken with clang 4.0 on i386
Message-ID:  <bug-216745-25061-2AFgdp7hyL@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-216745-25061@https.bugs.freebsd.org/bugzilla/>
References:  <bug-216745-25061@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216745

Fernando Apestegu=C3=ADa <fernape@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fernape@FreeBSD.org

--- Comment #15 from Fernando Apestegu=C3=ADa <fernape@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=3Dnative -mtune=3Dgener=
ic
-mcx16 -L build/release -L /usr/local/lib  -lgtest -lponyrt -lpthread -rdyn=
amic
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): m=
ore
undefined references to `__atomic_compare_exchange' follow
c++: error: linker command failed with exit code 1 (use -v to see invocatio=
n)
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'
=3D=3D=3D> Compilation failed unexpectedly.

--=20
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-216745-25061-2AFgdp7hyL>