↓
 

Adventures With Linux ™

Linux Technologies and Fun Times..

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

Category Archives: compilation

Post navigation

← Older posts
Newer posts →

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

Kernel – 4.14.9 NVIDIA Saga – Simple Patch, or Wait for 4.14.10..?

Adventures With Linux ™ Posted on December 27, 2017 by RGDecember 27, 2017

More on the Kernel 4.14.9 NVIDIA breakage..     Basically, code that should have only gone into 4.15-rc found its way into 4.14.9 – which is why the existing 4.15 NVIDIA patch fixed it..     Thanks to dinosaur_ on the NVIDIA forum, there is a simpler patch available:  https://devtalk.nvidia.com/default/topic/1028016/linux/patch-for-compiling-v384-98-modules-with-linux-v4-14-9-/ There is also a 4.14.10-rc1 patch which is supposed to revert … Continue reading →

Posted in compilation, fix, kernel, Linux, NVIDIA, Opinion, patches | Tagged kernel, kernel 4.14.9, linx, nvidia 384.98, simpler patch | Leave a reply

KERNEL – 4.14.9 Breaks NVIDIA – and a Fix..

Adventures With Linux ™ Posted on December 27, 2017 by RGDecember 27, 2017

Just updated to Kernel 4.14.9, and normally this should not be anything to cause concern, but this time there has been a significant code change made, that has broken NVIDIA (384.98): ………………… /home/rgadsdon/kernel/NVIDIA-Linux-x86_64-384.98/kernel/nvidia-uvm/uvm8_va_block.c: In function ‘block_cpu_fault_locked’: /usr/src/linux-4.14.9/arch/x86/include/asm/processor.h:826:39: error: implicit declaration of function ‘task_stack_page’; did you mean ‘task_stack_vm_area’? [-Werror=implicit-function-declaration] unsigned long __ptr = (unsigned long)task_stack_page(task); \ ^ /usr/src/linux-4.14.9/arch/x86/include/asm/processor.h:900:26: … Continue reading →

Posted in compilation, Crash and Burn.., kernel, Linux, NVIDIA | Tagged 4.15 patch fix, compile fail, kernel, kernel 4.14.9, linux, nvidia 384.98 | Leave a reply

VMware – 14.1.0 released – OK with Kernel 4.14, Still Broken with 4.15, and a Nasty Hack to Fix..

Adventures With Linux ™ Posted on December 21, 2017 by RGDecember 21, 2017

Just updated to VMware Workstation 14.1.0, and release notes are here:  https://docs.vmware.com/en/VMware-Workstation-Pro/14.0.0/rn/workstation-141-release-notes.html This now works OK with Kernel 4.14 (tested with 4.14.8) but vmmon is still broken with Kernel 4.15 (tested with 4.15-rc4): ……………. /tmp/modconfig-04hK9s/vmmon-only/linux/hostif.c: In function ‘HostIF_InitUptime’: /tmp/modconfig-04hK9s/vmmon-only/linux/hostif.c:1770:4: error: implicit declaration of function ‘init_timer’; did you mean ‘init_timers’? [-Werror=implicit-function-declaration] init_timer(&uptimeState.timer); ^~~~~~~~~~ init_timers /tmp/modconfig-04hK9s/vmmon-only/linux/hostif.c:1771:31: error: assignment from … Continue reading →

Posted in compilation, Crash and Burn.., Hacks, kernel, Linux, Opinion, patches, VMware | Tagged broken with 4.15, driver.c, hostif.c, kernel, linux, nasty hack, ok with kernel 4.14, patches, vmmon, vmware 14.1.0 | 3 Replies

Post navigation

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