Notice: Undefined variable: name in /srv/http/vhosts/ on line 248

Package Details: clang-svn 4.0.0svn_r288913-1

Git Clone URL: (read-only)
Package Base: llvm-svn
Description: C language family frontend for LLVM
Upstream URL:
Keywords: clang llvm
Licenses: custom:University of Illinois
Groups: llvm-toolchain-svn
Conflicts: clang
Provides: clang
Replaces: clang
Submitter: None
Maintainer: kerberizer
Last Packager: kerberizer
Votes: 71
Popularity: 0.191388
First Submitted: 2007-08-02 07:15
Last Updated: 2016-12-07 17:25

Dependencies (13)

Required by (221)

Sources (5)

Pinned Comments

kerberizer commented on 2016-08-11 00:39


Please check the following page for information on:
* possible problems with this package;
* recommendations on how to build it;
* availability of binary packages.

You may also use it for bug reports and pull requests.

Latest Comments

1 2 3 4 5 6 ... Next › Last »

kerberizer commented on 2016-12-07 17:29

[NOTICE] python2-requests added as a build dependency, otherwise Sphinx fails when generating documentation with "pkg_resources.DistributionNotFound: The 'requests' distribution was not found and is required by Sphinx"

kerberizer commented on 2016-11-10 13:14

[IMPORTANT] Mesa again builds correctly with the latest {,lib32-}llvm-svn, so it's safe to update your LLVM packages.


NB: You might need this tiny patch to mesa-git's PKGBUILD, which I'm sure @Lone_Wolf will apply shortly.

diff --git a/PKGBUILD b/PKGBUILD
index 0a8836e..96d5c8d 100644
@@ -168,7 +168,7 @@ package_mesa-vulkan-radeon-git() {

install -m755 -d ${pkgdir}/usr/share/vulkan/icd.d
- mv -v ${srcdir}/fakeinstall/usr/share/vulkan/icd.d/radeon_icd.json ${pkgdir}/usr/share/vulkan/icd.d/
+ mv -v ${srcdir}/fakeinstall/usr/share/vulkan/icd.d/radeon_icd.*.json ${pkgdir}/usr/share/vulkan/icd.d/

install -m755 -d ${pkgdir}/usr/lib
mv -v ${srcdir}/fakeinstall/usr/lib/ ${pkgdir}/usr/lib/

kerberizer commented on 2016-11-07 19:50

[NOTICE] Update for the LLVM r286062 issue with Mesa is now in code review:

Edit: Updated the link.

kerberizer commented on 2016-11-07 14:45

[HEADS UP] LLVM r286062 breaks Mesa

If you use llvm-svn with Mesa, particularly for the AMD open source driver, DO NOT upgrade LLVM to version >=r286062. Upgrading will not only break the existing driver, but will also prevent you from building Mesa altogether (in both cases there will be error messages related to missing LLVMAddFunctionAttr).

If you have already upgraded to a version >=r286062, here are some possible solutions:
1. Don't restart X: everything should mostly keep running, since the older shared lib has already been loaded in memory. A fix for Mesa should emerge in the meantime, probably in a day or two at most.
2. Return to an older LLVM version: if you don't regularly clear /var/cache/pacman/pkg, you should be able to find there package versions earlier than r286062.
3. Switch to llvm/mesa from the official repositories. This may be somewhat tricky, depending on what exact packages you had installed. Try replacing as much as possible of the installed llvm-svn/mesa-git packages with their llvm/mesa counterparts. Remove the -svn/-git packages that don't have an equivalent 'provides' in the official repos. Of course, this might break some functionality for you.

I'll also consider keeping older versions of the llvm-svn* packages in the binary repo as a backup.


kerberizer commented on 2016-10-06 14:20

[HEADS UP] AMD open source driver users: Upgrade of llvm-libs-svn may corrupt your screen

I'm not sure if this is a genuine issue or some random problem with my specific GPU, but with the last upgrade I've just made, the screen turned into complete mess the moment the LLVM shared lib (I suppose) was upgraded. One could actually see the windows been switched and menus opened, but extremely distorted. It was also a relatively soft issue: logout and login back into Gnome fixed it.

Again, this might not relate to you, but be warned: I suggest upgrading either from the console, or at least without anything else open, so that you can reload the GUI or restart the system without much risk to lose data.

kerberizer commented on 2016-10-06 14:11

[NOTICE] The problem with libLTO being present in both 'llvm-libs-svn' and 'llvm-svn' has been fixed. This pertains as well to lib32-llvm-svn.

kerberizer commented on 2016-10-06 08:09

@yousry, thanks for you comment. Let me see if I got you right: if you build Clang with this PKGBUILD, it segfaults on compiling your game, but if you build it on your own, Clangs compiles your game without problems, right?

I'm afraid I can't spot any differences in how you checkout LLVM et al. compared to the PKGBUILD, except for the obvious lack of libc++ in the latter (it also uses svn export, but this shouldn't matter).

Could you possibly share the full CMake command that you use and what make commands you run afterwards as well, please? Might be more convenient if you file a bug here...

I've already opened an issue myself for the libc++ inclusion. This is a good idea, and I'll see what I can do.

yousry commented on 2016-10-06 06:55

I'm currently trying to create a package for my game: Clang is hereby a necessary part of the toolchain. Unfortunately a build with this version of clang results in a segfault.

I identified several differences to my build process. I use the following package structure:

I use CMAKE (without Ocaml) with ffi and rt enabled.

Please also consider the inclusion of libc++. This could become useful for system independent builds (For example to support BSDs).

kerberizer commented on 2016-10-05 21:11

[NOTICE] There might be currently some problem with the package, where on installation it gives errors like "/usr/lib/ exists in both 'llvm-libs-svn' and 'llvm-svn'". I'll look into this tomorrow.

farseerfc commented on 2016-09-29 03:30

@kerberizer thanks for fixing this