[llvmlinux] Website: Manual_Build_Instructions

Sedat Dilek sedat.dilek at gmail.com
Tue Mar 3 08:54:44 UTC 2015


On Tue, Mar 3, 2015 at 9:35 AM, Sedat Dilek <sedat.dilek at gmail.com> wrote:
> On Tue, Mar 3, 2015 at 8:56 AM, Behan Webster <behanw at converseincode.com> wrote:
>> On 03/03/15 07:49, Sedat Dilek wrote:
>>
>> BTW, LLVM project is offering prebuilt-binaries for modern (Linux) OS
>> on the download-page.
>>
>> Yes. We are well aware of that.
>>
>> Ubuntu/precise (12.04) is no more supported, but Ubuntu/trusty (14.04) [2].
>> Both are Ubuntu LTS releases with 5 years support.
>>
>> The packages on llvm.org for Ubuntu and debian are now available via
>> Xorg-edgers ppa (for Ubuntu) and I believe in sid (for debian). Sylvestre
>> Ledru (of Debian) builds all these packages.
>>
>> For Ubuntu:
>>
>> https://launchpad.net/~xorg-edgers/+archive/ubuntu/ppa
>>
>> I actually just use these packages since Sylvestre updates them very
>> regularly. I haven't had to build stable nor tip versions of clang for a few
>> months now.
>>
>> Do you happen to know if LLVM/Clang has all bits to build a Linux-kernel
>> now?
>>
>> Essentially. Though there are still things we need fixed (hence the open
>> LLVM bugs that we work around with kernel patches) clang 3.6 should mostly
>> just work.
>>
>> ( If this is the case, people can now focus on the Linux "clang" patches. )
>>
>> That's essentially been the case for the last while. That's been most of our
>> focus recently.
>>
>
> I am and was in contact with Sylvestre and he refreshed website and
> apt repositories accordingly due to me.
> So, you give me no new informations.
>
> Unfortunately, the patches from
> targets/x86_64/checkpoints/kernel-3.10-rc7/patches/series do not apply
> cleanly against Linux v3.10-rc7.
>
> I refreshed...
>
> 0023-Remove-unneeded-braces.patch
> 0034-CFI_STARTPROC32-takes-a-parameter-which-has-no-defau.patch
>
> ...see attached tarball.
>
> For clang v3.6.0 some cc-options do not work.
> Maybe, some more needs to be added.
>
> See...
>
> 0039-llvmlinux-Fix-clang-unknown-arguments.patch
>
> ...and the build breaks.
>

clang v3.3 (llvmlinux patched) was good.

$ grep clang dmesg_3.10.0-1-llvmlinux-amd64-small.txt
[    0.000000] Linux version 3.10.0-1-llvmlinux-amd64-small
(sedat.dilek at gmail.com@fambox) (clang version 3.3
(tags/RELEASE_33/final)) #1 SMP PREEMPT Fri Jul 12 02:44:56 CEST 2013

- Sedat -


More information about the LLVMLinux mailing list