Package Details: lib32-llvm-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: Low Level Virtual Machine runtime library 32-bit trunk version
Upstream URL: http://llvm.org/
Licenses: custom: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-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-02-20 11:59 (UTC)

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

karrypto commented on 2024-02-20 01:29 (UTC) (edited on 2024-02-20 11:46 (UTC) by karrypto)

I was trying to build 19.0.0_r490079.5e83b26584c9-1 last night and got this error. Tried again with 19.0.0_r490124.d022f32c73c5-1 this afternoon and same error, both times compiling against the corresponding version of llvm-minimal-git. Will try again tomorrow.

EDIT: Getting this now (version 19.0.0_r490208.b3e4686af37c-1):

[ 88%] Generating Confusables.inc
../../../../../../bin/clang-tidy-confusable-chars-gen: error while loading shared libraries: libLLVM.so.19.0: cannot open shared object file: No such file or directory
make[2]: *** [tools/clang/tools/extra/clang-tidy/misc/CMakeFiles/genconfusable.dir/build.make:74: tools/clang/tools/extra/clang-tidy/misc/Confusables.inc] Error 127
make[1]: *** [CMakeFiles/Makefile2:56190: tools/clang/tools/extra/clang-tidy/misc/CMakeFiles/genconfusable.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[...]
make: *** [Makefile:156: all] Error 2
make: Leaving directory '/tmp/makepkg/lib32-llvm-minimal-git/src/_build'
==> ERROR: A failure occurred in build().
    Aborting...

llvm-minimal-git & llvm-libs-minimal-git are installed and libLLVM.so.19.0 exists in /usr/lib/

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

Although very similar, karrypto & sevy2010 have different errors.

Look carefully at the udefined symbol, they differ in the 2 errors.

I've seen similar errors before, but am not sure of the real cause for them.

Try rebuilding llvm-minimal-git to latest, then lib32-llvm-minimal-git again.

sevy2010 commented on 2024-02-20 00:09 (UTC)

getting the same error as karrypto:

./../../../bin/clang-ast-dump: symbol lookup error: ../../../../bin/clang-ast-dump: undefined symbol: _ZN4llvm13StringMapImpl4hashENS_9StringRefE, version LLVM_19
make[2]: *** [tools/clang/lib/Tooling/CMakeFiles/obj.clangTooling.dir/build.make:81: tools/clang/lib/Tooling/ASTNodeAPI.json] Error 127
make[1]: *** [CMakeFiles/Makefile2:49159: tools/clang/lib/Tooling/CMakeFiles/obj.clangTooling.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:156: all] Error 2

Version: 19.0.0_r490156.61a96e5afadd-1

Lone_Wolf commented on 2024-02-19 22:21 (UTC)

can't reproduce with 19.0.0_r490150.8de230093f58-1 .

Which version were you trying to build ?

karrypto commented on 2024-02-19 13:59 (UTC)

Getting the following error while building:

[ 91%] ASTNodeAPI.json
../../../../bin/clang-ast-dump: symbol lookup error: ../../../../bin/clang-ast-dump: undefined symbol: _ZN4llvm6AMDGPU23getArchFamilyNameAMDGCNENS0_7GPUKindE, version LLVM_19
make[2]: *** [tools/clang/lib/Tooling/CMakeFiles/obj.clangTooling.dir/build.make:81: tools/clang/lib/Tooling/ASTNodeAPI.json] Error 127
make[1]: *** [CMakeFiles/Makefile2:49158: tools/clang/lib/Tooling/CMakeFiles/obj.clangTooling.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 91%] Built target obj.clangReorderFields
[ 91%] Built target obj.clangTidyPerformanceModule
make: *** [Makefile:156: all] Error 2
make: Leaving directory '/tmp/makepkg/lib32-llvm-minimal-git/src/_build'
==> ERROR: A failure occurred in build().
    Aborting...

eclairevoyant commented on 2023-01-18 22:32 (UTC) (edited on 2023-01-18 22:33 (UTC) by eclairevoyant)

No, it has nothing to do with the chroot. I believe the error message is somewhat misleading as it only shows up when I build with LTO on. Trimmed log is here if you're curious: https://pastebin.com/XEJv2JVL

Lone_Wolf commented on 2023-01-18 11:44 (UTC) (edited on 2023-01-18 11:46 (UTC) by Lone_Wolf)

The out of space is due to chroots using systemd-nspawn which defaults to reserving 10% of available ram for /tmp. https://bbs.archlinux.org/viewtopic.php?id=277304 has more info.

I will look into building with lto disabled and check if lib32-zstd should be a makedepend.

eclairevoyant commented on 2023-01-17 22:41 (UTC)

I would also suggest adding !lto to the options array, otherwise it says I'm out of free space despite having over 120G free. Similar approach is done in llvm-minimal-git.

eclairevoyant commented on 2023-01-17 20:41 (UTC) (edited on 2023-01-17 21:13 (UTC) by eclairevoyant)

@0xSigi I also have issues building in a clean chroot (via aurutils): https://pastebin.com/uCSkV6P4

Based on this message:

/usr/bin/ld: /usr/lib/libzstd.so: error adding symbols: file in wrong format

it looks like we are missing a makedep (lib32-zstd).