Package Details: clang40 4.0.1-7

Git Clone URL: (read-only, click to copy)
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.000000
First Submitted: 2017-10-05 17:35
Last Updated: 2018-08-15 17:17

Latest Comments

1 2 Next › Last »

ruffy commented on 2020-08-18 13:42

I get the following error:

In file included from /build/llvm40/src/llvm-4.0.1.src/projects/compiler-rt/lib/sanitizer_common/
/build/llvm40/src/llvm-4.0.1.src/projects/compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h:263:72: error: narrowing conversion of ‘-1’ from ‘int’ to ‘long unsigned int’ [-Wnarrowing]
263 |     typedef char IMPL_PASTE(assertion_failed_##_, line)[2*(int)(pred)-1]

Does anybody know why?

Moxon commented on 2019-03-25 08:15

I'd like to use this package, but cannot get it to pass it's tests cleanly. It fails on

LLVM :: Bindings/Go/go.test

My system has

$ go version
go version go1.12.1 linux/amd64

This is a more detailed output:

arthaud commented on 2019-02-09 03:36

Hi @kaptoxic,

I cannot reproduce the error. libffi is a dependency of the package, so you should have it installed.

The PKGBUILD uses the following command to find the include directory:

$ pkg-config --variable=includedir libffi

Please try running it. On my machine, I'm getting: /usr/lib/libffi-3.2.1/include

kaptoxic commented on 2019-02-08 19:42


CMake Error at cmake/config-ix.cmake:287 (message):
  libffi includes are not found.

Is this a mismatch of libffi version?

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