From owner-freebsd-ports@FreeBSD.ORG Tue Mar 10 08:05:56 2015 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D3C8536E for ; Tue, 10 Mar 2015 08:05:56 +0000 (UTC) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (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 8ED64F4A for ; Tue, 10 Mar 2015 08:05:56 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7::8da3:c8a7:e5cf:aeb5] (unknown [IPv6:2001:7b8:3a7:0:8da3:c8a7:e5cf:aeb5]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 108175C48; Tue, 10 Mar 2015 09:05:53 +0100 (CET) Subject: Re: graphics/freeglut build fail Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) Content-Type: multipart/signed; boundary="Apple-Mail=_092C7F5C-DF7D-46B1-AC12-6E33028FC7E4"; protocol="application/pgp-signature"; micalg=pgp-sha1 X-Pgp-Agent: GPGMail 2.5b5 From: Dimitry Andric In-Reply-To: <20150309204852.24553054@rsbsd.rsb> Date: Tue, 10 Mar 2015 09:05:48 +0100 Message-Id: <5259A5B5-6497-4E4A-9DBC-7D7637F521D7@FreeBSD.org> References: <20150219104534.5fb8b9b0@rsbsd.rsb> <20150220091220.57374e6b@rsbsd.rsb> <20150309204852.24553054@rsbsd.rsb> To: "Raif S. Berent" X-Mailer: Apple Mail (2.2070.6) Cc: freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Mar 2015 08:05:56 -0000 --Apple-Mail=_092C7F5C-DF7D-46B1-AC12-6E33028FC7E4 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 09 Mar 2015, at 19:48, Raif S. Berent wrote: >=20 > I would not give this problem a second thought, since 40 to 50 ports = regularly break during poudriere runs. The exception for this port is = that many downstream ports (>370 for me) depend on it. Then, a "# make = package" from host gets accepted by the poudriere queue. >=20 > ccache has no relevance to the problem, and building with GCC works. = Can we place a conditional in the Makefile {if version > trillion ; use = GCC}? > I know, I suck at coding. I'm gonna get there some day... >=20 > poudriere build log: > = https://drive.google.com/file/d/0Bxs_eepbMt6qMVp0aGFZUklmTW8/view?usp=3Dsh= aring >=20 >> I got the port to build with USE_GCC=3DANY. >> poudriere accepted (did not delete) the binary created by host so the >> full build now continues :)) It builds just fine for me with clang, so it must be something in your environment. In my case, it does not add -lm to the link command line, but still succeeds to link. So what is causing a call to sin() to be emitted in your case? You must investigate that. -Dimitry --Apple-Mail=_092C7F5C-DF7D-46B1-AC12-6E33028FC7E4 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.26 iEYEARECAAYFAlT+pd8ACgkQsF6jCi4glqNfawCg3RnycWURffF49Iu817M+zBcc TDAAnAzWIB7Z6kHb1avAMzvYZNFO7uCK =b+4D -----END PGP SIGNATURE----- --Apple-Mail=_092C7F5C-DF7D-46B1-AC12-6E33028FC7E4--