Re: pull-request: bpf 2024-07-25

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> On Jul 25, 2024, at 11:40 AM, Jakub Kicinski <kuba@xxxxxxxxxx> wrote:
> 
> 
> 
> On the LLVM19 I see this in all outputs:
> ar: libLLVM.so.19.0: cannot open shared object file: No such file or directory
> 
> But presumably that's harmless, then.

Oh I see. It seems this is only affecting gcc builds.

Seem that nm/ar are not affected:

# ldd /usr/bin/ar /usr/bin/nm
/usr/bin/ar:
        linux-vdso.so.1 (0x00007fffa7376000)
        libbfd-2.34-system.so => /lib/x86_64-linux-gnu/libbfd-2.34-system.so (0x00007f6e90609000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f6e90417000)
        libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f6e903fb000)
        libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f6e903f5000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f6e9076e000)
/usr/bin/nm:
        linux-vdso.so.1 (0x00007ffd817ad000)
        libbfd-2.34-system.so => /lib/x86_64-linux-gnu/libbfd-2.34-system.so (0x00007f09dc4ab000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f09dc2b9000)
        libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f09dc29d000)
        libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f09dc297000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f09dc60c000)


but the “llvm” versions are:

# ldd /usr/bin/llvm-ar /usr/bin/llvm-nm
/usr/bin/llvm-ar:
        linux-vdso.so.1 (0x00007ffd675b2000)
        libLLVM.so.19.0 => not found
        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fe0ba21d000)
        libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fe0ba03b000)
        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fe0b9eec000)
        libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fe0b9ed1000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fe0b9cdf000)
        /lib64/ld-linux-x86-64.so.2 (0x00007fe0ba260000)
/usr/bin/llvm-nm:
        linux-vdso.so.1 (0x00007ffecd6ea000)
        libLLVM.so.19.0 => not found
        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007ffadeb05000)
        libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007ffade923000)
        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007ffade7d4000)
        libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007ffade7b9000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007ffade5c7000)
        /lib64/ld-linux-x86-64.so.2 (0x00007ffadeb5a000)



Seems the llvm package rom llvm repo shadows the one from the repo, installing libllvm19 as a side effect but not updating the ld conf path .

# dpkg -l | grep llvm
ii  libllvm19:amd64                       1:19~++20240722052718+f2eb7c7344a5-1~exp1~20240722172839.1099 amd64        Modular compiler and toolchain technologies, runtime library
ii  llvm                                  1:19.0-58~exp2+0~20240303102334.17~1.gbp3b61b3                amd64        Low-Level Virtual Machine (LLVM)
ii  llvm-19                               1:19~++20240722052718+f2eb7c7344a5-1~exp1~20240722172839.1099 amd64        Modular compiler and toolchain technologies
ii  llvm-19-dev                           1:19~++20240722052718+f2eb7c7344a5-1~exp1~20240722172839.1099 amd64        Modular compiler and toolchain technologies, libraries and headers
ii  llvm-19-linker-tools                  1:19~++20240722052718+f2eb7c7344a5-1~exp1~20240722172839.1099 amd64        Modular compiler and toolchain technologies - Plugins
ii  llvm-19-runtime                       1:19~++20240722052718+f2eb7c7344a5-1~exp1~20240722172839.1099 amd64        Modular compiler and toolchain technologies, IR interpreter
ii  llvm-19-tools                         1:19~++20240722052718+f2eb7c7344a5-1~exp1~20240722172839.1099 amd64        Modular compiler and toolchain technologies, tools
ii  llvm-runtime:amd64                    1:19.0-58~exp2+0~20240303102334.17~1.gbp3b61b3                amd64        Low-Level Virtual Machine (LLVM), bytecode interpreter

Seems everything works so far. Going to cross fingers that it holds.

Manu





[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux