<div dir="ltr"><div>Hello All,<br></div><div><br></div><div>This is about my successful experience in bringing up Ubuntu 17.10 x86_64 on the clang-built Linux 4.15.7 kernel(latest stable as of early March 2018) and clang-built proprietary Nvidia 390.25(latest as <span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">of early March 2018</span>) driver for my Nvidia GTX GeForce 860M graphics card. I wanted to share the same here for any similarly interested people out here. By the way, appreciate the efforts of people involved in LLVM/clang community for all the so far work.</div><div><br></div><div>Cheers,</div><div>Raghavan Santhanam</div><div><br></div><div>=======</div><div><br></div><div><b><u>Stage 1 : </u></b>Linux kernel 4.15.7 was built using clang as the host and target compiler and installed along with the modules based on default kernel config. I had to disable exofs module as it had non-standard "VLAs embedded within structs" that clang doesn't support. Then I also compiled Nvidia 390.25 driver source after extracting it from its propitiatory installer - I had to ignore the compiler version mismatch psuedo-warning as kernel headers included the thread model and also the platform information while Nvidia driver script check resulted in just the version. After installing thus built Nvidia driver modules, I rebooted my system, the Ubuntu 17.10 booting didn't complete - it got stuck with "Loading ... 4.15.7". The system journalctl/logs didn't help much.</div><div><u><br></u></div><div><b><u>Stage 2 :</u> </b>To further isolate the compatibility issues(if any) of kernel with gcc/clang vs Nvidia driver with gcc/clang, Compiled Linux kernel 4.15.7 with gcc and Nvidia 390.25 driver with clang, and vice versa. For the first, the booting process passed the "Loading ... 4.15.7"phase and moved onto some systemd service, but got stuck there. For the second, again, it got stuck in the very "Loading ... 4.15.7" phase itself. The system journalctl/logs didn't help much.</div><div><br></div><div><b><u>Stage 3 :</u> </b>Having worked with Qemu/Kvm earlier, I wanted to get hold of the actual failing point in bringing the clang-built kernel up. So, I tried to bring up the clang-built Linux kernel 4.15.7image using the x86_64 default config to begin with and also clang-built busybox x86_64 for the root file system(initrd), on Qemu/kvm x86_64. This worked. I got the shell and busyboxutilities were working and so on.</div><div><br></div><div><b><u>On host Ubuntu 17.10 x86_64 :</u></b></div><div><br></div><div>Code:</div><div><font face="monospace, monospace"><b>exp@exp:~$ </b></font></div><div><font face="monospace, monospace"><b>exp@exp:~$ strings -a defconfig-linux-4.15.7/linux-4.15.7/vmlinux | grep "clang version" | head -1</b></font></div><div><font face="monospace, monospace"><b>Linux version 4.15.7 (exp@exp) (clang version 5.0.0-3 (tags/RELEASE_500/final)) #1 SMP Fri Mar 2 21:15:24 PST 2018</b></font></div><div><font face="monospace, monospace"><b>exp@exp:~$ </b></font></div><div><font face="monospace, monospace"><b><br></b></font></div><div><font face="monospace, monospace"><b>exp@exp:~$ lsb_release -a</b></font></div><div><font face="monospace, monospace"><b>No LSB modules are available.</b></font></div><div><font face="monospace, monospace"><b>Distributor ID: Ubuntu</b></font></div><div><font face="monospace, monospace"><b>Description:    Ubuntu 17.10</b></font></div><div><font face="monospace, monospace"><b>Release:    17.10</b></font></div><div><font face="monospace, monospace"><b>Codename:   artful</b></font></div><div><font face="monospace, monospace"><b><br></b></font></div><div><font face="monospace, monospace"><b>exp@exp:~$ clang -v</b></font></div><div><font face="monospace, monospace"><b>clang version 5.0.0-3 (tags/RELEASE_500/final)</b></font></div><div><font face="monospace, monospace"><b>Target: x86_64-pc-linux-gnu</b></font></div><div><font face="monospace, monospace"><b>Thread model: posix</b></font></div><div><font face="monospace, monospace"><b>InstalledDir: /usr/bin</b></font></div><div><font face="monospace, monospace"><b>Within Qemu/kvm guest, Linux kernel 4.15.7(x86_64 defconfig)/Busybox 64-bit :</b></font></div><div><br></div><div>Code:</div><div><font face="monospace, monospace"><b>/ # cat /proc/version </b></font></div><div><font face="monospace, monospace"><b>Linux version 4.15.7 (exp@exp) (clang version 5.0.0-3 (tags/RELEASE_500/final)) #1 SMP Fri Mar 2 21:15:24 PST 2018</b></font></div><div><font face="monospace, monospace"><b>/ # </b></font></div><div><font face="monospace, monospace"><b><br></b></font></div><div><font face="monospace, monospace"><b>/ # uname -arv</b></font></div><div><font face="monospace, monospace"><b>Linux (none) 4.15.7 #1 SMP Fri Mar 2 21:15:24 PST 2018 x86_64 GNU/Linux</b></font></div><div><font face="monospace, monospace"><b>/ # </b></font></div><div><font face="monospace, monospace"><b>/ # </b></font></div><div><font face="monospace, monospace"><b>/ # strings -a bin/busybox | grep "clang version"</b></font></div><div><font face="monospace, monospace"><b>clang version 5.0.0-3 (tags/RELEASE_500/final)</b></font></div><div><font face="monospace, monospace"><b>/ # </b></font></div><div><font face="monospace, monospace"><b>/ # </b></font></div><div><font face="monospace, monospace"><b>/ # dmesg | grep QEMU</b></font></div><div><font face="monospace, monospace"><b>[    0.000000] DMI: QEMU Standard PC (i440FX + PIIX, 1996), BIOS <a href="http://rel-1.9.3-0-ge2fc41e-prebuilt.qemu-project.org">rel-1.9.3-0-ge2fc41e-prebuilt.qemu-project.org</a> 04/01/2014</b></font></div><div><font face="monospace, monospace"><b>[    0.024000] smpboot: CPU0: Intel QEMU Virtual CPU version 2.5+ (family: 0x6, model: 0x6, stepping: 0x3)</b></font></div><div><font face="monospace, monospace"><b>[    0.337415] ata2.00: ATAPI: QEMU DVD-ROM, 2.5+, max UDMA/100</b></font></div><div><font face="monospace, monospace"><b>[    0.339072] scsi 1:0:0:0: CD-ROM            QEMU     QEMU DVD-ROM     2.5+ PQ: 0 ANSI: 5</b></font></div><div><font face="monospace, monospace"><b>/ # </b></font></div><div><font face="monospace, monospace"><b>/ #</b></font></div><div><br></div><div><b><u>Stage 4 :</u> </b>With the above initial success with defconfig kernel, I took the host Ubuntu 17.10 kernel config and rebuilt the Linux kernel 4.15.7 image. With this I kept rest of the busybox the same and tried to bring them up on Qemu/kvm as earlier - this didn't work. Resulted in general protection faults and kernel oops - kernel panic. I looked into the kernel stack dump. I noticed the first issue was within kernel irq work tick logic. Then the next issue was with kernel live instruction update logic. I worked on both of them. Rebuilt the kernel. Tried again with Qemu/kvm - got the shell, no panic this time. Next step was to install kernel modules and Nvidia driver modules as well. I did that but this time, with all the Ubuntu kernel modules and Nvidia driver module, Qemu/kvm showed some colored pixels and got stuck - mostly due the difference between host's hardware and guest's virtualized hardware. So, I wanted to try only with Nvidia driver as it was of prime concern as it's the one that I use on my host for the graphics. So, I included(didn't install) Nvidia driver modules in the busybox rootfs and tried to bring up Qemu/kvm as usual - this time, there was some kernel panic due to rootfs-not-found though there was a rootfs. So, I tried to compress all of the Nvidia driver modules onto a zip and include it in the rootfs. But, when I tried to extract the zip with the Qemu/kvm guest, there was "no space left on device". So, I tried to construct a 10G virtual qemu disk and install the rootfs within that disk to address the space concern - but, after a while I called this off as I was more interested in getting the clang-built Nvidia driver on real system hardware than on the emulated Qemu/kvm environment(I know it doesn't have the real Nvidia graphics card available via GPU-passthrough so that it can test the clang-built Nvidia 390.25 driver on it before I could try that on host's real system hardware/graphics card, but gave it a shot anyway just to see if clang-built Nvidia driver exhibits any issues within Qemu/kvm when loaded).</div><div><br></div><div><b><u>Within Qemu/kvm guest, Linux kernel 4.15.7(host Ubuntu 17.10 x86_64 config)/Busybox64-bit :</u></b></div><div><br></div><div>Code:</div><div><b><font face="monospace, monospace">/ # </font></b></div><div><b><font face="monospace, monospace">/ # </font></b></div><div><b><font face="monospace, monospace">/ # cat /proc/version </font></b></div><div><b><font face="monospace, monospace">Linux version 4.15.7 (exp@exp) (clang version 5.0.0-3 (tags/RELEASE_500/final)) #20 SMP Sat Mar 3 20:46:15 PST 2018</font></b></div><div><b><font face="monospace, monospace">/ # </font></b></div><div><b><font face="monospace, monospace">/ # </font></b></div><div><b><font face="monospace, monospace">/ # uname -arv</font></b></div><div><b><font face="monospace, monospace">Linux (none) 4.15.7 #20 SMP Sat Mar 3 20:46:15 PST 2018 x86_64 GNU/Linux</font></b></div><div><b><font face="monospace, monospace">/ # </font></b></div><div><b><font face="monospace, monospace">/ # </font></b></div><div><b><font face="monospace, monospace">/ # </font></b></div><div><b><font face="monospace, monospace">/ # dmesg | grep QEMU</font></b></div><div><b><font face="monospace, monospace">[    0.000000] DMI: QEMU Standard PC (i440FX + PIIX, 1996), BIOS <a href="http://rel-1.9.3-0-ge2fc41e-prebuilt.qemu-project.org">rel-1.9.3-0-ge2fc41e-prebuilt.qemu-project.org</a> 04/01/2014</font></b></div><div><b><font face="monospace, monospace">[    0.024000] smpboot: CPU0: Intel QEMU Virtual CPU version 2.5+ (family: 0x6, model: 0x6, stepping: 0x3)</font></b></div><div><b><font face="monospace, monospace">[    0.340776] ata2.00: ATAPI: QEMU DVD-ROM, 2.5+, max UDMA/100</font></b></div><div><b><font face="monospace, monospace">[    0.343135] scsi 1:0:0:0: CD-ROM            QEMU     QEMU DVD-ROM     2.5+ PQ: 0 ANSI: 5</font></b></div><div><b><font face="monospace, monospace">/ # </font></b></div><div><b><font face="monospace, monospace">/ # </font></b></div><div><b><font face="monospace, monospace">/ # </font></b></div><div><b><font face="monospace, monospace">/ # strings -a bin/busybox | grep "clang version"</font></b></div><div><b><font face="monospace, monospace">clang version 5.0.0-3 (tags/RELEASE_500/final)</font></b></div><div><b><font face="monospace, monospace">/ # </font></b></div><div><b><font face="monospace, monospace">/ # </font></b></div><div><b><font face="monospace, monospace">/ #</font></b></div><div><br></div><div><b><u>Stage 5 and Success :</u> </b>As my main and actual target was my host(Ubuntu 17.10), I installed thus clang-built kernel(with above issues worked upon) and Nvidia 390.25 drivers on my host system directly. Rebooted my system. Bam! I got my Ubuntu 17.10 x86_64 up and running with clang-built 4.15.7 kernel and clang-built Nvidia 390.25 driver without any issues.</div><div>On host Ubuntu 17.10 x86_64 with clang-built Linux kernel 4.15.7 and clang-built Nvidia 390.25 GeForce GTX 860M proprietary</div><div>driver - my successful research and experience :</div><div><br></div><div>Code:</div><div><font face="monospace, monospace"><b>exp@exp:~$ </b></font></div><div><font face="monospace, monospace"><b>exp@exp:~$ dmesg | grep clang</b></font></div><div><font face="monospace, monospace"><b>[    0.000000] Linux version 4.15.7 (exp@exp) (clang version 5.0.0-3 (tags/RELEASE_500/final)) #20 SMP Sat Mar 3 20:46:15 PST 2018</b></font></div><div><font face="monospace, monospace"><b>exp@exp:~$ </b></font></div><div><font face="monospace, monospace"><b>exp@exp:~$ </b></font></div><div><font face="monospace, monospace"><b>exp@exp:~$ cat /proc/version </b></font></div><div><font face="monospace, monospace"><b>Linux version 4.15.7 (exp@exp) (clang version 5.0.0-3 (tags/RELEASE_500/final)) #20 SMP Sat Mar 3 20:46:15 PST 2018</b></font></div><div><font face="monospace, monospace"><b>exp@exp:~$ </b></font></div><div><font face="monospace, monospace"><b>exp@exp:~$</b></font></div><div><font face="monospace, monospace"><b>exp@exp:~$ </b></font></div><div><font face="monospace, monospace"><b>exp@exp:~$ uname -arv</b></font></div><div><font face="monospace, monospace"><b>Linux exp 4.15.7 #20 SMP Sat Mar 3 20:46:15 PST 2018 x86_64 x86_64 x86_64 GNU/Linux</b></font></div><div><font face="monospace, monospace"><b>exp@exp:~$ </b></font></div><div><font face="monospace, monospace"><b><br></b></font></div><div><font face="monospace, monospace"><b>exp@exp:~$ nvidia-smi</b></font></div><div><font face="monospace, monospace"><b>Sun Mar  4 18:15:39 2018       </b></font></div><div><font face="monospace, monospace"><b>+-----------------------------------------------------------------------------+</b></font></div><div><font face="monospace, monospace"><b>| NVIDIA-SMI 390.25                 Driver Version: 390.25                    |</b></font></div><div><font face="monospace, monospace"><b>|-------------------------------+----------------------+----------------------+</b></font></div><div><font face="monospace, monospace"><b>| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |</b></font></div><div><font face="monospace, monospace"><b>| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |</b></font></div><div><font face="monospace, monospace"><b>|===============================+======================+======================|</b></font></div><div><font face="monospace, monospace"><b>|   0  GeForce GTX 860M    Off  | 00000000:01:00.0 Off |                  N/A |</b></font></div><div><font face="monospace, monospace"><b>| N/A   54C    P0    N/A /  N/A |    370MiB /  4046MiB |      0%      Default |</b></font></div><div><font face="monospace, monospace"><b>+-------------------------------+----------------------+----------------------+</b></font></div><div><font face="monospace, monospace"><b><br></b></font></div><div><font face="monospace, monospace"><b>exp@exp:~$ dmesg | grep NVIDIA | grep 390.25</b></font></div><div><font face="monospace, monospace"><b>[   17.643496] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  390.25  Wed Jan 24 20:02:43 PST 2018 (using threaded interrupts)</b></font></div><div><font face="monospace, monospace"><b>[   17.689835] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  390.25  Wed Jan 24 19:29:37 PST 2018</b></font></div><div><font face="monospace, monospace"><b>exp@exp:~$ </b></font></div><div><font face="monospace, monospace"><b><br></b></font></div><div><font face="monospace, monospace"><b>exp@exp:~$ lsmod | grep nvidia</b></font></div><div><font face="monospace, monospace"><b>nvidia_uvm            815104  0 </b></font></div><div><font face="monospace, monospace"><b>nvidia_drm             24576  2 </b></font></div><div><font face="monospace, monospace"><b>nvidia_modeset       1097728  5 nvidia_drm</b></font></div><div><font face="monospace, monospace"><b>nvidia              14352384  334 nvidia_uvm,nvidia_modeset</b></font></div><div><font face="monospace, monospace"><b>ipmi_msghandler        61440  2 nvidia,ipmi_devintf</b></font></div><div><font face="monospace, monospace"><b>drm                   454656  6 nvidia_drm,i915,drm_kms_helper</b></font></div><div><font face="monospace, monospace"><b>exp@exp:~$ </b></font></div><div><font face="monospace, monospace"><b><br></b></font></div><div><font face="monospace, monospace"><b><br></b></font></div><div><font face="monospace, monospace"><b>#</b></font></div><div><font face="monospace, monospace"><b># clang-built Linux kernel 4.15.7 image and Nvidia 390.25 driver modules having clang compiler specific</b></font></div><div><font face="monospace, monospace"><b># metadata within them.</b></font></div><div><font face="monospace, monospace"><b>#</b></font></div><div><font face="monospace, monospace"><b>exp@exp:~$ </b></font></div><div><font face="monospace, monospace"><b>exp@exp:~$ eclang /lib/modules/4.15.7/build/vmlinux | grep "Linux"</b></font></div><div><font face="monospace, monospace"><b>++ strings -a /lib/modules/4.15.7/build/vmlinux</b></font></div><div><font face="monospace, monospace"><b>++ grep clang</b></font></div><div><font face="monospace, monospace"><b>Linux version 4.15.7 (exp@exp) (clang version 5.0.0-3 (tags/RELEASE_500/final)) #20 SMP Sat Mar 3 20:46:15 PST 2018</b></font></div><div><font face="monospace, monospace"><b>exp@exp:~$ eclang /lib/modules/4.15.7/kernel/drivers/video/nvidia.ko | head -1</b></font></div><div><font face="monospace, monospace"><b>++ strings -a /lib/modules/4.15.7/kernel/drivers/video/nvidia.ko</b></font></div><div><font face="monospace, monospace"><b>++ grep clang</b></font></div><div><font face="monospace, monospace"><b>clang version 5.0.0-3 (tags/RELEASE_500/final)</b></font></div><div><font face="monospace, monospace"><b>exp@exp:~$ eclang /lib/modules/4.15.7/kernel/drivers/video/nvidia-drm.ko | head -1</b></font></div><div><font face="monospace, monospace"><b>++ strings -a /lib/modules/4.15.7/kernel/drivers/video/nvidia-drm.ko</b></font></div><div><font face="monospace, monospace"><b>++ grep clang</b></font></div><div><font face="monospace, monospace"><b>clang version 5.0.0-3 (tags/RELEASE_500/final)</b></font></div><div><font face="monospace, monospace"><b>exp@exp:~$ eclang /lib/modules/4.15.7/kernel/drivers/video/nvidia-uvm.ko | head -1</b></font></div><div><font face="monospace, monospace"><b>++ strings -a /lib/modules/4.15.7/kernel/drivers/video/nvidia-uvm.ko</b></font></div><div><font face="monospace, monospace"><b>++ grep clang</b></font></div><div><font face="monospace, monospace"><b>clang version 5.0.0-3 (tags/RELEASE_500/final)</b></font></div><div><font face="monospace, monospace"><b>exp@exp:~$ eclang /lib/modules/4.15.7/kernel/drivers/video/nvidia-modeset.ko | head -1</b></font></div><div><font face="monospace, monospace"><b>++ strings -a /lib/modules/4.15.7/kernel/drivers/video/nvidia-modeset.ko</b></font></div><div><font face="monospace, monospace"><b>++ grep clang</b></font></div><div><font face="monospace, monospace"><b>clang version 5.0.0-3 (tags/RELEASE_500/final)</b></font></div><div><font face="monospace, monospace"><b>exp@exp:~$ </b></font></div><div><font face="monospace, monospace"><b><br></b></font></div><div><font face="monospace, monospace"><b>#</b></font></div><div><font face="monospace, monospace"><b># DMI specific hardware information - verifies and confirms the physical hardware used</b></font></div><div><font face="monospace, monospace"><b># instead of QEMU or any other virtual platform for running clang-built kernel and</b></font></div><div><font face="monospace, monospace"><b># Nvidia 390.25 driver.</b></font></div><div><font face="monospace, monospace"><b>#                                                                               </b></font></div><div><font face="monospace, monospace"><b>exp@exp:~$ </b></font></div><div><font face="monospace, monospace"><b>exp@exp:~$ </b></font></div><div><font face="monospace, monospace"><b>exp@exp:~$ sudo dmidecode -t bios | grep Vendor</b></font></div><div><font face="monospace, monospace"><b>    Vendor: LENOVO</b></font></div><div><font face="monospace, monospace"><b>exp@exp:~$ </b></font></div><div><font face="monospace, monospace"><b>exp@exp:~$ </b></font></div><div><font face="monospace, monospace"><b>exp@exp:~$ sudo dmidecode -t system | grep "Manufacturer:\|Version"</b></font></div><div><font face="monospace, monospace"><b>    Manufacturer: LENOVO</b></font></div><div><font face="monospace, monospace"><b>    Version: Lenovo Y50-70 Touch</b></font></div><div><font face="monospace, monospace"><b>exp@exp:~$ </b></font></div><div><font face="monospace, monospace"><b>exp@exp:~$ </b></font></div><div><font face="monospace, monospace"><b>exp@exp:~$ sudo dmidecode -t processor | grep Version</b></font></div><div><font face="monospace, monospace"><b>    Version: Intel(R) Core(TM) i7-4710HQ CPU @ 2.50GHz</b></font></div><div><font face="monospace, monospace"><b>exp@exp:~$</b></font></div><div><br></div><div><b>NOTE 1 : </b>For all the detailed logs(from each stage), you can read my answer for LLVM-Clang/Linux kernel question here : Building Linux kernel with LLVM/clang.</div><div><br></div><div><b>NOTE 2 : </b>clang's warning are more pedantic than gcc as I saw. But, for time being, to get the kernel/nvidia driver up and running, I have ignored them to see if they are not serious(so far they are not).</div><div><br></div><div><b>NOTE 3 : </b>I have posted this above experience in the relevant communities as under. Interested people can follow them as well.</div><div><br></div><div><ol style="margin:0px 2em 1em 0px;padding:0px;list-style:decimal;text-align:start;text-indent:0px;text-decoration-style:initial;text-decoration-color:initial"><li style="color:rgb(51,51,51);font-family:q_serif,Georgia,Times,"Times New Roman","Hiragino Kaku Gothic Pro",Meiryo,serif;font-size:15px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-transform:none;white-space:normal;word-spacing:0px;margin:0px 0px 0px 2em;padding:0px 0px 0.7em"><b style="font-weight:bold">(</b><span class="gmail-qlink_container"><a href="http://ubuntuforums.org/" rel="noopener nofollow" target="_blank" class="external_link" style="background:url("//qsf.fs.quoracdn.net/-3-images.new_grid.external_link.svg-26-aef78ead48f1f1e2.svg") 100% 0.3em/10.5px no-repeat;text-decoration:none;color:rgb(43,109,173);padding-right:15px"><b style="font-weight:bold">Ubuntu Forums</b></a></span><b style="font-weight:bold">) :<span> </span></b><span class="gmail-qlink_container"><b style="background:url("//qsf.fs.quoracdn.net/-3-images.new_grid.external_link.svg-26-aef78ead48f1f1e2.svg") 100% 0.3em/10.5px no-repeat;text-decoration:none;color:rgb(43,109,173);padding-right:15px;font-weight:bold"><a href="https://ubuntuforums.org/showthread.php?t=2386423" rel="noopener nofollow" target="_blank" class="external_link" style="background:url("//qsf.fs.quoracdn.net/-3-images.new_grid.external_link.svg-26-aef78ead48f1f1e2.svg") 100% 0.3em/10.5px no-repeat;text-decoration:none;color:rgb(43,109,173);padding-right:15px">Success : Ubuntu 17.10 x86_64 on LLVM/clang-built kernel with Nvidia 390.25 driver</a> : <a href="https://ubuntuforums.org/showthread.php?t=2386423">https://ubuntuforums.org/showthread.php?t=2386423</a></b></span></li><li style="color:rgb(51,51,51);font-family:q_serif,Georgia,Times,"Times New Roman","Hiragino Kaku Gothic Pro",Meiryo,serif;font-size:15px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-transform:none;white-space:normal;word-spacing:0px;margin:0px 0px 0px 2em;padding:0px 0px 0.7em"><b style="font-weight:bold">(</b><span class="gmail-qlink_container"><a href="http://askubuntu.com/" rel="noopener nofollow" target="_blank" class="external_link" style="background:url("//qsf.fs.quoracdn.net/-3-images.new_grid.external_link.svg-26-aef78ead48f1f1e2.svg") 100% 0.3em/10.5px no-repeat;text-decoration:none;color:rgb(43,109,173);padding-right:15px"><b style="font-weight:bold">Ask Ubuntu</b></a></span><b style="font-weight:bold">)<span> </span></b><span class="gmail-qlink_container"><b style="background:url("//qsf.fs.quoracdn.net/-3-images.new_grid.external_link.svg-26-aef78ead48f1f1e2.svg") 100% 0.3em/10.5px no-repeat;text-decoration:none;color:rgb(43,109,173);padding-right:15px;font-weight:bold"><a href="https://askubuntu.com/questions/1012186/success-ubuntu-17-10-x86-64-on-llvm-clang-built-kernel-with-llvm-clang-built-n" rel="noopener nofollow" target="_blank" class="external_link" style="background:url("//qsf.fs.quoracdn.net/-3-images.new_grid.external_link.svg-26-aef78ead48f1f1e2.svg") 100% 0.3em/10.5px no-repeat;text-decoration:none;color:rgb(43,109,173);padding-right:15px">Success : Ubuntu 17.10 x86_64 on LLVM/clang-built kernel with LLVM/clang-built Nvidia 390.25 x86_64 driver</a> : <a href="https://askubuntu.com/questions/1012186/success-ubuntu-17-10-x86-64-on-llvm-clang-built-kernel-with-llvm-clang-built-n">https://askubuntu.com/questions/1012186/success-ubuntu-17-10-x86-64-on-llvm-clang-built-kernel-with-llvm-clang-built-n</a></b></span></li><li style="color:rgb(51,51,51);font-family:q_serif,Georgia,Times,"Times New Roman","Hiragino Kaku Gothic Pro",Meiryo,serif;font-size:15px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-transform:none;white-space:normal;word-spacing:0px;margin:0px 0px 0px 2em;padding:0px 0px 0.7em">(<span class="gmail-qlink_container"><a href="https://forums.geforce.com/" rel="noopener nofollow" target="_blank" class="external_link" style="background:url("//qsf.fs.quoracdn.net/-3-images.new_grid.external_link.svg-26-aef78ead48f1f1e2.svg") 100% 0.3em/10.5px no-repeat;text-decoration:none;color:rgb(43,109,173);padding-right:15px"><b style="font-weight:bold">Nvidia GeForce Forum</b></a></span>)<span> </span><span class="gmail-qlink_container"><b style="background:url("//qsf.fs.quoracdn.net/-3-images.new_grid.external_link.svg-26-aef78ead48f1f1e2.svg") 100% 0.3em/10.5px no-repeat;text-decoration:none;color:rgb(43,109,173);padding-right:15px;font-weight:bold"><a href="https://forums.geforce.com/default/topic/1039280/geforce-drivers/success-clang-built-nvidia-390-25-gtx-geforce-860m-driver-on-clang-built-linux-kernel-4-15-7/" rel="noopener nofollow" target="_blank" class="external_link" style="background:url("//qsf.fs.quoracdn.net/-3-images.new_grid.external_link.svg-26-aef78ead48f1f1e2.svg") 100% 0.3em/10.5px no-repeat;text-decoration:none;color:rgb(43,109,173);padding-right:15px">Success : Clang-built Nvidia 390.25 GTX GeForce 860M driver on clang-built Linux kernel 4.15.7</a> : <a href="https://forums.geforce.com/default/topic/1039280/geforce-drivers/success-clang-built-nvidia-390-25-gtx-geforce-860m-driver-on-clang-built-linux-kernel-4-15-7/">https://forums.geforce.com/default/topic/1039280/geforce-drivers/success-clang-built-nvidia-390-25-gtx-geforce-860m-driver-on-clang-built-linux-kernel-4-15-7/</a></b></span></li><li style="color:rgb(51,51,51);font-family:q_serif,Georgia,Times,"Times New Roman","Hiragino Kaku Gothic Pro",Meiryo,serif;font-size:15px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-transform:none;white-space:normal;word-spacing:0px;margin:0px 0px 0px 2em;padding:0px"><b style="font-weight:bold">(</b><span class="gmail-qlink_container"><a href="https://bugs.llvm.org/show_bug.cgi?id=4068" rel="noopener nofollow" target="_blank" class="external_link" style="background:url("//qsf.fs.quoracdn.net/-3-images.new_grid.external_link.svg-26-aef78ead48f1f1e2.svg") 100% 0.3em/10.5px no-repeat;text-decoration:none;color:rgb(43,109,173);padding-right:15px"><b style="font-weight:bold">Bug 4068</b></a></span><b style="font-weight:bold"><span> </span>update</b>)<span> </span><span class="gmail-qlink_container"><b style="background:url("//qsf.fs.quoracdn.net/-3-images.new_grid.external_link.svg-26-aef78ead48f1f1e2.svg") 100% 0.3em/10.5px no-repeat;text-decoration:none;color:rgb(43,109,173);padding-right:15px;font-weight:bold"><a href="https://bugs.llvm.org/show_bug.cgi?id=4068#c27" rel="noopener nofollow" target="_blank" class="external_link" style="background:url("//qsf.fs.quoracdn.net/-3-images.new_grid.external_link.svg-26-aef78ead48f1f1e2.svg") 100% 0.3em/10.5px no-repeat;text-decoration:none;color:rgb(43,109,173);padding-right:15px">[Meta] Compiling the Linux kernel with clang</a> : <a href="https://bugs.llvm.org/show_bug.cgi?id=4068#c27">https://bugs.llvm.org/show_bug.cgi?id=4068#c27</a> </b></span></li><li style="margin:0px 0px 0px 2em;padding:0px"><span class="gmail-qlink_container"><span style="background:url("//qsf.fs.quoracdn.net/-3-images.new_grid.external_link.svg-26-aef78ead48f1f1e2.svg") 100% 0.3em/10.5px no-repeat;padding-right:15px"><font color="#2b6dad" face="q_serif, Georgia, Times, Times New Roman, Hiragino Kaku Gothic Pro, Meiryo, serif"><span class="gmail-question_text" style="background:transparent;text-decoration:none;color:inherit;font-family:q_serif,Georgia,Times,"Times New Roman","Hiragino Kaku Gothic Pro",Meiryo,serif;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span class="gmail-rendered_qtext" style="tab-size: 4;"><b style="background:transparent;text-decoration:none;color:inherit;font-family:q_serif,Georgia,Times,"Times New Roman","Hiragino Kaku Gothic Pro",Meiryo,serif;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><a class="gmail-question_link" href="https://www.quora.com/What-is-the-state-of-the-art-of-compiling-the-Linux-Kernel-using-LLVM-Clang" id="gmail-__w2_efqZX5v_link" style="background:transparent;text-decoration:none;color:inherit;font-family:q_serif,Georgia,Times,"Times New Roman","Hiragino Kaku Gothic Pro",Meiryo,serif;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">What is the state of the art of compiling the Linux Kernel using LLVM/Clang?</a> :</b><span style="font-weight:700;font-size:26px"> </span></span></span><span style="font-weight:bold;font-size:15px"><a href="https://www.quora.com/What-is-the-state-of-the-art-of-compiling-the-Linux-Kernel-using-LLVM-Clang/answer/Raghavan-Santhanam">https://www.quora.com/What-is-the-state-of-the-art-of-compiling-the-Linux-Kernel-using-LLVM-Clang/answer/Raghavan-Santhanam</a></span></font><br></span></span></li></ol><br></div><div><br></div><div><br></div></div>