Clang can't build c++ project: ubsan is missing
Dimitry Andric
dim at FreeBSD.org
Fri Feb 26 21:51:06 UTC 2016
On 26 Feb 2016, at 07:45, Yuri <yuri at rawbw.com> wrote:
> I can't update the version of one C++ port because now the base clang-34 fails to find the symbols __ubsan_ (for example __ubsan_vptr_type_cache).
> clang36 port compiler fails to find libclang_rt.san-x86_64.a
> clang38 port compiler fails to find libclang_rt.ubsan_standalone-x86_64.a
>
> What could be wrong?
It looks like you are building the port with -fsanitize=undefined, and
your clang installation(s) are missing the UBSan libraries, for some
reason. Try building your port without -fsanitize=undefined, unless you
need that for something specific, of course.
-Dimitry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20160226/0e6e7e8f/attachment.sig>
More information about the freebsd-ports
mailing list