Package Details: clang40 4.0.1-5

Git Clone URL: https://aur.archlinux.org/llvm40.git (read-only)
Package Base: llvm40
Description: C language family frontend for LLVM
Upstream URL: http://clang.llvm.org/
Licenses: custom:University of Illinois/NCSA Open Source License
Submitter: arthaud
Maintainer: arthaud
Last Packager: arthaud
Votes: 4
Popularity: 0.310839
First Submitted: 2017-10-05 17:35
Last Updated: 2018-05-14 03:28

Latest Comments

arthaud commented on 2018-05-14 03:33

I just fixed the compile error. See https://bugzilla.redhat.com/show_bug.cgi?id=1540620

Unfortunately, some tests now fail and I cannot figure out why. Help would be appreciated.

@Star-X: This is a split package containing llvm40, llvm40-libs and clang40. This way, you just have to build everything once. See the Archlinux wiki for further information.

Star-X commented on 2018-05-09 19:31

Can't seem to get this to compile, at all. Also, this is 100% identical to llvm40-libs, so why it needs itself as a dependency is beyond me.

The error I get that kills the compiler is below:

[tools/lli/CMakeFiles/lli.dir/build.make:63: tools/lli/CMakeFiles/lli.dir/lli.cpp.o] Error 1

There's a bit after it, but the particular file above is where it just stops dead.

m3thodic commented on 2018-01-07 22:19

Just a heads up, I had to install aur/icu59 in order for the check() function to complete successfully. I managed to salvage some error output from my terminal history buffer: Exit Code: 1

Command Output (stderr):

/home/fakeroot/AUR/clang40/src/llvm-4.0.1.src/test/tools/llvm-objdump/malformed-archives.test:8:11: error: expected string not found in input

bogus1: libbogus1.a': truncated or malformed archive (characters in size field in archive header are not all decimal numbers: '10%' for archive member header at offset 8)
      ^

<stdin>:1:1: note: scanning from here /home/fakeroot/AUR/clang40/src/llvm-4.0.1.src/build/./bin/llvm-objdump: error while loading shared libraries: libicui18n.so.59: cannot open shared object file: No such file or directory</stdin>

Enverex commented on 2017-11-14 13:12

Failing here with the same ocamldoc error. Is this due to a missing buildtime dependency?

Removing ocaml works around this (just tested to confirm). Basically if ocaml is installed it'll try to install things related to it after the build, but it's not actually built unless specified, so it'll fail.

The PKGBUILD needs to be modified to build the ocaml docs if ocaml is installed to avoid this issue. More info here - http://thread.gmane.org/gmane.comp.compilers.llvm.devel/92297

Strunkenbold commented on 2017-11-11 16:31

Same problem here. Couldnt find a way to fix that.

CMake Error at docs/cmake_install.cmake:36 (file):
file INSTALL cannot find
"/tmp/yaourt-tmp-greg/aur-llvm40/src/llvm-4.0.1.src/build/docs/ocamldoc/html/.".
Call Stack (most recent call first):
cmake_install.cmake:68 (include)

agapito commented on 2017-11-10 19:42

It works for me too.

arthaud commented on 2017-11-07 07:49

Hi @cosarara97,

I cannot reproduce the error. I tried with both yaourt and pacaur. It works for me.

cosarara97 commented on 2017-11-04 14:46

Build failed here:

Creating libLLVM.so
-- Installing: /home/jaume/.cache/pacaur/llvm40/pkg/llvm40/usr/lib/llvm-4.0/lib/libLLVM-4.0.so
-- Installing: /home/jaume/.cache/pacaur/llvm40/pkg/llvm40/usr/lib/llvm-4.0/bin/llvm-size
-- Installing: /home/jaume/.cache/pacaur/llvm40/pkg/llvm40/usr/lib/llvm-4.0/bin/llvm-split
-- Installing: /home/jaume/.cache/pacaur/llvm40/pkg/llvm40/usr/lib/llvm-4.0/bin/llvm-stress
-- Installing: /home/jaume/.cache/pacaur/llvm40/pkg/llvm40/usr/lib/llvm-4.0/bin/llvm-strings
-- Installing: /home/jaume/.cache/pacaur/llvm40/pkg/llvm40/usr/lib/llvm-4.0/bin/llvm-symbolizer
-- Installing: /home/jaume/.cache/pacaur/llvm40/pkg/llvm40/usr/lib/llvm-4.0/bin/llvm-xray
-- Installing: /home/jaume/.cache/pacaur/llvm40/pkg/llvm40/usr/lib/llvm-4.0/bin/obj2yaml
-- Installing: /home/jaume/.cache/pacaur/llvm40/pkg/llvm40/usr/lib/llvm-4.0/bin/opt
-- Installing: /home/jaume/.cache/pacaur/llvm40/pkg/llvm40/usr/lib/llvm-4.0/bin/sancov
-- Installing: /home/jaume/.cache/pacaur/llvm40/pkg/llvm40/usr/lib/llvm-4.0/bin/sanstats
-- Installing: /home/jaume/.cache/pacaur/llvm40/pkg/llvm40/usr/lib/llvm-4.0/bin/verify-uselistorder
-- Installing: /home/jaume/.cache/pacaur/llvm40/pkg/llvm40/usr/lib/llvm-4.0/bin/yaml2obj
CMake Error at docs/cmake_install.cmake:36 (file):
file INSTALL cannot find
"/home/jaume/.cache/pacaur/llvm40/src/llvm-4.0.1.src/build/docs/ocamldoc/html/.".
Call Stack (most recent call first):
cmake_install.cmake:68 (include)


make: *** [Makefile:129: install] Error 1
make: Leaving directory '/home/jaume/.cache/pacaur/llvm40/src/llvm-4.0.1.src/build'
==> ERROR: A failure occurred in package_llvm40().
Aborting...
:: failed to build llvm40-libs package(s)