Package Details: lib32-clang-libs-minimal-git 19.0.0_r494546.b4adb42151bb-1

Git Clone URL: https://aur.archlinux.org/lib32-llvm-minimal-git.git (read-only, click to copy)
Package Base: lib32-llvm-minimal-git
Description: clang runtime libraries, 32-bit trunk version
Upstream URL: http://llvm.org/
Licenses: custom:Apache 2.0 with LLVM Exception
Conflicts: lib32-clang, lib32-clang-libs
Provides: lib32-clang-libs
Submitter: Lone_Wolf
Maintainer: Lone_Wolf
Last Packager: Lone_Wolf
Votes: 1
Popularity: 0.000000
First Submitted: 2019-05-14 19:33 (UTC)
Last Updated: 2024-04-02 23:31 (UTC)

Pinned Comments

Lone_Wolf commented on 2024-02-20 11:59 (UTC)

https://github.com/llvm/llvm-project/commit/91a384621e5b762d9c173ffd247cfeadd5f436a2 changed soname and broke this package.

Lone_Wolf commented on 2019-08-21 13:47 (UTC)

When building this you're likely to get test failures.

The ones related to tools/gold are a consequence of certain choices and should be unimportant.

Use --nocheck option to prevent makepkg from running the check() function

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

Lone_Wolf commented on 2024-03-09 13:51 (UTC)

Got another error, this time in clang itself.

Tested building lib32-mesa-minimal-git and found the removal of intel iris and intel-vulkan (anv) allows it to build fine.

I'll disable building lib32-clang-minimal-git lib32-clang-libs-minimal-git and lib32-clang-opencl-headers-minimal-git but keep their lines in the PKGBUILD, hoping upstream will solve the issues.

Lone_Wolf commented on 2024-03-09 12:39 (UTC)

I had troubles with clean chroot building and a build vm aborted due to lack of space/memory. I have managed to get a makechrootpkg chroot working, so have been able to test things now.

The error comes from a file that is generated during build. A search for the filename in the source shows that it belongs to clang-tidy which is part of clang-tools-extra .

Am currently building without clang-tools-extra to see if there are other build errors.

d3vilguard commented on 2024-03-05 12:28 (UTC) (edited on 2024-03-05 16:09 (UTC) by d3vilguard)

Building fails, building in a clean chroot on an Arch install from a few days:

[ 86%] Built target llvm-readobj make: *** [Makefile:156: all] Error 2 make: Leaving directory '/build/lib32-llvm-minimal-git/src/_build' ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Build failed, check /home/georgi/Documents/chroot/georgi/build

Have compiled llvm-minimal-git before that, have linked all the compiled packages (excluding llvm-minimal-git-debug). PS, also tried with it linked - still fails.

xenu commented on 2024-03-05 09:01 (UTC)

Also getting the error mentioned by others. Looking at ldconfig:

ldconfig -p | grep libLLVM

    libLLVMSPIRVLib.so.19.0 (libc6,x86-64) => /usr/lib/libLLVMSPIRVLib.so.19.0
    libLLVMSPIRVLib.so.19 (libc6) => /usr/lib32/libLLVMSPIRVLib.so.19
    libLLVMSPIRVLib.so (libc6,x86-64) => /usr/lib/libLLVMSPIRVLib.so
    libLLVMSPIRVLib.so (libc6) => /usr/lib32/libLLVMSPIRVLib.so
    libLLVM.so.19.0 (libc6,x86-64) => /usr/lib/libLLVM.so.19.0
    libLLVM-19.so (libc6) => /usr/lib32/libLLVM-19.so
    libLLVM-16.so (libc6,x86-64) => /usr/lib/libLLVM-16.so
    libLLVM-16.so (libc6) => /usr/lib32/libLLVM-16.so

Should there be a libLLVM-19.so for x86-64 as well?

insanemal commented on 2024-03-03 00:24 (UTC)

Same.

I have a somewhat sneaking suspicion that Lone_Wolf's build environment isn't 100% clean. Not having a go, but it's the only explanation of why it works for Lone_Wolf and not other people.

@Lone_wolf, could you do an experiment and spin up an Arch VM and build it 100% clean? Or any other way you chose to do it, but like totally clean. No previous versions of the minimal packages, just building llvm-minimal-git and lib32-llvm-minimal-git. Not even the rest of the mesa bits, just those two things.

It's either some extra step or thing you're building/have built or some extra dep or something that we are missing that isn't documented.

karrypto commented on 2024-03-03 00:06 (UTC)

Still getting the same error, even with that particular combination of versions.

Lone_Wolf commented on 2024-03-02 22:15 (UTC)

It should build now.

I juist build llvm-minimal-git 57f599d6443a and lib32-llvm-minimal-git d89b771ef5fe succesfully.

insanemal commented on 2024-03-02 08:12 (UTC)

I cannot get this to compile.

Just keep getting the file not found :libLLVM.so.19.0 error.

Is there a specific hash I should be trying to build? Or something.

I'm building llvm-minimal-git then lib32-llvm-minimal-git immediately after. I'm using ccm to do the building.

Lone_Wolf commented on 2024-02-20 15:17 (UTC)

Try removing clang-opencl-headers-minimal-git .

Incase you have opencl-rusticl-mesa-minimal-git installed you will also have to remove that temporarily.

xenu commented on 2024-02-20 14:23 (UTC) (edited on 2024-02-20 14:26 (UTC) by xenu)

edit: nevermind, manually deleted those files and reinstalled both lib32 and non-lib32 without issue.

When trying to install the package lib32-clang-opencl-headers-minimal-git (compiled from commit before the problematic one mentioned in your 2024-02-20 comment) I get the following error:

error: failed to commit transaction (conflicting files)

lib32-clang-opencl-headers-minimal-git: /usr/include/clang/Basic/OpenCLExtensionTypes.def exists in filesystem (owned by clang-opencl-headers-minimal-git)

lib32-clang-opencl-headers-minimal-git: /usr/include/clang/Basic/OpenCLExtensions.def exists in filesystem (owned by clang-opencl-headers-minimal-git)

lib32-clang-opencl-headers-minimal-git: /usr/include/clang/Basic/OpenCLImageTypes.def exists in filesystem (owned by clang-opencl-headers-minimal-git)

lib32-clang-opencl-headers-minimal-git: /usr/include/clang/Basic/OpenCLOptions.h exists in filesystem (owned by clang-opencl-headers-minimal-git)