Date: Mon, 11 Sep 2017 23:52:21 +0200 From: Dimitry Andric <dim@FreeBSD.org> To: "L.Bartoletti" <lbartoletti@tuxfamily.org> Cc: freebsd-ports@freebsd.org Subject: Re: Failed to build a port (tempus) on i386 Message-ID: <F1179D90-D122-4528-BD12-F1D4FD2647FB@FreeBSD.org> In-Reply-To: <e1765b3c-d5b8-8f8a-a929-d06f8b8e7d79@tuxfamily.org> References: <e1765b3c-d5b8-8f8a-a929-d06f8b8e7d79@tuxfamily.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--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 <lbartoletti@tuxfamily.org> = wrote: >=20 > I'm trying to port the tempus <https://gitlab.com/Oslandia/> 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 = <https://gitlab.com/lbartoletti/freebsd_ports/tree/master/tempus_log>, = 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F1179D90-D122-4528-BD12-F1D4FD2647FB>