↓
 

Adventures With Linux ™

Linux Technologies and Fun Times - and Technology Commentary..

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

Category Archives: compilation

Post navigation

← Older posts
Newer posts →

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 – 4.17-rc3 Released – Still OK with Latest NVIDIA and VMware..

Adventures With Linux ™ Posted on April 29, 2018 by RGApril 29, 2018

Kernel 4.17-rc3 is out, and brief details of changes from -rc2 are here:  http://lkml.iu.edu/hypermail/linux/kernel/1804.3/05507.html Tested with NVIDIA 396.18 and VMware 14.1.1 (vmmon and vmnet), and all still compile OK.. Robert Gadsdon.   April 29, 2018. … Continue reading →

Posted in compilation, kernel, Linux, NVIDIA, VMware | Tagged compile ok, kernel, kernel 4.17-rc3, latest, linux, nvidia 396.18, released, vmware 14.1.1 | 2 Replies

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

IA64 – Updated to 4.16-rc3..

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

Just updated the HP RX2600 to Kernel 4.16-rc3, and apart from an odd quirk at compile time, all went OK.. ………….. Building modules, stage 2. MODPOST 98 modules GZIP arch/ia64/hp/sim/boot/vmlinux.gz File “./arch/ia64/scripts/unwcheck.py”, line 19 print “Usage: %s FILE” % sys.argv[0] ^ SyntaxError: Missing parentheses in call to ‘print’ make: [arch/ia64/Makefile:78: unwcheck] Error 1 (ignored) ……………… Despite this, … Continue reading →

Posted in compilation, IA64, Itanium, kernel, Linux | Tagged boots ok, compile quirk, hp rx2600, ia64, kernel 4.16-rc3 | 2 Replies

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

Kernel – 4.14.11 ‘Final’ Breaks NVIDIA 384.98 and 387.34 – GPL Error..

Adventures With Linux ™ Posted on January 2, 2018 by RGJanuary 3, 2018

I had previously tested Kernel 4.14.11-rc1 with the 4.14.9+-patched NVIDIA driver 384.98, and that was OK: ………………….. ld -r -o /home/rgadsdon/kernel/NVIDIA-Linux-x86_64-384.98-41410/kernel/nvidia-modeset/nv-modeset-interface.o /home/rgadsdon/kernel/NVIDIA-Linux-x86_64-384.98-41410/kernel/nvidia-modeset/nvidia-modeset-linux.o Building modules, stage 2. MODPOST 4 modules CC /home/rgadsdon/kernel/NVIDIA-Linux-x86_64-384.98-41410/kernel/nvidia-drm.mod.o LD [M] /home/rgadsdon/kernel/NVIDIA-Linux-x86_64-384.98-41410/kernel/nvidia-drm.ko CC /home/rgadsdon/kernel/NVIDIA-Linux-x86_64-384.98-41410/kernel/nvidia-modeset.mod.o LD [M] /home/rgadsdon/kernel/NVIDIA-Linux-x86_64-384.98-41410/kernel/nvidia-modeset.ko CC /home/rgadsdon/kernel/NVIDIA-Linux-x86_64-384.98-41410/kernel/nvidia-uvm.mod.o LD [M] /home/rgadsdon/kernel/NVIDIA-Linux-x86_64-384.98-41410/kernel/nvidia-uvm.ko CC /home/rgadsdon/kernel/NVIDIA-Linux-x86_64-384.98-41410/kernel/nvidia.mod.o LD [M] /home/rgadsdon/kernel/NVIDIA-Linux-x86_64-384.98-41410/kernel/nvidia.ko make[2]: Leaving directory ‘/usr/src/linux-4.14.11-rc1’ make[1]: Leaving directory ‘/usr/src/linux-4.14.11-rc1’ … Continue reading →

Posted in compilation, kernel, Linux, NVIDIA, Opinion, patches | Tagged 384.98, 4.14.11-rc1 ok, 419+-patched, gpl error, kernel 4.14.11, nvidia | 5 Replies

Post navigation

← Older posts
Newer posts →
Original content © Robert Gadsdon 2013
↑
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.