libftdi Archives

Subject: Re: Build error in make 'all' for libfdti v1.2 on GCC v5.2.0

From: Rob MacKinnon <rob.mackinnon@xxxxxxxxx>
To: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Cc: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Thu, 5 Nov 2015 11:25:06 -0800

Thomas,

Thanks for the reply.  I'll do some testing on my end on additional boost libraries, but I would think the boost library tests would fail on lower versions of GCC also if that was the problem, unless the issue is an upstream boost problem (which could also be the case).  Seems strange that they would succeed on 4.9.3 (and by your test 5.1.1) and fail only on GCC 5.2.0.  I'll do some more research and see if there are some open issues for boost and GCC 5.2.0.

Cheers,
--Rob

On Nov 5, 2015 08:59, "Thomas Jarosch" <thomas.jarosch@xxxxxxxxxxxxx> wrote:
Hi Rob,

On Tuesday, 27. October 2015 17:11:50 Rob MacKinnon wrote:
> Just attempted to compile and install v1.2 on GCC v5.2.0 and received at
> the end of a make all. I ran it again under GCC v4.9.3 and it builds
> clean.  Then ran it a couple more times under v5.2.0 to make sure I could
> reproduce.  Same error only under v5.2.0 multiple times.
>
> ..
>
> basic.cpp:(.text.startup+0xac): undefined reference to
> `boost::unit_test::ut_detail::normalize_test_case_name[abi:cxx11](boost::u
> nit_test::basic_cstring<char const>)'
> CMakeFiles/test_libftdi1.dir/baudrate.cpp.o: In function
> `boost::unit_test::make_test_case(boost::unit_test::callback0<boost::unit_
> test::ut_detail::unused> const&, boost::unit_test::basic_cstring<char
> const>)':

the error somehow seems to be related to boost unit test.
It compiles fine for me with gcc 5.1.1 from Fedora 22,
so you have to investigate on your end.

Cheers,
Thomas



libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx


Current Thread