From owner-freebsd-ports@freebsd.org Fri Feb 26 21:51:06 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1F180AB6182 for ; Fri, 26 Feb 2016 21:51:06 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 0B3321051 for ; Fri, 26 Feb 2016 21:51:06 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 095B5AB6181; Fri, 26 Feb 2016 21:51:06 +0000 (UTC) Delivered-To: ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 08C7FAB6180 for ; Fri, 26 Feb 2016 21:51:06 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [IPv6:2001:7b8:3a7:1:2d0:b7ff:fea0:8c26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tensor.andric.com", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B8A4C104E for ; Fri, 26 Feb 2016 21:51:05 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from [IPv6:2001:7b8:3a7::a98a:526b:da5e:83b5] (unknown [IPv6:2001:7b8:3a7:0:a98a:526b:da5e:83b5]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 654A235385; Fri, 26 Feb 2016 22:51:02 +0100 (CET) Subject: Re: Clang can't build c++ project: ubsan is missing Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\)) Content-Type: multipart/signed; boundary="Apple-Mail=_09C31264-2BB1-45D3-8CF1-119BDC85772D"; protocol="application/pgp-signature"; micalg=pgp-sha1 X-Pgp-Agent: GPGMail 2.6b2 (ebbf3ef) From: Dimitry Andric In-Reply-To: <56CFF471.90406@rawbw.com> Date: Fri, 26 Feb 2016 22:50:55 +0100 Cc: "ports@freebsd.org" Message-Id: <91C64BF2-9C59-478F-A3C4-3ACB2C48597E@FreeBSD.org> References: <56CFF471.90406@rawbw.com> To: Yuri X-Mailer: Apple Mail (2.3112) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Feb 2016 21:51:06 -0000 --Apple-Mail=_09C31264-2BB1-45D3-8CF1-119BDC85772D Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 26 Feb 2016, at 07:45, Yuri 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 >=20 > What could be wrong? It looks like you are building the port with -fsanitize=3Dundefined, and your clang installation(s) are missing the UBSan libraries, for some reason. Try building your port without -fsanitize=3Dundefined, unless = you need that for something specific, of course. -Dimitry --Apple-Mail=_09C31264-2BB1-45D3-8CF1-119BDC85772D Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.29 iEYEARECAAYFAlbQyMUACgkQsF6jCi4glqMm1QCfWJY26gGAL5+aNnWkJ8BgFaGJ t3sAoKrwGvDhbuIfzVjqJEahZRjvA9SF =K6mi -----END PGP SIGNATURE----- --Apple-Mail=_09C31264-2BB1-45D3-8CF1-119BDC85772D--