Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 837637 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]
build.log
build.log (text/x-log), 5.26 KB, created by
Lukas Schmelting
on 2022-11-27 12:52:46 UTC
(
hide
)
Description:
build.log
Filename:
MIME Type:
Creator:
Lukas Schmelting
Created:
2022-11-27 12:52:46 UTC
Size:
5.26 KB
patch
obsolete
> * Package: dev-util/ccache-4.7.4:0 > * Repository: gentoo > * Maintainer: toolchain@gentoo.org > * USE: abi_x86_64 amd64 elibc_musl kernel_linux static-c++ userland_GNU verify-sig > * FEATURES: network-sandbox nostrip preserve-libs sandbox userpriv usersandbox >>>> Unpacking source... > * Verifying ccache-4.7.4.tar.xz ... >gpg: Signature made Mon Nov 21 18:54:42 2022 UTC >gpg: using RSA key 5A939A71A46792CF57866A51996DDA075594ADB8 >gpg: Good signature from "Joel Rosdahl <joel@rosdahl.net>" [ultimate] >gpg: aka "Joel Rosdahl <joel@debian.org>" [ultimate] >>>> Unpacking ccache-4.7.4.tar.xz to /var/tmp/portage/dev-util/ccache-4.7.4/work >>>> Unpacking ccache-4.7.4.tar.xz.asc to /var/tmp/portage/dev-util/ccache-4.7.4/work >unpack ccache-4.7.4.tar.xz.asc: file format not recognized. Ignoring. >>>> Source unpacked in /var/tmp/portage/dev-util/ccache-4.7.4/work >>>> Preparing source in /var/tmp/portage/dev-util/ccache-4.7.4/work/ccache-4.7.4 ... > * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/dev-util/ccache-4.7.4/work/ccache-4.7.4" > * Build directory (BUILD_DIR): "/var/tmp/portage/dev-util/ccache-4.7.4/work/ccache-4.7.4_build" > * Applying ccache-3.5-nvcc-test.patch ... > [ ok ] > * Applying ccache-4.0-objdump.patch ... > [ ok ] > * SED: the following did not cause any changes > * sed -e "/^EPREFIX=/s:'':'${EPREFIX}':" "${FILESDIR}"/ccache-config-3 > ccache-config || die > * no-op: -e /^EPREFIX=/s:'':'': >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/dev-util/ccache-4.7.4/work/ccache-4.7.4 ... > * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/dev-util/ccache-4.7.4/work/ccache-4.7.4" > * Build directory (BUILD_DIR): "/var/tmp/portage/dev-util/ccache-4.7.4/work/ccache-4.7.4_build" >cmake -C /var/tmp/portage/dev-util/ccache-4.7.4/work/ccache-4.7.4_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DENABLE_DOCUMENTATION=no -DENABLE_TESTING=no -DZSTD_FROM_INTERNET=OFF -DHIREDIS_FROM_INTERNET=OFF -DREDIS_STORAGE_BACKEND=no -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/dev-util/ccache-4.7.4/work/ccache-4.7.4_build/gentoo_toolchain.cmake /var/tmp/portage/dev-util/ccache-4.7.4/work/ccache-4.7.4 >loading initial cache file /var/tmp/portage/dev-util/ccache-4.7.4/work/ccache-4.7.4_build/gentoo_common_config.cmake >-- The C compiler identification is Clang 16.0.0 >-- The CXX compiler identification is Clang 16.0.0 >-- The ASM compiler identification is Clang with GNU-like command-line >-- Found assembler: /usr/lib/llvm/16/bin/clang-16 >-- The ASM_MASM compiler identification is unknown >-- Found assembler: ml >-- Detecting C compiler ABI info >-- Detecting C compiler ABI info - done >-- Check for working C compiler: /usr/lib/llvm/16/bin/clang-16 - skipped >-- Detecting C compile features >-- Detecting C compile features - done >-- Detecting CXX compiler ABI info >-- Detecting CXX compiler ABI info - failed >-- Check for working CXX compiler: /usr/lib/llvm/16/bin/clang++ >-- Check for working CXX compiler: /usr/lib/llvm/16/bin/clang++ - broken >[31mCMake Error at /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake:63 (message): > The C++ compiler > > "/usr/lib/llvm/16/bin/clang++" > > is not able to compile a simple test program. > > It fails 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. > > > > > > CMake will not be able to correctly generate this project. >Call Stack (most recent call first): > CMakeLists.txt:3 (project) > >[0m >-- Configuring incomplete, errors occurred! >See also "/var/tmp/portage/dev-util/ccache-4.7.4/work/ccache-4.7.4_build/CMakeFiles/CMakeOutput.log". >See also "/var/tmp/portage/dev-util/ccache-4.7.4/work/ccache-4.7.4_build/CMakeFiles/CMakeError.log". > * ERROR: dev-util/ccache-4.7.4::gentoo failed (configure phase): > * cmake failed > * > * Call stack: > * ebuild.sh, line 122: Called src_configure > * environment, line 2285: Called cmake_src_configure > * environment, line 1127: Called die > * The specific snippet of code: > * "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed"; > * > * If you need support, post the output of `emerge --info '=dev-util/ccache-4.7.4::gentoo'`, > * the complete build log and the output of `emerge -pqv '=dev-util/ccache-4.7.4::gentoo'`. > * The complete build log is located at '/var/tmp/portage/dev-util/ccache-4.7.4/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/dev-util/ccache-4.7.4/temp/environment'. > * Working directory: '/var/tmp/portage/dev-util/ccache-4.7.4/work/ccache-4.7.4_build' > * S: '/var/tmp/portage/dev-util/ccache-4.7.4/work/ccache-4.7.4'
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