Questions tagged [llvm]
The llvm tag has no summary.
                35 questions
            
            
            0
            votes
        
        
            1
            answer
        
        
            310
            views
        
    dolphin-emu: error while loading shared libraries: libLLVM-11.so.1
                When running the Dolphin emulator from the stable Debian repos in Debian 12 with KDE I get the below error. However, no error is shown on a nearly identical machine where Dolphin emulator works fine. ...
            
        
       
    
            -1
            votes
        
        
            2
            answers
        
        
            621
            views
        
    dnf won't let me overwrite or change packages
                I want to do something that is supposed to be simple in any package manager, install a package, in my case it is this specifically lib64MLIRVectorToSPIRV13.
LC_ALL=C dnf install ...
            
        
       
    
            1
            vote
        
        
            1
            answer
        
        
            161
            views
        
    Error: Option 'debug-counter' registered more than once
                I have a error when open the following programs:
LxTerminal, Octopi, Qemu, Google Chrome, Geany, CodeBlocks, Blender, Baobab, Czkawka, Peek, FSearch, Gnumeric, QT Designer, Gtk3-Demo, KNewStuff Dialog,...
            
        
       
    
            1
            vote
        
        
            0
            answers
        
        
            717
            views
        
    How to install LLVM-14 on Ubuntu?
                I have installed LLVM-14 on Ubuntu manually. Everything seems to work fine except ld during the compilation of cargo-bpf in Rust cargo.
  = note: /usr/bin/ld: cannot find -lLLVM-14
          collect2: ...
            
        
       
    
            1
            vote
        
        
            0
            answers
        
        
            176
            views
        
    Build Linux kernel with prebuilt object files
                I am trying to build the files in the kernel mm/ directory with a personalized LLVM compiler, then link them together with the rest of the kernel to get a bootable kernel. I extracted the exact ...
            
        
       
    
            0
            votes
        
        
            1
            answer
        
        
            269
            views
        
    How to [cross-]compile Linux kernel with no vDSO support?
                I am compiling the Linux kernel for SPARC64 [with LLVM] and I'd like to not compile the vDSO code. I removed all the vDSO-related arguments in arch/sparc/Makefile, arch/sparc/Kbuild and arch/sparc/...
            
        
       
    
            1
            vote
        
        
            1
            answer
        
        
            1k
            views
        
    Clang producing a symbol lookup error
                i am getting this error whenever i run clang even with the --version flag
clang: symbol lookup error: /usr/lib/libclang-cpp.so.14: undefined symbol: ...
            
        
       
    
            1
            vote
        
        
            1
            answer
        
        
            566
            views
        
    What purpose does ELF's stack-size metadata have?
                I was reading the Rust Unstable Book, and I saw a new feature for emit-stack-sizes,
The rustc flag -Z emit-stack-sizes makes LLVM emit stack size metadata.
It goes on to say
NOTE: This LLVM feature ...
            
        
       
    
            2
            votes
        
        
            1
            answer
        
        
            9k
            views
        
    How to fix missing libLLVM-13.so libraries
                I am using Arch Linux and I installed llvm using sudo pacman -S llvm.
I installed some programs like ccls, clangd, cppcheck etc. and none of them are working:
ccls: error while loading shared ...
            
        
       
    
            5
            votes
        
        
            0
            answers
        
        
            7k
            views
        
    How to change clang-10, llvm-10, etc to clang, llvm, etc.?
                I use Spacemacs, and installed llvm-10, clnag-10, clangd-10, and all related packages, in Debian 10.
Used the following command to install llvm
$ sudo bash -c "$(wget -O - https://apt.llvm.org/...
            
        
       
    
            1
            vote
        
        
            0
            answers
        
        
            1k
            views
        
    Arch: broken lib-llvm dependency using postgresql on Manjaro
                I have a database server running Manjaro 20.0 and postgresql 12.1-2
A recent update has prevented complex queries from running - simple select queries execute ok, but larger select queries with joins ...
            
        
       
    
            0
            votes
        
        
            1
            answer
        
        
            286
            views
        
    llvm 8 install size
                I recently compiled llvm from source since I wanted to look at 8. However, it is a whooping 56G in size once installed. That seems excessive.
How can I reduce the size of the installation?
; du -h -...
            
        
       
    
            2
            votes
        
        
            0
            answers
        
        
            306
            views
        
    How to build LLVM/Clang isolated from the host system?
                I'm looking for something like the Linux From Scratch process for GCC, but for LLVM/Clang.
Linux From Scratch builds an isolated GCC/binutils toolchain, and because of the rather monolithic nature, `...
            
        
       
    
            4
            votes
        
        
            4
            answers
        
        
            4k
            views
        
    Embedding binary data into an executable using LLVM tools
                In the past I have embedded resource files (images) into programs by first converting them to .o files using the GNU linker. For example:
ld -r -b binary -o file.o file.svg
Starting with FreeBSD 12, ...
            
        
       
    
            2
            votes
        
        
            1
            answer
        
        
            507
            views
        
    lldb hangs on Alpine Linux
                I'm trying to run lldb on Alpine Linux V3.8, but when trying to debug any program, it hangs.
I'm using lldb 5.0.1-r0 from the edge/testing repository, which is the only version available currently in ...
            
        
       
     
         
         
         
        