atm that is only possible by removing iris & anv build from it as I have done for lib32-mesa-minimal-git .
Search Criteria
Package Details: lib32-llvm-libs-minimal-git 20.0.0_r510980.1b8e26ff26be-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/lib32-llvm-minimal-git.git (read-only, click to copy) |
---|---|
Package Base: | lib32-llvm-minimal-git |
Description: | Low Level Virtual Machine runtime library 32-bit trunk version |
Upstream URL: | http://llvm.org/ |
Licenses: | Apache-2.0 WITH LLVM-exception |
Provides: | lib32-llvm-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-09-07 18:16 (UTC) |
Dependencies (17)
- lib32-gcc-libs (lib32-gcc-libs-gitAUR, lib32-gccrs-libs-gitAUR, lib32-gcc-libs-snapshotAUR)
- lib32-glibc (lib32-glibc-gitAUR, lib32-glibc-linux4AUR, lib32-glibc-eacAUR, lib32-glibc-eac-binAUR, lib32-glibc-eac-rocoAUR)
- lib32-libffi
- lib32-libxml2
- lib32-ncurses (lib32-ncurses-gitAUR)
- lib32-zlib
- lib32-zstd
- cmake (cmake-gitAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- lib32-gcc-libs (lib32-gcc-libs-gitAUR, lib32-gccrs-libs-gitAUR, lib32-gcc-libs-snapshotAUR) (make)
- lib32-libffi (make)
- lib32-libxml2 (make)
- lib32-zlib (make)
- lib32-zstd (make)
- llvm-minimal-gitAUR (make)
- python (python37AUR, python311AUR, python310AUR) (make)
- lib32-llvm-libs (lib32-llvm-libs-gitAUR, lib32-llvm-libs-minimal-gitAUR) (optional) – for LLVMgold linker
Required by (19)
- lib32-amdonly-gaming-libva-mesa-driver-git (requires lib32-llvm-libs)
- lib32-amdonly-gaming-mesa-git (requires lib32-llvm-libs)
- lib32-amdonly-gaming-mesa-vdpau-git (requires lib32-llvm-libs)
- lib32-amdonly-gaming-vulkan-radeon-git (requires lib32-llvm-libs)
- lib32-amdonly-gaming-vulkan-swrast-git (requires lib32-llvm-libs)
- lib32-clang-libs-minimal-git
- lib32-llvm-libs-minimal-git (requires lib32-llvm-libs) (optional)
- lib32-llvm-minimal-git
- lib32-mesa-amd-bc250 (requires lib32-llvm-libs)
- lib32-mesa-amd-bc250 (requires lib32-llvm-libs) (make)
- lib32-mesa-git (requires lib32-llvm-libs)
- lib32-mesa-minimal-git
- lib32-spirv-llvm-translator-git (requires lib32-llvm-libs)
- lib32-spirv-llvm-translator-minimal-git
- lib32-vulkan-radeon-amd-bc250 (requires lib32-llvm-libs)
- lib32-vulkan-radeon-amd-bc250 (requires lib32-llvm-libs) (make)
- wine-cachyos (requires lib32-llvm-libs)
- wine-cachyos-opt (requires lib32-llvm-libs)
- wine-osu-spectator (requires lib32-llvm-libs) (make)
Sources (1)
Lone_Wolf commented on 2024-03-12 09:41 (UTC)
insanemal commented on 2024-03-12 02:57 (UTC)
Hi @Lone_Wolf, thanks for your work.
So in regards to the larger goal of building lib32-mesa-git, where is this at? Is that achievable right now?
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.
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