2,852
社区成员




如果在运行我的DSP应用程序时看到以下错误,Fatal: Current link configuration does not support relocation type `R_HEX_32_6_X' for symbol `_ZSt4clog' referred from C:/Qualcomm/Hexagon_Tools/8.3.04/Tools/target/hexagon/lib/v66/G0/libstdc++.a(iostream.o)[.text] , recompile with -fPIC hexagon-clang.exe: error: hexagon-link command failed with exit code 1 (use -v to see invocation),该怎么办?
如果 libstdc++ 与编译为共享对象的用户库静态链接,则会出现此错误。 位于 pic 文件夹中的库 libstdc++ 必须与用户共享对象链接。 例如,libstdc++ 将从目录 %DEFAULT_HEXAGON_TOOLS_ROOT%/Tools/target/hexagon/lib/v66/G0/pic 中选取。