↓
 

Adventures With Linux ™

Linux Technologies and Fun Times..

  • Home
  • About the Author…
  • Copyright and Trademarks..

Category Archives: gcc

Post navigation

← Older posts

Compiler – Fun with CLANG – Kernel, NVIDIA, and VMware…

Adventures With Linux ™ Posted on March 27, 2021 by RGMarch 30, 2021

I have been carrying out some preliminary tests to see how feasible it is to compile the Linux Kernel, and NVIDIA drivers, and VMware, using the ‘alternative’ to GCC – CLANG.. The kernel compile is relatively easy, and well documented: # make CC=clang HOSTCC=clang -j8 (for a 4-core system) The compile seems to be slower than GCC, … Continue reading →

Posted in clang, compilation, Fedora, gcc, kernel, Linux, NVIDIA, Opinion, Performance, quirks, VMware | Tagged clang, compile tests, gcc alternative, kernel, nvidia, success, vmware | 1 Reply

NVIDIA – Updated 440.59 Patch for 5.6-rc3

Adventures With Linux ™ Posted on February 25, 2020 by RGFebruary 25, 2020

There is an updated patch for NVIDIA 440-59 with Kernel 5.3, which includes the Y2038 fixes, at https://gitlab.com/snippets/1937313 This compiles with GCC10 now, and I have briefly tested it on my Fedora32 system, with KDE/Plasma and VMware, and it seems to be working OK. Robert Gadsdon.   February 25th 2020. … Continue reading →

Posted in compilation, Fedora, gcc, kernel, Linux, NVIDIA, Opinion, patches | Tagged compiles ok, kernel 5.6-rc3, nvidia 440.59, tested with kde/plasma, updated patch | Leave a reply

NVIDIA – Extra 440.59 Patch for 5.6-rc3 – With a Gotcha..

Adventures With Linux ™ Posted on February 25, 2020 by RGFebruary 25, 2020

Thanks to Isaak I. Aleksandrov, there is now an additional patch for NVIDIA driver 440.59 to accommodate the Y2038 changes in Kernel 5.6-rc3.   This should be applied after the original 5.6-rc1 patch ( https://gitlab.com/snippets/1937313 ), and can be found here:  https://gitlab.com/snippets/1944237 I have tested this, and it compiles OK with GCC9 (current distros) but fails with GCC10 … Continue reading →

Posted in compilation, Fedora, gcc, kernel, Linux, NVIDIA, Opinion, patches | Tagged fails with gcc10, nvidia 440.59, ok with gcc9, patch for kernel 5.6-rc3, y2038 changes | 2 Replies

GCC – Fun with GCC 10, and the Kernel, NVIDIA, VMware..

Adventures With Linux ™ Posted on February 21, 2020 by RGFebruary 21, 2020

I have updated some test systems (x86_64 and aarch64) to pre-beta Fedora 32, which now includes GCC 10: $ gcc –version gcc (GCC) 10.0.1 20200216 (Red Hat 10.0.1-0.8) There have been a couple of problems with kernel compilation, but in each case there was already a patch/workaround available.. https://www.spinics.net/linux/fedora/fedora-arm/msg13193.html and https://lkml.org/lkml/2020/1/29/494 The most serious problem was a … Continue reading →

Posted in alpha release, compilation, Fedora, gcc, Hacks, kernel, Linux, NVIDIA, Opinion, VMware | Tagged fedora 32, gcc10, kernel 5.6-rc, kernel fixes, nvidia, pre-beta, testing, vmware | Leave a reply

Compiler – GCC 9 – First Impressions..

Adventures With Linux ™ Posted on February 22, 2019 by RGFebruary 22, 2019

Just updated to the pre-release Fedora 30 (Rawhide) on the test system, and tried out the new version of GCC: $ gcc –version gcc (GCC) 9.0.1 20190209 (Red Hat 9.0.1-0.4) Kernel 5.0-rc7 compiled successfully, and runs OK.    As expected, there were quite a lot of compiler ‘warnings’: ………………….. CC net/ipv4/proc.o CC drivers/hid/hid-samsung.o CC net/ipv4/fib_rules.o CC drivers/hid/hid-sunplus.o fs/xfs/xfs_ioctl32.c: … Continue reading →

Posted in compilation, Fedora, gcc, kernel, Linux, NVIDIA, Opinion, VMware | Tagged compile tests, completed ok, fedora 30, gcc 9, kernel 5.0-rc7, nvidia, vmware, warnings | Leave a reply

Fedora – F28 Annoyances, and Workarounds..

Adventures With Linux ™ Posted on June 1, 2018 by RGJune 1, 2018

Running Fedora 28 on the test system, I have encountered the following issues with various applications, and found substitute rpm workarounds..  Usually, these can be installed by downloading them ,and then using # rpm -Uvh……… –force.. Grub-customizer still crashes, but the F27 version works ( grub-customizer-5.0.6-6.fc27.x86_64 ) Wine crashes with some windows apps, and the workaround is … Continue reading →

Posted in Fedora, fix, gcc, Hacks, Linux, Opinion, Performance, quirks | Tagged application problems, fedora 28, grub-customizer, handbrake, wine, workarounds | Leave a reply

Kernel – 4.17-rc6 Out – Includes GCC8 Compile Fixes..

Adventures With Linux ™ Posted on May 20, 2018 by RGMay 20, 2018

Kernel 4.17-rc6 has been released, and details of changes since -rc5 are here:  http://lkml.iu.edu/hypermail/linux/kernel/1805.2/03965.html This version is still OK with the latest VMware (14.1.1) and NVIDIA (396.24) drivers, but also includes fixes for repeated GCC8 / objtool warnings at compile time: ………………. Josh Poimboeuf (5): ………. objtool: Support GCC 8’s cold subfunctions objtool: Support GCC 8 switch … Continue reading →

Posted in compilation, fix, gcc, kernel, Linux, NVIDIA, VMware | Tagged fixes for gcc8, kernel 4.17-rc6, objtool, ok with latest nvidia and vmware | Leave a reply

Kernel – 4.17-rc6 Out – Includes GCC8 Compile Fixes..

Adventures With Linux ™ Posted on May 20, 2018 by RGMay 20, 2018

Kernel 4.17-rc6 has been released, and details of changes since -rc5 are here:  http://lkml.iu.edu/hypermail/linux/kernel/1805.2/03965.html This version is still OK with the latest VMware (14.1.1) and NVIDIA (396.24) drivers, but also includes fixes for repeated GCC8 / objtool warnings at compile time: ………………. Josh Poimboeuf (5): ………. objtool: Support GCC 8’s cold subfunctions objtool: Support GCC 8 switch … Continue reading →

Posted in compilation, fix, gcc, kernel, Linux, NVIDIA, VMware | Tagged fixes for gcc8, kernel 4.17-rc6, objtool, ok with latest nvidia and vmware | Leave a reply

Kernel – GCC8 / ‘Objtool Warnings’ Patches..

Adventures With Linux ™ Posted on May 14, 2018 by RGMay 14, 2018

There are now patches available to deal with the host of ‘objtool‘ warnings when compiling the kernel with GCC8: …………………………….. drivers/video/fbdev/core/fbmem.o: warning: objtool: fb_set_var()+0x209: sibling call from callable instruction with modified stack frame drivers/video/fbdev/core/fbmem.o: warning: objtool: do_remove_conflicting_framebuffers()+0xa6: sibling call from callable instruction with modified stack frame drivers/video/fbdev/core/fbmem.o: warning: objtool: register_framebuffer()+0x14b: sibling call from callable instruction with modified … Continue reading →

Posted in compilation, gcc, kernel, Linux, patches, Performance | Tagged 4.16 syscall warnings, 4.17 clean, gcc8, kernel, objtool warnings, patches available | Leave a reply

GCC – Update to 8.1.1 – Still Gives Kernel Compile Warnings..

Adventures With Linux ™ Posted on May 7, 2018 by RGMay 7, 2018

Fedora 28 has GCC 8.1.1 available (currently in ‘updates-testing‘ repo), and I tested this with Kernel 4.17-rc4, to see if there was any improvement in the horde of warnings generated with 8.0.1. In short, there is no real difference: ……………………………… CC security/keys/request_key.o arch/x86/kvm/lapic.o: warning: objtool: kvm_lapic_reg_read()+0x126: sibling call from callable instruction with modified stack frame arch/x86/kvm/lapic.o: warning: … Continue reading →

Posted in compilation, Fedora, gcc, kernel, Linux, Opinion, Performance | Tagged fedora 28, gcc 8.1.1, kernel 4.17-rc4, objtool, still multiple warnings | Leave a reply

Post navigation

← Older posts
Original content © Robert Gadsdon 2013
↑