From owner-freebsd-ports@freebsd.org Mon Sep 11 21:52:25 2017 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 8B502E01B18 for ; Mon, 11 Sep 2017 21:52:25 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [IPv6:2001:470:7a58:1::1]) (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 56683747FB for ; Mon, 11 Sep 2017 21:52:25 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from [IPv6:2001:470:7a58::185e:c436:1bd5:c85f] (unknown [IPv6:2001:470:7a58:0:185e:c436:1bd5:c85f]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 7549C3C945; Mon, 11 Sep 2017 23:52:22 +0200 (CEST) From: Dimitry Andric Message-Id: Content-Type: multipart/signed; boundary="Apple-Mail=_747A820C-9FA2-4A01-B707-4D95E2114313"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: Failed to build a port (tempus) on i386 Date: Mon, 11 Sep 2017 23:52:21 +0200 In-Reply-To: Cc: freebsd-ports@freebsd.org To: "L.Bartoletti" References: X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Sep 2017 21:52:25 -0000 --Apple-Mail=_747A820C-9FA2-4A01-B707-4D95E2114313 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 11 Sep 2017, at 22:39, L.Bartoletti = wrote: >=20 > I'm trying to port the tempus framework = on FreeBSD. All packages are nearly ready except the core for i386... >=20 > I come to you because I don't understand the difference of the logs = between i386 and amd64. I suspect some clang errors and maybe boost, but = not sure of myself. >=20 > Tempus_core requires c++11. So, I have tested with c++11-lang and = c++11-lib without success. As far as I can see from the logs, your program still needs to add -std=3Dc++11 (or -std=3Dgnu++11) to its compilation flags. Either the program's configure or cmake scripts should do this, or you could use USE_CXXSTD=3Dc++11. > I find a (dirty) solution for 10amd64: force the compiler to be = clang40. Unfortunately, it doesn't work on i386... Not sure why that would be needed. You should be able to compile C++11 code on 10.x just fine. > All my tests are on my gitlab = , = containing ports and logs. These logs contain errors caused by -std=3Dc++11 missing from the compilation flags. Add that flag to get rid of them. -Dimitry --Apple-Mail=_747A820C-9FA2-4A01-B707-4D95E2114313 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.1 iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCWbcFlQAKCRCwXqMKLiCW o2hhAJkBpKiw4tBMxCsCsKRnyBU8SNXufACg516ALxvkvUKTCMcjAj9cmVU/G/Q= =Omy5 -----END PGP SIGNATURE----- --Apple-Mail=_747A820C-9FA2-4A01-B707-4D95E2114313--