↓
 

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 – 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

ARM64 – Fedora 27, UEFI and Pi3..

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

I decided – after some time – to do some more with the Raspberry Pi 3, and set it up as a small network print server.. As there was now an ‘official’ version of Fedora 27 for the Pi3, I decided to use this..   Details are here, and links to aarch64 images are near the bottom of … Continue reading →

Posted in aarch64, compilation, Fedora, Hacks, kernel, Linux, Linux / ARM, Opinion, Raspberry Pi, UEFI | Tagged aarch64, custom config, fedora 27, kernel, kernel 4.14.5, linux, pi3, uart console, uefi | Leave a reply

VMware – Fix for Kernel 4.15-rc1..

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

Thanks – again – to mkubecek, there is now a fix for VMware 14.0.0 and Kernel 4.15 – and details are here:   https://github.com/mkubecek/vmware-host-modules/commit/562121d7bc06 The fix involves changes to vmmon-only/linux/driver.c and vmmon-only/linux/hostif.c, and a new file: vmmon-only/include/compat_timer.h .    I have tested this on 4.15-rc1, and now vmmon compiles, and vmware loads/runs, correctly. Robert Gadsdon.  November 27, 2017.

Continue reading →
Posted in compilation, fix, kernel, Linux, VMware | Tagged fix, kernel 4.15-rc1, success, vmmon, vmware 14.0.0 | Leave a reply

Post navigation

← Older posts
Newer posts →
Original content &copy 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.