-
Hello. I build Trilinos with these options:
And I'm building Xyce with these options:
And finally the compilation succeeds, but there are some linker errors:
Would you please give me a hint what to do? For the recors, Trilinos was build with gcc9, but Xyce with clang. Could this be a problem? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Yes, building C++ libraries with gcc and then trying to link them with programs compiled with clang can be a serious problem due to ABI differences. It is generally not a problem with C libraries, but C++ is different. Please try recompiling trilinos with clang instead, and see if the problem is resolved. |
Beta Was this translation helpful? Give feedback.
Yes, building C++ libraries with gcc and then trying to link them with programs compiled with clang can be a serious problem due to ABI differences. It is generally not a problem with C libraries, but C++ is different.
Please try recompiling trilinos with clang instead, and see if the problem is resolved.