[Kea-users] Build requirements doc

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Kea-users] Build requirements doc

Mike

Are there plans to bring the Build Requirements document up to date with
the 1.2 version?

Specifically, this page:
https://jenkins.isc.org/job/Kea_doc/guide/kea-guide.html#build-requirements

More specifically, this section:

A C++ compiler and standard development headers. Kea 1.1.0 builds have
been tested with GCC g++ 4.2.1, 4.4.7, 4.6.3, 4.8.3, 4.8.4, 4.8.5,
5.4.0; Clang++ 3.4.1; and Apple Clang++ 703.0.31.


Output of Kea 1.2 configure under OpenBSD 6.1 and Current (amd64):

checking std::unique_ptr support... no
configure: WARNING: unsupported C++11 feature
configure: retrying by adding --std=c++11 to g++
checking --std=c++11 support... no
configure: WARNING: unsupported C++11 feature
configure: retrying by adding --std=c++0x to g++ --std=c++11
checking --std=c++0x support... no
configure: WARNING: unsupported C++11 feature
configure: retrying by adding --std=c++1x to g++ --std=c++0x
checking --std=c++1x support... no
configure: error: std::unique_ptr (a C++11 feature) is not supported


# gcc -v
Reading specs from /usr/lib/gcc-lib/amd64-unknown-openbsd6.1/4.2.1/specs
Target: amd64-unknown-openbsd6.1
Configured with: OpenBSD/amd64 system compiler
Thread model: posix
gcc version 4.2.1 20070719
_______________________________________________
Kea-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/kea-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Kea-users] Build requirements doc

Tomek Mrugalski
W dniu 28.06.2017 o 17:13, Mike pisze:
> Are there plans to bring the Build Requirements document up to date with
> the 1.2 version?
Yes, we have missed that part of the guide. Kea 1.2 and following
requires a compiler that is able to compile C++11. Can you submit a
ticket for it at kea.isc.org?

Thanks,
Tomek Mrugalski
ISC
_______________________________________________
Kea-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/kea-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Kea-users] Build requirements doc

Mike
On 6/28/2017 12:51 PM, Tomek Mrugalski wrote:
> W dniu 28.06.2017 o 17:13, Mike pisze:
>> Are there plans to bring the Build Requirements document up to date with
>> the 1.2 version?
> Yes, we have missed that part of the guide. Kea 1.2 and following
> requires a compiler that is able to compile C++11. Can you submit a
> ticket for it at kea.isc.org?

OK, later this afternoon.

Thanks!
_______________________________________________
Kea-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/kea-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Kea-users] Build requirements doc

Patrik Lundin
In reply to this post by Mike
Hello,

On Wed, Jun 28, 2017 at 11:13:21AM -0400, Mike wrote:
>
> Output of Kea 1.2 configure under OpenBSD 6.1 and Current (amd64):
>
[...]
> configure: error: std::unique_ptr (a C++11 feature) is not supported
>
> # gcc -v
> Reading specs from /usr/lib/gcc-lib/amd64-unknown-openbsd6.1/4.2.1/specs
> Target: amd64-unknown-openbsd6.1
> Configured with: OpenBSD/amd64 system compiler
> Thread model: posix
> gcc version 4.2.1 20070719

Just an FYI: I am currently working on updating the kea port in OpenBSD
to 1.2.0. Right now I have a build that succeeds by selecting clang as
the compiler (see COMPILER at http://man.openbsd.org/bsd.port.mk if you
are interested).

I will return back with a longer report once I have ironed out the
remaining bits.

--
Patrik Lundin
_______________________________________________
Kea-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/kea-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Kea-users] Build requirements doc

Francis Dupont
I am pretty closed to recommend clang (vs gcc). Note in your case it is a
bit unfair because of the pretty old gcc version...
C++ runtime libraries are another question: clearly standard g++
runtime library is not good (even the Microsoft one is far better :-).

Thanks

Francis Dupont <[hidden email]> (user of BSDs since eighties...)
Patrik Lundin writes:

> Hello,
>
> On Wed, Jun 28, 2017 at 11:13:21AM -0400, Mike wrote:
> >
> > Output of Kea 1.2 configure under OpenBSD 6.1 and Current (amd64):
> >
> [...]
> > configure: error: std::unique_ptr (a C++11 feature) is not supported
> >
> > # gcc -v
> > Reading specs from /usr/lib/gcc-lib/amd64-unknown-openbsd6.1/4.2.1/specs
> > Target: amd64-unknown-openbsd6.1
> > Configured with: OpenBSD/amd64 system compiler
> > Thread model: posix
> > gcc version 4.2.1 20070719
>
> Just an FYI: I am currently working on updating the kea port in OpenBSD
> to 1.2.0. Right now I have a build that succeeds by selecting clang as
> the compiler (see COMPILER at http://man.openbsd.org/bsd.port.mk if you
> are interested).
>
> I will return back with a longer report once I have ironed out the
> remaining bits.
>
> --
> Patrik Lundin
> _______________________________________________
> Kea-users mailing list
> [hidden email]
> https://lists.isc.org/mailman/listinfo/kea-users
_______________________________________________
Kea-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/kea-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Kea-users] Build requirements doc

Patrik Lundin
On Sun, Jul 02, 2017 at 06:37:40PM +0000, Francis Dupont wrote:
>
> I am pretty closed to recommend clang (vs gcc).
>

Sorry if this question is stupid, but does this mean you prefer clang or
gcc for building kea? I am not sure how to interpret "closed" in this
context :).

--
Patrik Lundin
_______________________________________________
Kea-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/kea-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Kea-users] Build requirements doc

Mike
In reply to this post by Patrik Lundin
On 7/2/2017 12:48 PM, Patrik Lundin wrote:

> Hello,
>
> On Wed, Jun 28, 2017 at 11:13:21AM -0400, Mike wrote:
>>
>> Output of Kea 1.2 configure under OpenBSD 6.1 and Current (amd64):
>>
> [...]
>> configure: error: std::unique_ptr (a C++11 feature) is not supported
>>
>> # gcc -v
>> Reading specs from /usr/lib/gcc-lib/amd64-unknown-openbsd6.1/4.2.1/specs
>> Target: amd64-unknown-openbsd6.1
>> Configured with: OpenBSD/amd64 system compiler
>> Thread model: posix
>> gcc version 4.2.1 20070719
>
> Just an FYI: I am currently working on updating the kea port in OpenBSD
> to 1.2.0. Right now I have a build that succeeds by selecting clang as
> the compiler (see COMPILER at http://man.openbsd.org/bsd.port.mk if you
> are interested).
>
> I will return back with a longer report once I have ironed out the
> remaining bits.
>

Thanks.  I've been playing with clang since I found the issue with gcc.
The compile went fine, but I've been stumped at the linker stage, and I
didn't had the time to post a question about it last week.

But if you're doing your usual excellent work on the port, I'll wait.  :)


Thanks!

(if there's anything I can do to help {beta testing?}, please let me know.)
_______________________________________________
Kea-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/kea-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Kea-users] Build requirements doc

Francis Dupont
In reply to this post by Patrik Lundin
I meant that each time I had a choice between clang and gcc these last
years clang was better.

Regards

Francis Dupont <[hidden email]>
_______________________________________________
Kea-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/kea-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Kea-users] Build requirements doc

Patrik Lundin
In reply to this post by Mike
On Sun, Jul 02, 2017 at 04:30:48PM -0400, Mike wrote:
>
> But if you're doing your usual excellent work on the port, I'll wait.  :)
>
>
> Thanks!
>
> (if there's anything I can do to help {beta testing?}, please let me know.)
>

Thank you! I appreciate both the positive feedback as well as the
volunteering to test :).

I have now sent a more detailed report to kea-dev.

--
Patrik Lundin
_______________________________________________
Kea-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/kea-users
Loading...