[llvmlinux] linux-5c1f62a75ca29d91606fd6e8bdeb2cff88086e0f with toolchain from LLVM-project boots fine

Sedat Dilek sedat.dilek at gmail.com
Thu Jul 11 19:12:05 UTC 2013


Hi,

with Jan-Simons's kernel-config and attached linux-generic/linux-amd64
patch-sets applied against linux-git (commit-id see below) I was able
to boot into "bare metal".

The pre-compiled toolchain downloaded from LLVM-project was used and
symlinked to "/opt/llvm/".
Furthermore, an "a-local-llvm.conf" file was generated and copied to
"/etc/ld.so.conf.d/" to use it persistently.
So, I will use it for my next experiments with LLVMLinux and also
Linux graphics stack (libdrm|mesa|xf86-video-intel).

Thanks for the help.

Regards,
- Sedat -

[1] http://llvm.org/releases/3.3/clang+llvm-3.3-amd64-Ubuntu-12.04.2.tar.gz

P.S.: Some outputs attached

$ cat /proc/version
Linux version 3.10.0-rc6-1-llvmlinux-amd64
(sedat.dilek at gmail.com@fambox) (clang version 3.3
(tags/RELEASE_33/final)) #1 SMP PREEMPT Thu Jul 11 20:36:11 CEST 2013

$ ll /opt/llvm
lrwxrwxrwx 1 root root 35 Jul 11 19:49 /opt/llvm ->
clang+llvm-3.3-amd64-Ubuntu-12.04.2/

$ cd linux-git/
$ git log -1 | cat
commit 5c1f62a75ca29d91606fd6e8bdeb2cff88086e0f
Author: H Hartley Sweeten <hsweeten at visionengravers.com>
Date:   Tue Jun 18 13:27:19 2013 -0700

    staging: comedi: pcmuio: fix namespace for all private functions

    Rename a couple private functions so they have the same namespace
    as the driver.

    Signed-off-by: H Hartley Sweeten <hsweeten at visionengravers.com>
    Reviewed-by: Ian Abbott <abbotti at mev.co.uk>
    Signed-off-by: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
- EOT -
-------------- next part --------------
0014-Remove-unsupported-options-from-Kconfig-file-on-x86.patch
0019-Fix-kernel-acpi-wakeup_32.S-for-compilation-with-cla.patch
0023-Remove-unneeded-braces.patch
0025-Add-option-for-clang-in-export-of-memcpy.patch
0026-Add-own-versions-of-memcpy-and-memset-for-compilatio.patch
0027-Add-__used-to-arch-x86-boot-video.patch
0028-Misc-changes-to-arch-x86-kernel-to-compile-with-clan.patch
0031-Reimplement-current_stack_pointer-without-register-u.patch
0032-Fix-include-asm-strings-for-compilation-with-clang.patch
0033-Various-fixes-in-arch-x86-include-asm.patch
0034-CFI_STARTPROC32-takes-a-parameter-which-has-no-defau.patch
0036-Various-fixes-to-arch-x86-lib-for-compilation-with-c.patch
0037-CHECK-fixes-to-realmode-for-compilation-with-clang.patch
0039-Workaround-build-error-with-clang.patch
0046-Remove-unneeded-braces.patch
0047-Fix-braces-for-compilation-with-clang.patch
0052-Revert-x86-nmi-Clean-up-register_nmi_handler-usage.patch
0041-Fix-statement-in-i915-driver.patch
thinkpad-acpi-nested-functions.patch
0001-updates-to-latest-patchset-unsplit.-TODO.patch
0016-Ad-no-integrated-as-to-arch-x86-realmode-rm-Makefile.patch
0015-Add-no-integrated-as-to-arch-x86-boot-Makefile-for-c.patch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config-3.10.0-rc6-1-llvmlinux-amd64.xz
Type: application/octet-stream
Size: 29044 bytes
Desc: not available
URL: <http://lists.linuxfoundation.org/pipermail/llvmlinux/attachments/20130711/f051de3b/attachment-0005.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dmesg_3.10.0-rc6-1-llvmlinux-amd64.txt.xz
Type: application/octet-stream
Size: 14084 bytes
Desc: not available
URL: <http://lists.linuxfoundation.org/pipermail/llvmlinux/attachments/20130711/f051de3b/attachment-0006.obj>
-------------- next part --------------
0001-Toplevel-Makefile-adustments-to-compile-with-clang.patch
0002-Adapt-warnings-for-compilation-with-clang.patch
0009-Update-Documentation-dontdiff.patch
0010-Fix-LINUX_COMPILER-definition-script-for-compilation.patch
0043-Fix-section-mismatch-issues-on-alias-usage.patch
0044-Fix-bitoperation-for-compilation-with-clang.patch
1000-aligned-attribute.patch
1001-cmpxchg-local-fix-uninitialized-return-code.patch
1002-compiler-clang.patch
1003-disable-clang-integrated-as.patch
1004-mm-hugepage-return-value.patch
valign-header.patch
vlais-dm-crypt.patch
vlais-gadget.patch
vlais-hmac.patch
vlais-libcrc32c.patch
vlais-netfilter.patch
vlais-testmgr.patch
kbuild-clang.patch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: llvmlinux-amd64.tar.xz
Type: application/octet-stream
Size: 13652 bytes
Desc: not available
URL: <http://lists.linuxfoundation.org/pipermail/llvmlinux/attachments/20130711/f051de3b/attachment-0007.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: llvmlinux-generic.tar.xz
Type: application/octet-stream
Size: 11660 bytes
Desc: not available
URL: <http://lists.linuxfoundation.org/pipermail/llvmlinux/attachments/20130711/f051de3b/attachment-0008.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: a-local-llvm.conf
Type: application/octet-stream
Size: 44 bytes
Desc: not available
URL: <http://lists.linuxfoundation.org/pipermail/llvmlinux/attachments/20130711/f051de3b/attachment-0009.obj>


More information about the LLVMLinux mailing list