Dominique Fober <fo...@grame.fr> writes:

> I’m compiling a program using gcc 6 and I try to link with llvm 5.0 libraries.
> Below is the detail of the installed packages.
> gcc 6.4.0-1
> gcc-libs 6.4.0-1
> mingw-w64-x86_64-llvm 5.0.0-3

Any reason for using gcc/gcc-libs version 6.4? The binaries on the LLVM
package almost certainly are compiled with gcc 7.x. In general, when
working with C++ it is not good idea to mix binaries compiled with
different versions of gcc.

> I get a lot of errors (see an excerpt below) at link time, almost all
> of them are related to undefined references to std::__cxx11:: symbols.
> Any idea about what’s wrong ?

Try with gcc 7.x and see if the errors go away. Failing this, show the
full link command.


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Msys2-users mailing list
Msys2-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/msys2-users

Reply via email to