LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-29-2020, 01:41 PM   #1
jkh2cpu
Member
 
Registered: Feb 2014
Location: Michigan, USA
Distribution: slackware
Posts: 281

Rep: Reputation: 60
LLVM-10.0.0 causing problems.


I went to update my git master build of darktable, and I got this during cmake-gui. I'd guess the problem has something to do with the new LLVM. I do have /usr/bin/lit-cpuid-32.


CMake Error at /usr/lib/cmake/llvm/LLVMExports.cmake:534 (message):
The imported target "lit-cpuid" references the file

"/usr/bin/lit-cpuid"

but this file does not exist. Possible reasons include:

* The file was deleted, renamed, or moved to another location.

* An install or uninstall procedure did not complete successfully.

* The installation package was faulty and contained

"/usr/lib/cmake/llvm/LLVMExports.cmake"

but not all the files it references.

Call Stack (most recent call first):
/usr/lib/cmake/llvm/LLVMConfig.cmake:172 (include)
CMakeLists.txt:280 (find_package)
CMakeLists.txt:288 (find_llvm)

So is this something that can be fixed?

TIA.

John.
 
Old 03-29-2020, 02:42 PM   #2
TheRealGrogan
Member
 
Registered: Oct 2010
Location: Ontario, Canada
Distribution: Slackware, LFS, Manjaro (for gaming)
Posts: 570

Rep: Reputation: 413Reputation: 413Reputation: 413Reputation: 413Reputation: 413
In case you haven't come to this conclusion yet, the file lit-cpuid is missing from the LLVM 10 Slackware package. It didn't build for whatever reason, or it's no longer part of an existing component (i.e. I seem to have lit-cpuid with LLVM 9.0.1 but not lit... perhaps now lit-cpuid isn't built by another component but part of the test suite or something)

P.S. From what I can see, that used to get built with lldb.

Last edited by TheRealGrogan; 03-29-2020 at 02:50 PM.
 
Old 03-29-2020, 03:04 PM   #3
TheRealGrogan
Member
 
Registered: Oct 2010
Location: Ontario, Canada
Distribution: Slackware, LFS, Manjaro (for gaming)
Posts: 570

Rep: Reputation: 413Reputation: 413Reputation: 413Reputation: 413Reputation: 413
Looks like a variable needs to be set for it to get built with lldb

LLDB_INCLUDE_TESTS (probably like -DLLDB_INCLUDE_TESTS=ON)

CMakeLists.txt in lldb sources

Code:
option(LLDB_INCLUDE_TESTS "Generate build targets for the LLDB unit tests." ${LLVM_INCLUDE_TESTS})
if(LLDB_INCLUDE_TESTS)
  add_subdirectory(test)
  add_subdirectory(unittests)
  add_subdirectory(utils/lit-cpuid)
  add_subdirectory(utils/lldb-dotest)
endif()

Last edited by TheRealGrogan; 03-29-2020 at 03:09 PM.
 
1 members found this post helpful.
Old 03-29-2020, 08:24 PM   #4
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Fixed in the latest updates.

Code:
Sun Mar 29 23:05:46 UTC 2020
d/llvm-10.0.0-x86_64-2.txz:  Rebuilt.
  Ensure that lit-cpuid is built and installed. Thanks to jkh2cpu.
 
2 members found this post helpful.
Old 03-30-2020, 12:10 PM   #5
jkh2cpu
Member
 
Registered: Feb 2014
Location: Michigan, USA
Distribution: slackware
Posts: 281

Original Poster
Rep: Reputation: 60
Thanks. Darktable builds again!

John.
 
2 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problems building llvm masber Linux - Software 0 11-08-2019 08:45 AM
[SOLVED] Problems compiling 32-bit llvm-6.0.1 on Slackware-14.2 multilib PJBrs Slackware 7 09-17-2018 12:48 PM
llvm-config problem in slackware64-current LLVM 3.2 package teeemcee Slackware 0 01-24-2013 02:44 PM
LXer: Hadoop should target C++/LLVM, not Java (because of watts) LXer Syndicated Linux News 0 05-12-2009 04:50 AM
LXer: Portable Linux future using LLVM LXer Syndicated Linux News 0 04-10-2009 10:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration