From owner-freebsd-current@FreeBSD.ORG Thu Sep 5 07:06:01 2013 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 97531143; Thu, 5 Sep 2013 07:06:01 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 37FE72071; Thu, 5 Sep 2013 07:06:01 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7::10b6:d0cf:8cf8:8c8e] (unknown [IPv6:2001:7b8:3a7:0:10b6:d0cf:8cf8:8c8e]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 524275C44; Thu, 5 Sep 2013 09:05:53 +0200 (CEST) Content-Type: multipart/signed; boundary="Apple-Mail=_3B3E9C8E-CC79-476D-904B-991DEEE22342"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Subject: Re: clang+libc++ using missing powl From: Dimitry Andric In-Reply-To: <20130904223842.GB82066@ithaqua.etoilebsd.net> Date: Thu, 5 Sep 2013 09:05:45 +0200 Message-Id: <010BAA30-EFD0-4B5C-AC94-908130533741@FreeBSD.org> References: <20130904223842.GB82066@ithaqua.etoilebsd.net> To: Baptiste Daroussin X-Mailer: Apple Mail (2.1508) Cc: current@FreeBSD.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Sep 2013 07:06:01 -0000 --Apple-Mail=_3B3E9C8E-CC79-476D-904B-991DEEE22342 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On Sep 5, 2013, at 00:38, Baptiste Daroussin wrote: > I'm running exp-run to build the whole ports tree with clang using = libc++ by > default. >=20 > As a result we have a lot of fallouts of ports complaining about: > undefined reference to `powl' >=20 > It seems like libc++ is relying on a function we don't have yet in = libm, am I > missing something? Do you have a concrete example of a port that gives this result? We do have powl these days, but maybe some configure script is trying to be smart and does not pass -lm to the linker flags... -Dimitry --Apple-Mail=_3B3E9C8E-CC79-476D-904B-991DEEE22342 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.20 (Darwin) iEYEARECAAYFAlIoLVAACgkQsF6jCi4glqMH3ACgt5SQAeF3O5Xk9yb/3zJB5CJT RCEAn07AyweE15jykE5bwvMePiEaJcmn =7+LA -----END PGP SIGNATURE----- --Apple-Mail=_3B3E9C8E-CC79-476D-904B-991DEEE22342--