Package Details: llvmlinux-git 4.3.rc3.r42.g3225031-1

Git Clone URL: https://aur.archlinux.org/llvmlinux-git.git (read-only)
Package Base: llvmlinux-git
Description: The Linux Kernel built with (native) LLVM/Clang
Upstream URL: http://llvm.linuxfoundation.org/index.php/Main_Page
Keywords: clang kernel linux
Licenses: GPL2
Submitter: WFCody
Maintainer: TrialnError
Last Packager: TrialnError
Votes: 3
Popularity: 0.004476
First Submitted: 2012-07-07 19:50
Last Updated: 2015-09-29 00:16

Latest Comments

TrialnError commented on 2016-02-20 19:15

Why I use the KARCH var?
Simply said it was there before I took the maintainership of this package and I found an equivalent in the linux PKGBUILD from the repo. So it stayed.
In my opinion it's just a temp var (unlike ARCH or CARCH).

Regarding your first question. Couldn't reproduce the issue back then. So some empty file due to an error while downloading. Also kinda an annoying "issue". Since there are no versions for some files, those produce errors (checksum mismatch if old files are still there).

So currently the checksum will fail (since a long time I pushed an update).
Didn't happen because of the issues with i686 which I couldn't resolve until now

mnovick1988 commented on 2016-02-19 06:13

Why are you forcing x86? what if the system is x86_64? the kernel wont boot propery on a x86_64 system(as the libraries will be the wrong elf version)

TrialnError commented on 2016-01-12 15:28

Thanks for the intel.
Will look into it

mnovick1988 commented on 2016-01-08 06:37

linux.tar.gz is empty...

TrialnError commented on 2015-03-24 09:45

Normally this just appears, if the src directory already exists.

But one note. Using yaourt/tmp as the build directory is not the best thing to do. Massive amount of data for downloading, compiling etc. Sure your tmp space is enough?

StatelessCat commented on 2015-03-08 17:38

Hey, thanks for the update, but i can't install it :

Asus Virtuoso 66/100/200 (Xonar) (SND_VIRTUOSO) [N/m/?] n
Digigram VX222 (SND_VX222) [N/m/?] n
Yamaha YMF724/740/744/754 (SND_YMFPCI) [N/m/?] n
#
# configuration written to .config
#
mkdir: cannot create directory ‘/tmp/yaourt-tmp-raphael/aur-llvmlinux-git/src/llvmlinux/targets/x86_64/patches/’: File exists
==> ERROR: A failure occurred in prepare().
Aborting...
==> ERROR: Makepkg was unable to build llvmlinux-git.

any ideas to fix this ?
thanks

TrialnError commented on 2014-11-24 08:53

Regarding the size that's right. The reason is it clones the linux kernel. And the history of the kernel is massive. So the used diskspace is quite high.
On the other hand I couldn't build this against pointed releases. the llvmlinux buildscript will then clone the kernel repo...

And to be similar with the repo kernel (config and patches wise) it downloads some of the stuff (like the config)

Regarding the build error. Normally this is fixed when the old src directory gets deleted

olace commented on 2014-11-24 00:45

#
# configuration written to .config
#
mkdir: cannot create directory '/home/olace/Yaourt-TMP/yaourt-tmp-olace/2aur-llvmlinux-git/src/llvmlinux/targets/x86_64/patches/': File exists
==> ERROR: A failure occurred in prepare().
Aborting...

Then I comment the line with make this folder.

So I got:

recipe for target 'state/kernel-build' failed
make: *** [state/kernel-build] Error 1
==> ERROR: A failure occurred in build().
Aborting...


Why this is downloading a bunch of things ?

olace commented on 2014-11-24 00:25

:(

makepkg
==> Making package: llvmlinux-git 3.17.rc4.131.gd030671-1 (Sun Nov 23 22:24:15 BRST 2014)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Updating llvmlinux git repo...
Fetching origin
-> Updating kernel git repo...
Fetching origin
remote: Counting objects: 183, done.
remote: Compressing objects: 100% (68/68), done.
remote: Total 183 (delta 157), reused 131 (delta 115)
Receiving objects: 100% (183/183), 68.63 KiB | 0 bytes/s, done.
Resolving deltas: 100% (157/157), completed with 40 local objects.
From git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux
9f2e0f6..5d01410 master -> master
* [new tag] v3.18-rc6 -> v3.18-rc6
-> Found linux.tar.gz
-> Found llvmlinux.preset
==> Validating source files with md5sums...
llvmlinux ... Skipped
kernel ... Skipped
linux.tar.gz ... FAILED
llvmlinux.preset ... Passed
==> ERROR: One or more files did not pass the validity check!

olace commented on 2014-11-22 18:59

I have to ask, this is right? :

du -ch aur-llvmlinux-git/*
8,0K aur-llvmlinux-git/kernel/info
44K aur-llvmlinux-git/kernel/hooks
4,0K aur-llvmlinux-git/kernel/objects/info
968M aur-llvmlinux-git/kernel/objects/pack
968M aur-llvmlinux-git/kernel/objects
4,0K aur-llvmlinux-git/kernel/refs/tags
4,0K aur-llvmlinux-git/kernel/refs/heads
12K aur-llvmlinux-git/kernel/refs
4,0K aur-llvmlinux-git/kernel/branches
968M aur-llvmlinux-git/kernel
416K aur-llvmlinux-git/linux.tar.gz
8,0K aur-llvmlinux-git/llvmlinux/info
44K aur-llvmlinux-git/llvmlinux/hooks
4,0K aur-llvmlinux-git/llvmlinux/objects/info
15M aur-llvmlinux-git/llvmlinux/objects/pack
15M aur-llvmlinux-git/llvmlinux/objects
4,0K aur-llvmlinux-git/llvmlinux/refs/tags
4,0K aur-llvmlinux-git/llvmlinux/refs/heads
12K aur-llvmlinux-git/llvmlinux/refs
4,0K aur-llvmlinux-git/llvmlinux/branches
15M aur-llvmlinux-git/llvmlinux
4,0K aur-llvmlinux-git/llvmlinux.install
4,0K aur-llvmlinux-git/llvmlinux.preset
8,0K aur-llvmlinux-git/PKGBUILD
12K aur-llvmlinux-git/src
983M total

TrialnError commented on 2014-11-21 20:34

FadeMind: Reason for flagging out of date?

TrialnError commented on 2014-09-08 16:16

Small update to the PKGBuild to allow different configs.
Project itself doesn't seem to compile at the moment. One of the llvm patches misfire

WFCody commented on 2013-09-23 12:37

I just had time to test myself and ran into a compilation problem at another place in the code:

make[2]: *** [drivers/net] Error 2
make[2]: *** Waiting for unfinished jobs....
CC drivers/rtc/rtc-palmas.o
CC drivers/rtc/rtc-pcap.o
CC drivers/rtc/rtc-pcf2127.o
CC drivers/rtc/rtc-pcf8523.o
CC drivers/rtc/rtc-pcf8563.o
CC drivers/rtc/rtc-pcf8583.o
CC drivers/rtc/rtc-pcf2123.o
CC drivers/rtc/rtc-pcf50633.o
CC drivers/rtc/rtc-r9701.o
CC drivers/rtc/rtc-rc5t583.o
CC drivers/rtc/rtc-rp5c01.o
CC drivers/rtc/rtc-rs5c348.o
CC drivers/rtc/rtc-rs5c372.o
CC drivers/rtc/rtc-rv3029c2.o
CC drivers/rtc/rtc-rx4581.o
CC drivers/rtc/rtc-rx8025.o
CC drivers/rtc/rtc-rx8581.o
CC drivers/rtc/rtc-s35390a.o
CC drivers/rtc/rtc-stk17ta8.o
CC drivers/rtc/rtc-test.o
CC drivers/rtc/rtc-twl.o
CC drivers/rtc/rtc-tps6586x.o
CC drivers/rtc/rtc-tps65910.o
CC drivers/rtc/rtc-tps80031.o
CC drivers/rtc/rtc-v3020.o
CC drivers/rtc/rtc-wm831x.o
CC drivers/rtc/rtc-wm8350.o
CC drivers/rtc/rtc-x1205.o
LD drivers/rtc/rtc-core.o
LD drivers/rtc/built-in.o
make[1]: *** [drivers] Error 2

real 146m51.744s
user 243m7.679s
sys 19m51.823s
make: *** [state/kernel-build] Error 2
==> ERROR: A failure occurred in build().
Aborting...

The issue is most likely upstream rather than the AUR implementation, however...

Anonymous comment on 2013-08-26 11:10

CC fs/xfs/xfs_quotaops.o
CC fs/xfs/xfs_rtalloc.o
CC fs/xfs/xfs_acl.o
CC fs/compat_binfmt_elf.o
CC fs/xfs/xfs_stats.o
CC fs/xfs/xfs_sysctl.o
CC fs/mbcache.o
CC fs/xfs/xfs_ioctl32.o
CC fs/posix_acl.o
CC fs/xattr_acl.o
CC fs/generic_acl.o
LD fs/xfs/xfs.o
LD fs/xfs/built-in.o
CC fs/coredump.o
CC fs/drop_caches.o
CC fs/fhandle.o
LD fs/built-in.o

real 13m55.854s
user 21m41.967s
sys 2m32.667s
make: *** [state/kernel-build] Error 2
==> ERROR: A failure occurred in build().
Aborting...

compiled it three times, always stopped here.

WFCody commented on 2013-07-13 04:03

I have decided to keep the option to build toolchain + kernel despite it taking twice as long (negating the biggest + of llvm/clang) in a future sepparate package. The PKGBUILD here will be stripped as soon as I know how to use the officially packaged llvm and clang instead of building the toolchain. The current build will move to an alternative package named something like "llvmlinux-git-git" emphasizing that both kernel and toolchain are following the bleeding edge.

WFCody commented on 2013-07-12 04:10

OK... trying to revive this but using the officially supported method this time.
A big TODO is: getting the build to skip checking out and building llvm and clang - will reduce build times and makedepends.
The instructions how to do that are outdated on the llvmlinux home page.

stativ commented on 2012-07-22 09:14

Try "git am ... || true" (not tested, but this approach works with normal patch, so it may work with git am too).

WFCody commented on 2012-07-21 07:57

help wanted: is there a way to automatically skip a patch that fail to apply in a PKGBUILD without interrupting the build using "git am" ?

WFCody commented on 2012-07-21 06:12

LLVM project still needs to set up an automatic patch quality control. Currently the patching stops at patch 0016.

WFCody commented on 2012-07-07 20:10

an attempted package can be found here:
https://aur.archlinux.org/packages.php?ID=60600

WFCody commented on 2012-06-21 14:58

OK this one has been a bit out of date for a while.

I hope to get something more up-to-date here when they have integrated the patches into the following project:
http://llvm.linuxfoundation.org/index.php/Main_Page

Anonymous comment on 2011-06-04 11:13

@WFCody Well, that's not the problem. GNU seems to have integrated some libraries only IN the compiler now - and not anymore as libraries on the harddisk. There are now a problem, so the solution is indeed to use libc++

WFCody commented on 2011-06-03 07:28

@saschakb: Interesting problem. I just got hit by it too. I think it has to do with the experimental inclusion of LLVM libc++. Perhaps I should comment it out int he default build?

Anonymous comment on 2011-06-02 13:51

updating lll-git with lll-git isn't possible for me:
llvm[1]: Compiling APFloat.cpp for Release+Asserts build
In file included from /tmp/packerbuild-1000/lll-git/lll-git/src/llvm/lib/Support/APFloat.cpp:15:
In file included from /tmp/packerbuild-1000/lll-git/lll-git/src/llvm/include/llvm/ADT/APFloat.h:104:
In file included from /tmp/packerbuild-1000/lll-git/lll-git/src/llvm/include/llvm/ADT/APInt.h:18:
In file included from /tmp/packerbuild-1000/lll-git/lll-git/src/llvm/include/llvm/Support/MathExtras.h:17:
In file included from /tmp/packerbuild-1000/lll-git/lll-git/src/llvm/include/llvm/Support/SwapByteOrder.h:18:
In file included from /tmp/packerbuild-1000/lll-git/lll-git/src/build/include/llvm/Support/DataTypes.h:35:
/usr/include/c++/4.6.0/cmath:42:10: fatal error: 'bits/c++config.h' file not found
#include <bits/c++config.h>
^
1 error generated.
make[1]: *** [/tmp/packerbuild-1000/lll-git/lll-git/src/build/lib/Support/Release+Asserts/APFloat.o] Fehler 1
make[1]: Leaving directory `/tmp/packerbuild-1000/lll-git/lll-git/src/build/lib/Support'
make: *** [all] Fehler 1
==> FEHLER: Ein Unfall geschah in build().
Breche ab ...

The bits/c++config.h are the missing piece in the puzzle

jpike commented on 2011-05-10 11:39

Thanks this is a really useful package.. the indentation in the PKGBUILD is a little screwy but other than that.. this works out much better than clang-git for me.

WFCody commented on 2011-04-27 04:21

cosmetic update: rather than copying the entire source tree to $srcdir/build, we now only start configure from within there and compile from within there. No practical difference from before.

WFCody commented on 2011-04-27 04:09

@saschakb
cool! thanks!
I will upload the kernel package soon... still compiling...

Anonymous comment on 2011-04-26 22:39

The compiled x86_64 Package:
http://dl.dropbox.com/u/2981198/lll-git-2011.04.28-1-x86_64.pkg.tar.xz
md5sum: c0b8535bc1e027a8402ca23426a5928c Dropbox/Public/lll-git-2011.04.28-1-x86_64.pkg.tar.xz