Package Details: clang40 4.0.1-8

Git Clone URL: https://aur.archlinux.org/llvm40.git (read-only, click to copy)
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: 3
Popularity: 0.000000
First Submitted: 2017-10-05 17:35 (UTC)
Last Updated: 2020-12-13 06:07 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

BlackLotus89 commented on 2018-06-01 10:33 (UTC)

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

arthaud commented on 2018-05-29 17:15 (UTC)

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 (UTC) (edited on 2018-05-22 17:05 (UTC) by BlackLotus89)

Because of binutils https://bugs.llvm.org/show_bug.cgi?id=36166

https://sourceware.org/bugzilla/show_bug.cgi?id=22868

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

https://ftp.gnu.org/gnu/binutils/binutils-2.30.tar.xz which is the binutils codebase archlinux uses is from january. So we have to get the patch into archlinux binutils

Here https://sourceware.org/bugzilla/show_bug.cgi?id=22868#c4 is the patch.

I opened a "bug report" here https://bugs.archlinux.org/task/58696

arthaud commented on 2018-05-14 03:33 (UTC) (edited on 2018-05-14 03:33 (UTC) by arthaud)

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 (UTC) (edited on 2018-05-09 19:32 (UTC) by Star-X)

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 (UTC)

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 (UTC) (edited on 2017-11-14 13:22 (UTC) by Enverex)

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 (UTC)

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 (UTC)

It works for me too.

arthaud commented on 2017-11-07 07:49 (UTC)

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