[Interest] Is _GLIBCXX_USE_CXX11_ABI=0 defined in pre-build versions of Qt?

Oleksiy Balabay oleksiy.balabay at gmail.com
Thu Jun 22 12:58:19 CEST 2017


Dear All,

Moderator from forum.qt.io recommended to ask the question here:

Gcc ABI was significantly changed between 4.x and 5.x. If you try to 
link application with third-party library that was compiled with an 
older version of GCC then you get linker errors about undefined 
references to symbols that involve types in the std::__cxx11 namespace. 
The problem is related to 
https://gcc.gnu.org/onlinedocs/libstdc++/manual/using_dual_abi.html

But the same Qt pre-build binary distribution from the official site for 
Linux links correctly with gcc 5.x and gcc 4.x.

How to get the same result with other 3rd-party libraries? How the 
problem of different gcc ABI is resolved? Is _GLIBCXX_USE_CXX11_ABI=0 
defined for Qt pre-build version that is available to download?

Thanks,

Alex

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20170622/140d3cfc/attachment.html>


More information about the Interest mailing list