Displaying 1 result from an estimated 1 matches for "xacmicha".
2015 Sep 30
2
Link statically against libc++ on Cray XC 40
...he problems but now I am stuck at the linking stage. Specifically, their CC tool tries to link everything statically, but since we built LLVM using libc++, we also need to link against libc++, which fails with the error
/usr/bin/ld: attempted static link of dynamic object `/zhome/academic/HLRS/xac/xacmicha/.pool/llvm/cur/lib/libc++.so’
Does anyone have a suggestion what I can do to make this work (link)?
Regards,
Michael
P.S.: This is the full linker command minus some (many) object files and -Wl,-rpath,library/paths:
/opt/cray/craype/2.4.1/bin/CC -O0 -g3 -fno-inline -std=c++11 -pedantic -fdi...