Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 837639 Details for
Bug 883291
dev-util/ccache-4.7.4: clang-15 AND clang-16: error: linker command failed with exit code 1
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
CMakeError.log
CMakeError.log (text/x-log), 8.61 KB, created by
Lukas Schmelting
on 2022-11-27 12:53:44 UTC
(
hide
)
Description:
CMakeError.log
Filename:
MIME Type:
Creator:
Lukas Schmelting
Created:
2022-11-27 12:53:44 UTC
Size:
8.61 KB
patch
obsolete
>Checking whether the ASM compiler is GNU using "--version" did not match "(GNU assembler)|(GCC)|(Free Software Foundation)": >clang version 16.0.0 >Target: x86_64-gentoo-linux-musl >Thread model: posix >InstalledDir: /usr/lib/llvm/16/bin >Configuration file: /etc/clang/clang.cfg >Checking whether the ASM_MASM compiler is GNU using "--version" did not match "(GNU assembler)|(GCC)|(Free Software Foundation)": >Checking whether the ASM_MASM compiler is Clang using "--version" did not match "(clang version)": >Checking whether the ASM_MASM compiler is AppleClang using "--version" did not match "(Apple LLVM version)": >Checking whether the ASM_MASM compiler is ARMClang using "--version" did not match "armclang": >Checking whether the ASM_MASM compiler is HP using "-V" did not match "HP C": >Checking whether the ASM_MASM compiler is Intel using "--version" did not match "(ICC)": >Checking whether the ASM_MASM compiler is IntelLLVM using "--version" did not match "(Intel[^ >]+oneAPI)": >Checking whether the ASM_MASM compiler is SunPro using "-V" did not match "Sun C": >Checking whether the ASM_MASM compiler is XL using "-qversion" did not match "XL C": >Checking whether the ASM_MASM compiler is MSVC using "-?" did not match "Microsoft": >Checking whether the ASM_MASM compiler is TI using "-h" did not match "Texas Instruments": >Checking whether the ASM_MASM compiler is IAR using "" did not match "IAR Assembler": >Checking whether the ASM_MASM compiler is ARMCC using "" did not match "(ARM Compiler)|(ARM Assembler)|(Arm Compiler)": >Checking whether the ASM_MASM compiler is NASM using "-v" did not match "(NASM version)": >Checking whether the ASM_MASM compiler is YASM using "--version" did not match "(yasm)": >Checking whether the ASM_MASM compiler is ADSP using "-version" did not match "Analog Devices": >Checking whether the ASM_MASM compiler is QCC using "-V" did not match "gcc_nto": >Detecting CXX compiler ABI info failed to compile with the following output: >Change Dir: /var/tmp/portage/dev-util/ccache-4.7.4/work/ccache-4.7.4_build/CMakeFiles/CMakeScratch/TryCompile-JonCHK > >Run Build Command(s):/usr/bin/ninja cmTC_9fc43 && [1/2] Building CXX object CMakeFiles/cmTC_9fc43.dir/CMakeCXXCompilerABI.cpp.o >clang version 16.0.0 >Target: x86_64-gentoo-linux-musl >Thread model: posix >InstalledDir: /usr/lib/llvm/16/bin >Configuration file: /etc/clang/clang++.cfg >System configuration file directory: /etc/clang > (in-process) > "/usr/lib/llvm/16/bin/clang-16" -cc1 -triple x86_64-gentoo-linux-musl -emit-obj --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeCXXCompilerABI.cpp -mrelocation-model pic -pic-level 2 -pic-is-pie -mframe-pointer=none -ffp-contract=on -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu znver1 -target-feature -avx512pf -target-feature -tsxldtrk -target-feature +cx16 -target-feature +sahf -target-feature -tbm -target-feature -avx512ifma -target-feature +sha -target-feature +crc32 -target-feature -fma4 -target-feature -vpclmulqdq -target-feature +prfchw -target-feature +bmi2 -target-feature -cldemote -target-feature +fsgsbase -target-feature -avx512bf16 -target-feature -amx-tile -target-feature -raoint -target-feature -uintr -target-feature -gfni -target-feature +popcnt -target-feature -ptwrite -target-feature +aes -target-feature -avx512bitalg -target-feature -movdiri -target-feature -widekl -target-feature +xsaves -target-feature -avx512er -target-feature -avxvnni -target-feature -avx512fp16 -target-feature -avx512vnni -target-feature -amx-bf16 -target-feature -avxvnniint8 -target-feature -avx512vpopcntdq -target-feature -pconfig -target-feature +clwb -target-feature -cmpccxadd -target-feature -avx512f -target-feature +xsavec -target-feature +clzero -target-feature -pku -target-feature -amx-fp16 -target-feature +mmx -target-feature -lwp -target-feature +rdpid -target-feature -xop -target-feature +rdseed -target-feature -waitpkg -target-feature -prefetchi -target-feature -kl -target-feature -movdir64b -target-feature +sse4a -target-feature -avx512bw -target-feature -avxneconvert -target-feature +clflushopt -target-feature +xsave -target-feature -avx512vbmi2 -target-feature +64bit -target-feature -avx512vl -target-feature -serialize -target-feature -hreset -target-feature -invpcid -target-feature -avx512cd -target-feature +avx -target-feature -vaes -target-feature -amx-int8 -target-feature +cx8 -target-feature +fma -target-feature -rtm -target-feature +bmi -target-feature -enqcmd -target-feature +rdrnd -target-feature +mwaitx -target-feature +sse4.1 -target-feature +sse4.2 -target-feature +avx2 -target-feature +fxsr -target-feature +wbnoinvd -target-feature +sse -target-feature +lzcnt -target-feature +pclmul -target-feature +rdpru -target-feature -avxifma -target-feature +f16c -target-feature +ssse3 -target-feature -sgx -target-feature -prefetchwt1 -target-feature +cmov -target-feature -avx512vbmi -target-feature -shstk -target-feature +movbe -target-feature -avx512vp2intersect -target-feature +xsaveopt -target-feature -avx512dq -target-feature +sse2 -target-feature +adx -target-feature +sse3 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/var/tmp/portage/dev-util/ccache-4.7.4/work/ccache-4.7.4_build/CMakeFiles/CMakeScratch/TryCompile-JonCHK -resource-dir /usr/lib/llvm/16/bin/../../../../lib/clang/16 -dependency-file CMakeFiles/cmTC_9fc43.dir/CMakeCXXCompilerABI.cpp.o.d -MT CMakeFiles/cmTC_9fc43.dir/CMakeCXXCompilerABI.cpp.o -sys-header-deps -internal-isystem /usr/include/c++/v1 -internal-isystem /usr/local/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /usr/lib/llvm/16/bin/../../../../lib/clang/16/include -O2 -fdeprecated-macro -fdebug-compilation-dir=/var/tmp/portage/dev-util/ccache-4.7.4/work/ccache-4.7.4_build/CMakeFiles/CMakeScratch/TryCompile-JonCHK -ferror-limit 19 -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcolor-diagnostics -vectorize-loops -vectorize-slp -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o CMakeFiles/cmTC_9fc43.dir/CMakeCXXCompilerABI.cpp.o -x c++ /usr/share/cmake/Modules/CMakeCXXCompilerABI.cpp >clang -cc1 version 16.0.0 based upon LLVM 16.0.0git959c9cc7+libcxx default target x86_64-gentoo-linux-musl >ignoring nonexistent directory "/usr/local/include" >ignoring nonexistent directory "/include" >#include "..." search starts here: >#include <...> search starts here: > /usr/include/c++/v1 > /usr/include > /usr/lib/llvm/16/bin/../../../../lib/clang/16/include >End of search list. >[2/2] Linking CXX executable cmTC_9fc43 >FAILED: cmTC_9fc43 >: && /usr/lib/llvm/16/bin/clang++ -march=native -O2 -pipe -fdiagnostics-color=always -Wl,-O1 -Wl,--as-needed -fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind -Wl,--as-needed -static-libstdc++ -v CMakeFiles/cmTC_9fc43.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_9fc43 && : >clang version 16.0.0 >Target: x86_64-gentoo-linux-musl >Thread model: posix >InstalledDir: /usr/lib/llvm/16/bin >Configuration file: /etc/clang/clang++.cfg >System configuration file directory: /etc/clang > "/usr/lib/llvm/16/bin/ld.lld" -pie --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib/ld-musl-x86_64.so.1 -o cmTC_9fc43 /usr/lib/Scrt1.o /usr/lib/crti.o /usr/lib/llvm/16/bin/../../../../lib/clang/16/lib/linux/clang_rt.crtbegin-x86_64.o -L/lib -L/usr/lib -O1 --as-needed --as-needed CMakeFiles/cmTC_9fc43.dir/CMakeCXXCompilerABI.cpp.o -Bstatic -lc++ -Bdynamic -lm /usr/lib/llvm/16/bin/../../../../lib/clang/16/lib/linux/libclang_rt.builtins-x86_64.a --as-needed -lunwind --no-as-needed -lc /usr/lib/llvm/16/bin/../../../../lib/clang/16/lib/linux/libclang_rt.builtins-x86_64.a --as-needed -lunwind --no-as-needed /usr/lib/llvm/16/bin/../../../../lib/clang/16/lib/linux/clang_rt.crtend-x86_64.o /usr/lib/crtn.o >ld.lld: error: unable to find library -lc++ >clang-16: error: linker command failed with exit code 1 (use -v to see invocation) >ninja: build stopped: subcommand failed. > > > > >Determining if the C++ compiler works failed with the following output: >Change Dir: /var/tmp/portage/dev-util/ccache-4.7.4/work/ccache-4.7.4_build/CMakeFiles/CMakeScratch/TryCompile-GdKbpN > >Run Build Command(s):/usr/bin/ninja cmTC_8ddd1 && [1/2] Building CXX object CMakeFiles/cmTC_8ddd1.dir/testCXXCompiler.cxx.o >[2/2] Linking CXX executable cmTC_8ddd1 >FAILED: cmTC_8ddd1 >: && /usr/lib/llvm/16/bin/clang++ -march=native -O2 -pipe -fdiagnostics-color=always -Wl,-O1 -Wl,--as-needed -fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind -Wl,--as-needed -static-libstdc++ CMakeFiles/cmTC_8ddd1.dir/testCXXCompiler.cxx.o -o cmTC_8ddd1 && : >ld.lld: error: unable to find library -lc++ >clang-16: error: linker command failed with exit code 1 (use -v to see invocation) >ninja: build stopped: subcommand failed. > > >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 883291
:
837637
| 837639 |
837641
|
837643