-
Notifications
You must be signed in to change notification settings - Fork 15.4k
Open
Labels
build-problemcmakeBuild system in general and CMake in particularBuild system in general and CMake in particularlibunwind
Description
[1/3] Linking C shared library lib/libunwind.so.1.0
FAILED: lib/libunwind.so.1.0
: && /usr/local/gcc-14/bin/gcc -fPIC -g -nostdlib++ -shared -Wl,-soname,libunwind.so.1 -o lib/libunwind.so.1.0 src/CMakeFiles/unwind_shared_objects.dir/libunwind.cpp.o src/CMakeFiles/unwind_shared_objects.dir/Unwind-EHABI.cpp.o src/CMakeFiles/unwind_shared_objects.dir/Unwind-seh.cpp.o src/CMakeFiles/unwind_shared_objects.dir/UnwindLevel1.c.o src/CMakeFiles/unwind_shared_objects.dir/UnwindLevel1-gcc-ext.c.o src/CMakeFiles/unwind_shared_objects.dir/Unwind-sjlj.c.o src/CMakeFiles/unwind_shared_objects.dir/Unwind-wasm.c.o && :
gcc: error: unrecognized command-line option ‘-nostdlib++’
ninja: build stopped: subcommand failed.If I delete this line, it won't throw an error anymore :
llvm-project/libunwind/src/CMakeLists.txt
Line 70 in b65aba2
| add_link_flags_if_supported(-nostdlib++) |
Related: https://bugs.gentoo.org/913968
theoparis, LunNova, Tyler-Hardin and FlyGoat
Metadata
Metadata
Assignees
Labels
build-problemcmakeBuild system in general and CMake in particularBuild system in general and CMake in particularlibunwind