↓
 

Adventures With Linux ™

Linux Technologies and Fun Times..

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

Category Archives: gcc

Post navigation

← Older posts
Newer posts →

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

Fedora – F28 GCC 8 Now OK with Kernel 4.16.7, and fix for Grub-Customizer..

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

Tried Kernel 4.16.7 on Fedora 28 (GCC 8.0.1), and this now compiles successfully, although still with a lot of ‘warnings’.. I use grub-customizer with each new kernel, and the F28 version of this fails: # grub-customizer Error creating proxy: The connection is closed (g-io-error-quark, 18) *** initializing (w/o specified bootloader type)… * reading partition info… /usr/include/c++/8/bits/basic_string.h:1048: std::__cxx11::basic_string<_CharT, … Continue reading →

Posted in boot, compilation, Fedora, fix, gcc, kernel, Linux | Tagged fedora 28, fix, gcc 8, grub-customizer abort, ok with kernel 4.16.7 | 1 Reply

Fedora – 28 Released, but Fails with GCC 8 and Kernel 4.16…

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

Fedora 28 has been released, but this includes GCC 8 (8.0.1) which – currently – is not capable of compiling Kernel 4.16 as-is (tested with 4.16.6): ……………………………. CC /usr/src/linux-4.16.6/tools/objtool/objtool.o CC /usr/src/linux-4.16.6/tools/objtool/libstring.o CC /usr/src/linux-4.16.6/tools/objtool/str_error_r.o ../lib/str_error_r.c: In function ‘str_error_r’: ../lib/str_error_r.c:25:3: error: passing argument 1 to restrict-qualified parameter aliases with argument 5 [-Werror=restrict] snprintf(buf, buflen, “INTERNAL ERROR: strerror_r(%d, %p, %zd)=%d”, … Continue reading →

Posted in compilation, Fedora, gcc, kernel, Linux, Opinion, Performance | Tagged 8.0.1, compile fail with 4.16.6, fedora 28, gcc 8, ok with 4.17-rc3, str_error_r.c | Leave a reply

Kernel – GCC 8 Tests – Not Quite Ready…

Adventures With Linux ™ Posted on March 22, 2018 by RGMarch 22, 2018

I decided to try updating a crash-and-burn test system to Fedora 28 (early-beta..) as this included GCC 8 (currently 8.0.1), to see how well the Kernel (4.16-rc6) compiled.. There were a lot of warnings generated: …………………… CC [M] drivers/rtc/rtc-pcf8523.o CC drivers/usb/core/file.o CC drivers/video/hdmi.o CC [M] drivers/rtc/rtc-pcf8563.o drivers/video/hdmi.c: In function ‘hdmi_spd_infoframe_init’: drivers/video/hdmi.c:171:2: warning: ‘strncpy’ specified bound 8 equals … Continue reading →

Posted in compilation, gcc, Hacks, kernel, Linux, NVIDIA, Opinion | Tagged early-beta, fedora 28, gcc 8.0.1, kernel 4.16-rc6, kernel compile, nvidia, testing, warnings | Leave a reply

Kernel – GCC 8 Tests – Not Quite Ready…

Adventures With Linux ™ Posted on March 22, 2018 by RGMarch 22, 2018

I decided to try updating a crash-and-burn test system to Fedora 28 (early-beta..) as this included GCC 8 (currently 8.0.1), to see how well the Kernel (4.16-rc6) compiled.. There were a lot of warnings generated: …………………… CC [M] drivers/rtc/rtc-pcf8523.o CC drivers/usb/core/file.o CC drivers/video/hdmi.o CC [M] drivers/rtc/rtc-pcf8563.o drivers/video/hdmi.c: In function ‘hdmi_spd_infoframe_init’: drivers/video/hdmi.c:171:2: warning: ‘strncpy’ specified bound 8 equals … Continue reading →

Posted in compilation, gcc, Hacks, kernel, Linux, NVIDIA, Opinion | Tagged early-beta, fedora 28, gcc 8.0.1, kernel 4.16-rc6, kernel compile, nvidia, testing, warnings | Leave a reply

Kernel – GCC and ‘Retpoline’..

Adventures With Linux ™ Posted on February 1, 2018 by RGFebruary 1, 2018

The recent summary of Kernel 4.15 mentioned the test for ‘compliant’ versions of GCC which fully support the retpoline mitigation, but only gave an example of non-compliance: With GCC 7.2: ~]$ cat /sys/devices/system/cpu/vulnerabilities/spectre_v2  Vulnerable: Minimal generic ASM retpoline I re-created Fedora (Rawhide) GCC 7.3.1 for Fedora 27, and it gives the following, after Kernel 4.15 compilation/boot: ~]$ … Continue reading →

Posted in compilation, gcc, Intel, kernel, Linux, Performance, retpoline | Tagged 7.3.1, backport, gcc, kernel, linux, mitigation, retpoline, spectre2 | Leave a reply

VMware – 12.5.8 Released – Still Incompatible..

Adventures With Linux ™ Posted on November 17, 2017 by RGNovember 17, 2017

There has been a new release of Workstation 12.5 – 12.5.8 – and the – rather vague – release notes are here:  https://docs.vmware.com/en/VMware-Workstation-Pro/12.0/rn/workstation-1258-release-notes.html I tested this with a ‘clean’ install on my cash-and-burn system, and basically, it suffers from the same compatibility problems as 12.5.7.    GCC7, Fedora 26/27, and Kernel 14.x all cause it to fail. # … Continue reading →

Posted in compilation, Crash and Burn.., Fedora, gcc, Hacks, kernel, Linux, Opinion, VMware | Tagged 12.5.8 released, fedora 26/27, gcc7, incompatible, kernel 14.0.0, same problems as 12.5.7, vmware | 1 Reply

Post navigation

← Older posts
Newer posts →
Original content © Robert Gadsdon 2013
↑