Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 837641 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]
CMakeOutput.log
CMakeOutput.log (text/x-log), 15.66 KB, created by
Lukas Schmelting
on 2022-11-27 12:54:05 UTC
(
hide
)
Description:
CMakeOutput.log
Filename:
MIME Type:
Creator:
Lukas Schmelting
Created:
2022-11-27 12:54:05 UTC
Size:
15.66 KB
patch
obsolete
>The system is: Linux - 6.0.9-gentoo-dist - x86_64 >Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded. >Compiler: /usr/lib/llvm/16/bin/clang-16 >Build flags: -march=native;-O2;-pipe;-fdiagnostics-color=always >Id flags: > >The output was: >0 > > >Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out" > >The C compiler identification is Clang, found in "/var/tmp/portage/dev-util/ccache-4.7.4/work/ccache-4.7.4_build/CMakeFiles/3.25.0/CompilerIdC/a.out" > >Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded. >Compiler: /usr/lib/llvm/16/bin/clang++ >Build flags: -march=native;-O2;-pipe;-fdiagnostics-color=always >Id flags: > >The output was: >0 > > >Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.out" > >The CXX compiler identification is Clang, found in "/var/tmp/portage/dev-util/ccache-4.7.4/work/ccache-4.7.4_build/CMakeFiles/3.25.0/CompilerIdCXX/a.out" > >Checking whether the ASM compiler is Clang using "--version" matched "(clang version)": >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 >Detecting C compiler ABI info compiled with the following output: >Change Dir: /var/tmp/portage/dev-util/ccache-4.7.4/work/ccache-4.7.4_build/CMakeFiles/CMakeScratch/TryCompile-CmblIH > >Run Build Command(s):/usr/bin/ninja cmTC_ea9c9 && [1/2] Building C object CMakeFiles/cmTC_ea9c9.dir/CMakeCCompilerABI.c.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 CMakeCCompilerABI.c -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-CmblIH -resource-dir /usr/lib/llvm/16/bin/../../../../lib/clang/16 -dependency-file CMakeFiles/cmTC_ea9c9.dir/CMakeCCompilerABI.c.o.d -MT CMakeFiles/cmTC_ea9c9.dir/CMakeCCompilerABI.c.o -sys-header-deps -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 -fdebug-compilation-dir=/var/tmp/portage/dev-util/ccache-4.7.4/work/ccache-4.7.4_build/CMakeFiles/CMakeScratch/TryCompile-CmblIH -ferror-limit 19 -fgnuc-version=4.2.1 -fcolor-diagnostics -vectorize-loops -vectorize-slp -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o CMakeFiles/cmTC_ea9c9.dir/CMakeCCompilerABI.c.o -x c /usr/share/cmake/Modules/CMakeCCompilerABI.c >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 > /usr/lib/llvm/16/bin/../../../../lib/clang/16/include >End of search list. >[2/2] Linking C executable cmTC_ea9c9 >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 >clang-16: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument] > "/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_ea9c9 /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_ea9c9.dir/CMakeCCompilerABI.c.o /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 > > > >Parsed C implicit include dir info from above output: rv=done > found start of include info > found start of implicit include info > add: [/usr/include] > add: [/usr/lib/llvm/16/bin/../../../../lib/clang/16/include] > end of search list found > collapse include dir [/usr/include] ==> [/usr/include] > collapse include dir [/usr/lib/llvm/16/bin/../../../../lib/clang/16/include] ==> [/usr/lib/clang/16/include] > implicit include dirs: [/usr/include;/usr/lib/clang/16/include] > > >Parsed C implicit link information from above output: > link line regex: [^( *|.*[/\])(ld\.lld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)] > ignore line: [Change Dir: /var/tmp/portage/dev-util/ccache-4.7.4/work/ccache-4.7.4_build/CMakeFiles/CMakeScratch/TryCompile-CmblIH] > ignore line: [] > ignore line: [Run Build Command(s):/usr/bin/ninja cmTC_ea9c9 && [1/2] Building C object CMakeFiles/cmTC_ea9c9.dir/CMakeCCompilerABI.c.o] > ignore line: [clang version 16.0.0] > ignore line: [Target: x86_64-gentoo-linux-musl] > ignore line: [Thread model: posix] > ignore line: [InstalledDir: /usr/lib/llvm/16/bin] > ignore line: [Configuration file: /etc/clang/clang.cfg] > ignore line: [System configuration file directory: /etc/clang] > ignore line: [ (in-process)] > ignore line: [ "/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 CMakeCCompilerABI.c -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-CmblIH -resource-dir /usr/lib/llvm/16/bin/../../../../lib/clang/16 -dependency-file CMakeFiles/cmTC_ea9c9.dir/CMakeCCompilerABI.c.o.d -MT CMakeFiles/cmTC_ea9c9.dir/CMakeCCompilerABI.c.o -sys-header-deps -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 -fdebug-compilation-dir=/var/tmp/portage/dev-util/ccache-4.7.4/work/ccache-4.7.4_build/CMakeFiles/CMakeScratch/TryCompile-CmblIH -ferror-limit 19 -fgnuc-version=4.2.1 -fcolor-diagnostics -vectorize-loops -vectorize-slp -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o CMakeFiles/cmTC_ea9c9.dir/CMakeCCompilerABI.c.o -x c /usr/share/cmake/Modules/CMakeCCompilerABI.c] > ignore line: [clang -cc1 version 16.0.0 based upon LLVM 16.0.0git959c9cc7+libcxx default target x86_64-gentoo-linux-musl] > ignore line: [ignoring nonexistent directory "/usr/local/include"] > ignore line: [ignoring nonexistent directory "/include"] > ignore line: [#include "..." search starts here:] > ignore line: [#include <...> search starts here:] > ignore line: [ /usr/include] > ignore line: [ /usr/lib/llvm/16/bin/../../../../lib/clang/16/include] > ignore line: [End of search list.] > ignore line: [[2/2] Linking C executable cmTC_ea9c9] > ignore line: [clang version 16.0.0] > ignore line: [Target: x86_64-gentoo-linux-musl] > ignore line: [Thread model: posix] > ignore line: [InstalledDir: /usr/lib/llvm/16/bin] > ignore line: [Configuration file: /etc/clang/clang.cfg] > ignore line: [System configuration file directory: /etc/clang] > ignore line: [clang-16: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]] > link line: [ "/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_ea9c9 /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_ea9c9.dir/CMakeCCompilerABI.c.o /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] > arg [/usr/lib/llvm/16/bin/ld.lld] ==> ignore > arg [-pie] ==> ignore > arg [--hash-style=gnu] ==> ignore > arg [--eh-frame-hdr] ==> ignore > arg [-m] ==> ignore > arg [elf_x86_64] ==> ignore > arg [-dynamic-linker] ==> ignore > arg [/lib/ld-musl-x86_64.so.1] ==> ignore > arg [-o] ==> ignore > arg [cmTC_ea9c9] ==> ignore > arg [/usr/lib/Scrt1.o] ==> obj [/usr/lib/Scrt1.o] > arg [/usr/lib/crti.o] ==> obj [/usr/lib/crti.o] > arg [/usr/lib/llvm/16/bin/../../../../lib/clang/16/lib/linux/clang_rt.crtbegin-x86_64.o] ==> obj [/usr/lib/llvm/16/bin/../../../../lib/clang/16/lib/linux/clang_rt.crtbegin-x86_64.o] > arg [-L/lib] ==> dir [/lib] > arg [-L/usr/lib] ==> dir [/usr/lib] > arg [-O1] ==> ignore > arg [--as-needed] ==> ignore > arg [--as-needed] ==> ignore > arg [CMakeFiles/cmTC_ea9c9.dir/CMakeCCompilerABI.c.o] ==> ignore > arg [/usr/lib/llvm/16/bin/../../../../lib/clang/16/lib/linux/libclang_rt.builtins-x86_64.a] ==> lib [/usr/lib/llvm/16/bin/../../../../lib/clang/16/lib/linux/libclang_rt.builtins-x86_64.a] > arg [--as-needed] ==> ignore > arg [-lunwind] ==> lib [unwind] > arg [--no-as-needed] ==> ignore > arg [-lc] ==> lib [c] > arg [/usr/lib/llvm/16/bin/../../../../lib/clang/16/lib/linux/libclang_rt.builtins-x86_64.a] ==> lib [/usr/lib/llvm/16/bin/../../../../lib/clang/16/lib/linux/libclang_rt.builtins-x86_64.a] > arg [--as-needed] ==> ignore > arg [-lunwind] ==> lib [unwind] > arg [--no-as-needed] ==> ignore > arg [/usr/lib/llvm/16/bin/../../../../lib/clang/16/lib/linux/clang_rt.crtend-x86_64.o] ==> obj [/usr/lib/llvm/16/bin/../../../../lib/clang/16/lib/linux/clang_rt.crtend-x86_64.o] > arg [/usr/lib/crtn.o] ==> obj [/usr/lib/crtn.o] > remove lib [/usr/lib/llvm/16/bin/../../../../lib/clang/16/lib/linux/libclang_rt.builtins-x86_64.a] > remove lib [/usr/lib/llvm/16/bin/../../../../lib/clang/16/lib/linux/libclang_rt.builtins-x86_64.a] > collapse obj [/usr/lib/llvm/16/bin/../../../../lib/clang/16/lib/linux/clang_rt.crtbegin-x86_64.o] ==> [/usr/lib/clang/16/lib/linux/clang_rt.crtbegin-x86_64.o] > collapse obj [/usr/lib/llvm/16/bin/../../../../lib/clang/16/lib/linux/clang_rt.crtend-x86_64.o] ==> [/usr/lib/clang/16/lib/linux/clang_rt.crtend-x86_64.o] > collapse library dir [/lib] ==> [/lib] > collapse library dir [/usr/lib] ==> [/usr/lib] > implicit libs: [unwind;c;unwind] > implicit objs: [/usr/lib/Scrt1.o;/usr/lib/crti.o;/usr/lib/clang/16/lib/linux/clang_rt.crtbegin-x86_64.o;/usr/lib/clang/16/lib/linux/clang_rt.crtend-x86_64.o;/usr/lib/crtn.o] > implicit dirs: [/lib;/usr/lib] > implicit fwks: [] > >
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