Package Details: clang40 4.0.1-7

Git Clone URL: (read-only)
Package Base: llvm40
Description: C language family frontend for LLVM
Upstream URL:
Licenses: custom:University of Illinois/NCSA Open Source License
Submitter: arthaud
Maintainer: arthaud
Last Packager: arthaud
Votes: 4
Popularity: 0.051051
First Submitted: 2017-10-05 17:35
Last Updated: 2018-08-15 17:17

Latest Comments

1 2 Next › Last »

arthaud commented on 2018-06-16 22:22

All the tests should pass now.

Strunkenbold commented on 2018-06-12 13:23

Can this be fixed?

Failing Tests (1): LLVM-Unit :: Analysis/AnalysisTests/ValueTracking.GuaranteedToTransferExecutionToSuccessor

arthaud commented on 2018-06-01 15:53

Great, thanks a lot @BlackLotus89. I'm not using testing so I can't test, but I think we still have an issue with ValueTracking.GuaranteedToTransferExecutionToSuccessor

BlackLotus89 commented on 2018-06-01 10:33

It's fixed in testing. Compiling llvm40 now to check if it passes now.

arthaud commented on 2018-05-29 17:15

I added patches to fix Mips-related tests.

There are still tests that fail because of binutils (thanks @BlackLotus89)

There is also test failures in Analysis/AnalysisTests/ValueTracking.GuaranteedToTransferExecutionToSuccessor

BlackLotus89 commented on 2018-05-22 16:52

Because of binutils

Fixed on trunk; will backport to 2.30.

So maybe it will be fixed soon(tm) even thought it should be fixed already.

The message that it will be backported was written on the 26th of March... which is the binutils codebase archlinux uses is from january. So we have to get the patch into archlinux binutils

Here is the patch.

I opened a "bug report" here

arthaud commented on 2018-05-14 03:33

I just fixed the compile error. See

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: 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 -