Package Base Details: lib32-llvm-git

Git Clone URL: https://aur.archlinux.org/lib32-llvm-git.git (read-only, click to copy)
Keywords: clang git llvm
Submitter: yurikoles
Maintainer: Lone_Wolf (rjahanbakhshi)
Last Packager: rjahanbakhshi
Votes: 12
Popularity: 0.017996
First Submitted: 2019-01-11 15:50
Last Updated: 2021-01-27 18:01

Latest Comments

« First ‹ Previous ... 2 3 4 5 6 7 8 Next › Last »

oxalin commented on 2015-04-16 01:04

Still struggling to switch to cmake. However, I made some progress and I'm communicating with the LLVM devs about some changes.

That said, I had a look at the code repository. Around the time the bug appeared (with libclang_rt.asan...), there was a lot of clean up going on. In other words, even with a working cmake script, it may not work properly. I'm now thinking about using autotools as it was and bisecting the compiler-rt git code...

qubodup commented on 2015-04-09 20:16

same here http://codepad.org/skuBnpHY - slightly different lines though it seems

oxalin commented on 2015-04-07 07:05

After hearing from the LLVM dev team, it seems that:
- there might be a bug appearing with autotools;
- we should move to cmake, since autotools are slowly being deprecated;

See https://llvm.org/bugs/show_bug.cgi?id=23063

I'll work on a PKGBUILD that would use cmake and I'll give you some info about it, since it seems to be the way to go. I'll work on the autotools bug later on the LLVM side.

oxalin commented on 2015-03-29 17:58

I tried to build LLVM from scratch outside of this package and it fails the same way as Behem0th and I have reported. I'm filing a bug on LLVM project's side.

oxalin commented on 2015-03-16 03:08

I get the same error as Behem0th since a couple of weeks. However, building the native llvn-svn works without a glitch.


Also, I'd like to suggest two simple modifications to the PKGBUILD:
- svn export "${srcdir}/clang" tools/clang
- svn export "${srcdir}/compiler-rt" projects/compiler-rt
+ svn export --force "${srcdir}/clang" tools/clang
+ svn export --force "${srcdir}/compiler-rt" projects/compiler-rt

This will prevent an error from svn complaining about folders already existing when trying to restart the build if it has failed.

Behem0th commented on 2015-02-14 04:57

What wrong?

llvm[4]: Copying runtime library linux/san-i386 to build dir
llvm[4]: Copying runtime library linux/builtins-i386 to build dir
cp: llvm[4]: Copying runtime library linux/profile-i386 to build dir
cannot stat '/var/Build/lib32-llvm-svn/src/llvm/tools/clang/runtime/compiler-rt/clang_linux/asan_cxx-i386/libcompiler_rt.a': No such file or directory
llvm[4]: Copying runtime library linux/asan-i386 to build dir
Makefile:243: recipe for target '/var/Build/lib32-llvm-svn/src/llvm/Release/lib/clang/3.7.0/lib/linux/libclang_rt.asan_cxx-i386.a' failed
make[4]: *** [/var/Build/lib32-llvm-svn/src/llvm/Release/lib/clang/3.7.0/lib/linux/libclang_rt.asan_cxx-i386.a] Error 1
make[4]: *** Waiting for unfinished jobs....
llvm[4]: Copying runtime library linux/ubsan_cxx-i386 to build dir
cp: cannot stat '/var/Build/lib32-llvm-svn/src/llvm/tools/clang/runtime/compiler-rt/clang_linux/san-i386/libcompiler_rt.a': No such file or directory
cp: cannot stat '/var/Build/lib32-llvm-svn/src/llvm/tools/clang/runtime/compiler-rt/clang_linux/profile-i386/libcompiler_rt.a': No such file or directory
cp: cannot stat '/var/Build/lib32-llvm-svn/src/llvm/tools/clang/runtime/compiler-rt/clang_linux/builtins-i386/libcompiler_rt.a': No such file or directory
Makefile:243: recipe for target '/var/Build/lib32-llvm-svn/src/llvm/Release/lib/clang/3.7.0/lib/linux/libclang_rt.profile-i386.a' failed
make[4]: *** [/var/Build/lib32-llvm-svn/src/llvm/Release/lib/clang/3.7.0/lib/linux/libclang_rt.profile-i386.a] Error 1
Makefile:243: recipe for target '/var/Build/lib32-llvm-svn/src/llvm/Release/lib/clang/3.7.0/lib/linux/libclang_rt.san-i386.a' failed
make[4]: *** [/var/Build/lib32-llvm-svn/src/llvm/Release/lib/clang/3.7.0/lib/linux/libclang_rt.san-i386.a] Error 1
Makefile:243: recipe for target '/var/Build/lib32-llvm-svn/src/llvm/Release/lib/clang/3.7.0/lib/linux/libclang_rt.builtins-i386.a' failed
make[4]: *** [/var/Build/lib32-llvm-svn/src/llvm/Release/lib/clang/3.7.0/lib/linux/libclang_rt.builtins-i386.a] Error 1
cp: cannot stat '/var/Build/lib32-llvm-svn/src/llvm/tools/clang/runtime/compiler-rt/clang_linux/ubsan-i386/libcompiler_rt.a': No such file or directory
Makefile:243: recipe for target '/var/Build/lib32-llvm-svn/src/llvm/Release/lib/clang/3.7.0/lib/linux/libclang_rt.ubsan-i386.a' failed
make[4]: *** [/var/Build/lib32-llvm-svn/src/llvm/Release/lib/clang/3.7.0/lib/linux/libclang_rt.ubsan-i386.a] Error 1
cp: cannot stat '/var/Build/lib32-llvm-svn/src/llvm/tools/clang/runtime/compiler-rt/clang_linux/asan-i386/libcompiler_rt.a': No such file or directory
cp: cannot stat '/var/Build/lib32-llvm-svn/src/llvm/tools/clang/runtime/compiler-rt/clang_linux/ubsan_cxx-i386/libcompiler_rt.a': No such file or directory
Makefile:243: recipe for target '/var/Build/lib32-llvm-svn/src/llvm/Release/lib/clang/3.7.0/lib/linux/libclang_rt.asan-i386.a' failed
make[4]: *** [/var/Build/lib32-llvm-svn/src/llvm/Release/lib/clang/3.7.0/lib/linux/libclang_rt.asan-i386.a] Error 1
Makefile:243: recipe for target '/var/Build/lib32-llvm-svn/src/llvm/Release/lib/clang/3.7.0/lib/linux/libclang_rt.ubsan_cxx-i386.a' failed
make[4]: *** [/var/Build/lib32-llvm-svn/src/llvm/Release/lib/clang/3.7.0/lib/linux/libclang_rt.ubsan_cxx-i386.a] Error 1
rm /var/Build/lib32-llvm-svn/src/llvm/Release/lib/clang/3.7.0/lib/linux/.dir
make[4]: Leaving directory '/var/Build/lib32-llvm-svn/src/llvm/tools/clang/runtime/compiler-rt'
/var/Build/lib32-llvm-svn/src/llvm/Makefile.rules:932: recipe for target 'compiler-rt/.makeall' failed
make[3]: *** [compiler-rt/.makeall] Error 2
make[3]: Leaving directory '/var/Build/lib32-llvm-svn/src/llvm/tools/clang/runtime'
/var/Build/lib32-llvm-svn/src/llvm/Makefile.rules:883: recipe for target 'all' failed
make[2]: *** [all] Error 1
make[2]: Leaving directory '/var/Build/lib32-llvm-svn/src/llvm/tools/clang'
/var/Build/lib32-llvm-svn/src/llvm/Makefile.rules:932: recipe for target 'clang/.makeall' failed
make[1]: *** [clang/.makeall] Error 2
make[1]: Leaving directory '/var/Build/lib32-llvm-svn/src/llvm/tools'
/var/Build/lib32-llvm-svn/src/llvm/Makefile.rules:883: recipe for target 'all' failed
make: *** [all] Error 1
==> ERROR: A failure occurred in build().
Aborting...

Lone_Wolf commented on 2015-01-16 12:28

The conflict/problem is due to the way pacman handles un-installed dependencies.

Try building lib32-llvm-svn in a clean changeroot (this will build against stock ;llvm) then installing it on a live system where llvm-svn or llvm-libs-svn are present.

Best case scenario is then that you'll be missing functionality, errrors and crashes wil also occur.
I had this happen with my mesa-*-git versions about 2 years ago.

Krejzi commented on 2015-01-16 01:22

Well, just make sure that correct llvm is installed. It doesn't seem like problem with this package but with your package set on your system.

Lone_Wolf commented on 2015-01-16 00:48

On my system i don't haver any llvm installed (it's installed as makedepend when i build mesa-*-git but not needed at runtime so it's removed after build)

pacman seeks for a non-installed dependency, finds it in extra repo and stops looking.
then it tries to install llvm from extra.

this leads to a conflict with my mesa-*-git package that depends on llvm-libs-svn.

On systems where llvm-svn is installed therer's no problem.

Krejzi commented on 2015-01-16 00:24

llvm-svn provides llvm, I don't get how this could be an issue?