blubee blubeeme via llvm-dev
2018-Aug-24 15:30 UTC
[llvm-dev] -debugger-tune=gdb compilation fail
I've recently started running into problems with a port that passes option "-plugin-opt=-debugger-tune=gdb" to the linker which cause compilation to fail, as you can see from this error below: Run Build Command:"/usr/local/bin/gmake" "cmTC_799f7/fast" gmake[1]: Entering directory '.build/CMakeTmp/CMakeFiles/CMakeTmp' /usr/local/bin/gmake -f CMakeFiles/cmTC_799f7.dir/build.make CMakeFiles/cmTC_799f7.dir/build gmake[2]: Entering directory '.build/CMakeTmp/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_799f7.dir/report_hostname.c.o /usr/bin/cc -DHAVE_UNISTD_H -pipe -fno-strict-aliasing -fno-common -fexceptions -std=gnu99 -m64 -g -ggdb3 -Qunused-arguments -O3 -march=native -finline-functions -flto -fno-omit-frame-pointer -fPIE -o CMakeFiles/cmTC_799f7.dir/report_hostname.c.o -c .build/CMakeTmp/report_hostname.c Linking C executable cmTC_799f7 /usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_799f7.dir/link.txt --verbose=1 /usr/bin/cc -pipe -fno-strict-aliasing -fno-common -fexceptions -std=gnu99 -m64 -g -ggdb3 -Qunused-arguments -O3 -march=native -finline-functions -flto -fno-omit-frame-pointer CMakeFiles/cmTC_799f7.dir/report_hostname.c.o -o cmTC_799f7 /usr/bin/ld: error: --plugin-opt: unknown option: -debugger-tune=gdb cc: error: linker command failed with exit code 1 (use -v to see invocation) gmake[2]: *** [CMakeFiles/cmTC_799f7.dir/build.make:98: cmTC_799f7] Error 1 I saw this issue that was abandoned. https://reviews.llvm.org/D42687 Has this issue moved forward, is there any ways to get around this issue when linking? Best, Owen -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180824/33c88ae5/attachment.html>