From owner-freebsd-current@FreeBSD.ORG Thu Sep 5 07:14:39 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 6EF794AF; Thu, 5 Sep 2013 07:14:39 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: from mail-wi0-x233.google.com (mail-wi0-x233.google.com [IPv6:2a00:1450:400c:c05::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D8AE820F9; Thu, 5 Sep 2013 07:14:38 +0000 (UTC) Received: by mail-wi0-f179.google.com with SMTP id hm2so1419552wib.0 for ; Thu, 05 Sep 2013 00:14:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=g6HZPrVpZqhZqLqT2C2f46dqmRwqrcx6+ULz7blUnCA=; b=xOINTUkIGY0GSRVP1M5WHzmAS/M/M7G5Qe7pqUavqgNLDr6fxSvNXLX6hYKpj7ZZrS C+Szjkxd/xyJsgp4HlK5Ayxa86GEXrvCMdupY0D5JCF6kNAyD/4E8y8LhschJbP5Z9dd Io78g3hslvEbyyie2kwK6stbsD0dKNsQt5GbvnnrpoepqFVpb3EfSL+N8jG8kXd/rJwD 6MpxTmYQ+rMTG6+1UwqiNgIA3ni5OwQLocmugh7kkG1vnGB6MpXJe6MnqF65puLqft87 ApNrhD86l8pz1erZ3ubCVggY/cSFd9W1EI0cAPt8eUFtWgsRl/Wsp1pMFxR5TCKMfccG 1iNQ== X-Received: by 10.180.206.9 with SMTP id lk9mr5168329wic.26.1378365276633; Thu, 05 Sep 2013 00:14:36 -0700 (PDT) Received: from ithaqua.etoilebsd.net (ithaqua.etoilebsd.net. [37.59.37.188]) by mx.google.com with ESMTPSA id b11sm3157824wik.1.1969.12.31.16.00.00 (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 05 Sep 2013 00:14:35 -0700 (PDT) Sender: Baptiste Daroussin Date: Thu, 5 Sep 2013 09:14:33 +0200 From: Baptiste Daroussin To: Dimitry Andric Subject: Re: clang+libc++ using missing powl Message-ID: <20130905071433.GK82066@ithaqua.etoilebsd.net> References: <20130904223842.GB82066@ithaqua.etoilebsd.net> <010BAA30-EFD0-4B5C-AC94-908130533741@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Ucgz5Oc/kKURWzXs" Content-Disposition: inline In-Reply-To: <010BAA30-EFD0-4B5C-AC94-908130533741@FreeBSD.org> User-Agent: Mutt/1.5.21 (2010-09-15) 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:14:39 -0000 --Ucgz5Oc/kKURWzXs Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Sep 05, 2013 at 09:05:45AM +0200, Dimitry Andric wrote: > 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? >=20 >=20 > 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... >=20 > -Dimitry >=20 http://pb2.nyi.freebsd.org/bulk/nogcc-default/2013-09-04_18h36m06s/logs/err= ors/domc-0.8.0_1.log I tried adding -lm to the linker and it failed, when was powl added? Here is another example: http://pb2.nyi.freebsd.org/bulk/nogcc-default/2013-09-04_18h36m06s/logs/err= ors/iverilog-0.9.6.log regards, Bapt --Ucgz5Oc/kKURWzXs Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlIoL1kACgkQ8kTtMUmk6Ex14QCfR8vMV3OxhVyGkfcw1IPQ3KqV Q5AAn1UPsKinL/fdEYu15F5wmVYeNP8V =ypRc -----END PGP SIGNATURE----- --Ucgz5Oc/kKURWzXs--