Your message dated Sat, 22 Jun 2024 07:32:07 +0200
with message-id <[email protected]>
and subject line Re: llvm-18-linker-tools: lacks LLVMgold-18.so , failed to 
configure with CMake.
has caused the Debian Bug report #1068225,
regarding llvm-18-linker-tools: lacks LLVMgold-18.so , failed to configure with 
CMake.
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1068225: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1068225
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: llvm-18-linker-tools
Version: 1:18.1.2-1+b1
Severity: important

Dear Maintainer,

 After updating to 1:18.1.2 , configuring C++ program with cmake fails.
 This will be built with Link-Time-Optimization.So, CMAKE_CXX_FLAGS has
"-flto".

Error is With below messages :

--- BEGIN ---
-- The C compiler identification is Clang 18.1.2
-- The CXX compiler identification is Clang 18.1.2
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - failed
-- Check for working C compiler: /usr/bin/clang-18
-- Check for working C compiler: /usr/bin/clang-18 - broken
CMake Error at
/usr/share/cmake-3.28/Modules/CMakeTestCCompiler.cmake:67 (message):
  The C compiler
  
  "/usr/bin/clang-18"
      
  is not able to compile a simple test program.
        
  It fails with the following output:
          
Change Dir:
'/home/xxxx/src/common_source_project-fm7/source/build/CMakeFiles/CMakeScratch/TryCompile-3HpiTf'
    
Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1
/usr/bin/gmake -f Makefile cmTC_b7f7a/fast
    /usr/bin/gmake  -f CMakeFiles/cmTC_b7f7a.dir/build.make
CMakeFiles/cmTC_b7f7a.dir/build
    gmake[1]: Entering directory
'/home/xxxx/src/common_source_project-fm7/source/build/CMakeFiles/CMakeScratch/TryCompile-3HpiTf'
    Building C object CMakeFiles/cmTC_b7f7a.dir/testCCompiler.c.o
        /usr/bin/clang-18   -O3 -flto -msse -msse2
-Wreserved-user-defined-literal -gdwarf -gz  -MD -MT
CMakeFiles/cmTC_b7f7a.dir/testCCompiler.c.o -MF
CMakeFiles/cmTC_b7f7a.dir/testCCompiler.c.o.d -o
CMakeFiles/cmTC_b7f7a.dir/testCCompiler.c.o -c
/home/xxxx/src/common_source_project-fm7/source/build/CMakeFiles/CMakeScratch/TryCompile-3HpiTf/testCCompiler.c
    Linking C executable cmTC_b7f7a
        /usr/bin/cmake -E cmake_link_script
CMakeFiles/cmTC_b7f7a.dir/link.txt --verbose=1
    /usr/bin/clang-18 -O3 -flto -msse -msse2
-Wreserved-user-defined-literal -gdwarf -gz  -rdynamic
CMakeFiles/cmTC_b7f7a.dir/testCCompiler.c.o -o cmTC_b7f7a 
    /usr/bin/ld: /usr/lib/llvm-18/bin/../lib/LLVMgold.so: error
loading plugin: /usr/lib/llvm-18/bin/../lib/LLVMgold.so: cannot open
shared object file: No such file or directory
    clang-18: error: linker command failed with exit code 1 (use -v to
see invocation)
    gmake[1]: *** [CMakeFiles/cmTC_b7f7a.dir/build.make:100:
cmTC_b7f7a] Error 1
    gmake[1]: Leaving directory
'/home/xxxx/src/common_source_project-fm7/source/build/CMakeFiles/CMakeScratch/TryCompile-3HpiTf'
    gmake: *** [Makefile:127: cmTC_b7f7a/fast] Error 2
      
    
    CMake will not be able to correctly generate this project.
    Call Stack (most recent call first):
    CMakeLists.txt:17 (project)

--- END ---

I checked /usr/lib/llvm-18/lib , updated package don't have
LLVMgold.so , this is LTO plugin with ld.gold .
Before 18.1.1 , this plugin exitsed.

Regards,
Ohta.


-- System Information:
Debian Release: trixie/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'stable-security'), (500, 
'oldstable-security'), (500, 'unstable'), (1, 'experimental-debug'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.8.2-homebrew-15.0-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages llvm-18-linker-tools depends on:
ii  libc6       2.37-15.1
ii  libllvm18   1:18.1.2-1+b1
ii  libstdc++6  14-20240330-1

llvm-18-linker-tools recommends no packages.

llvm-18-linker-tools suggests no packages.

-- debconf-show failed

--- End Message ---
--- Begin Message ---
fixed already.
Closing

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


--- End Message ---

Reply via email to