Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Sep 2017 15:40:13 +0200
From:      "L.Bartoletti" <lbartoletti@tuxfamily.org>
To:        Dimitry Andric <dim@FreeBSD.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Failed to build a port (tempus) on i386 (Boost problems?)
Message-ID:  <a852bc94-f6b7-61da-79a5-456b717918d0@tuxfamily.org>
In-Reply-To: <F1179D90-D122-4528-BD12-F1D4FD2647FB@FreeBSD.org>
References:  <e1765b3c-d5b8-8f8a-a929-d06f8b8e7d79@tuxfamily.org> <F1179D90-D122-4528-BD12-F1D4FD2647FB@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Dimitry,

Unfortunately, It can't compile with USE_CXXSTD or when force CMake to 
use c++11.

Maybe a bug with boost?

Anyway, according with the developer using this tools on i386 can be 
problematic.

Regards.

On 11.09.2017 23:52, Dimitry Andric wrote:
> On 11 Sep 2017, at 22:39, L.Bartoletti <lbartoletti@tuxfamily.org> wrote:
>> I'm trying to port the tempus <https://gitlab.com/Oslandia/>; framework on FreeBSD. All packages are nearly ready except the core for i386...
>>
>> 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.
>>
>> 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=c++11 (or -std=gnu++11) to its compilation flags.  Either the
> program's configure or cmake scripts should do this, or you could use
> USE_CXXSTD=c++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=c++11 missing from the
> compilation flags.  Add that flag to get rid of them.
>
> -Dimitry
>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a852bc94-f6b7-61da-79a5-456b717918d0>