Hi, 

The problem is with  --std=c++11. I posted similar problem several years ago and kindly asked to state that asio builds with and without  cxxflags="-std=c++11" create classes with different ABI. Add  cxxflags="-std=c++11" to boost build. 

Enjoy, 
Slavek 

2016-10-03 21:27 GMT+02:00 Stanley Friesen <friesens@gdls.com>:
I managed to get the compiler options from the two builds. Other than -I
options, there are few differences. None of them directly control structure
packing. The PCL build has -fPIE (and also a matching -fPIC) and
-DBOOST_DISABLE_ASSERTS. Our compile options include -mtune=<arch> (along
with a matching -march), --std=c++11, -Dx86_64, and -g (though both have -O3
as well).

In typing this, it occurs to me the issue may be the --std=c++11. I will
test that ASAP. (I already tested the -DBOOST_DISABLE_ASSERT to no effect).




--
View this message in context: http://boost.2283326.n4.nabble.com/boost-asio-cross-library-link-issue-tp4688567p4688571.html
Sent from the Boost - Users mailing list archive at Nabble.com.
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users