G++ new ABI problems

前端 未结 1 1992
既然无缘
既然无缘 2020-12-19 08:35

I got a problem with the new ABI introduced for C++11 in GCC. After upgrading to GCC 5.3 my project does no longer compile. The error messages I get are simple:



        
相关标签:
1条回答
  • 2020-12-19 08:58

    This error indicates that you're linking to some code or library that has not been recompiled by gcc 5.3, and was compiled by an earlier version of gcc, using the earlier version of the ABI.

    If you are linking with some external libraries, besides the standard C++ library, those external libraries need to be recompiled (and reinstalled).

    If you are not linking with any external libraries, and you are only linking together your own code, some of your source modules must not've been recompiled yet. Recompile everything. Make sure to wipe all existing object modules, with make clean, or the equivalent for whatever build system you're using.

    0 讨论(0)
提交回复
热议问题