↓
 

Adventures With Linux ™

Linux Technologies and Fun Times..

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

Category Archives: gcc

Post navigation

← Older posts

Fedora – Recent F40 update breaks QT Applications.. and a Nasty Workaround..

Adventures With Linux ™ Posted on April 3, 2024 by RGApril 4, 2024

I have recently been involved in bug reports etc for a new problem in Fedora 40, where a recent update has effectively broken all QT applications, resulting in KDE not functioning, and even # make xconfig is broken. The Fedora bug report is here:  https://bugzilla.redhat.com/show_bug.cgi?id=2272758 The problem is: # kwrite Illegal instruction (core dumped) # kate Illegal … Continue reading →

Posted in Bug, Fedora, fix, gcc, Hacks, KDE, Linux, Opinion, Plasma Desktop, Workaround | Tagged fedora 40, hack, illegal instruction, qt broken, temporary fix, workaround | 1 Reply

Kernel – 6.9-rc1 is out. NVIDIA OK, VMware Not…

Adventures With Linux ™ Posted on March 24, 2024 by RGMarch 24, 2024

Kernel 6.9-rc1 has been released, and brief details are here:  https://lkml.iu.edu/hypermail/linux/kernel/2403.3/00300.html As discovered in pre-rc testing last week, the latest NVIDIA driver – now 550.67 – is OK, and this now compiles successfully with GCC14.. VMware 17.5.1 (patched) vmmon compiles OK, but vmnet fails: ……………… CC [M] /tmp/modconfig-a8Fcf5/vmnet-only/smac.o CC [M] /tmp/modconfig-a8Fcf5/vmnet-only/vnetEvent.o CC [M] /tmp/modconfig-a8Fcf5/vmnet-only/vnetUserListener.o In file included … Continue reading →

Posted in compilation, gcc, kernel, Linux, NVIDIA, Opinion, VMware | Tagged kernel 6.9-rc1, nvidia 550.67 ok, nvidia compiles with gcc14, released, vmware 17.5.1 vmnet fails | 1 Reply

NVIDIA – GCC 14 Breaks Compile – and Fix.. (VMware OK..)

Adventures With Linux ™ Posted on March 6, 2024 by RGMarch 6, 2024

Testing Fedora 40, which now includes GCC 14, and this breaks the NVIDIA driver 550.54.14 compile: ………………….. CC [M] /home/rgadsdon/NVIDIA-Linux-x86_64-550.54.14/kernel/nvidia-drm/nvidia-drm-connector.o CC [M] /home/rgadsdon/NVIDIA-Linux-x86_64-550.54.14/kernel/nvidia-drm/nvidia-drm-gem.o /home/rgadsdon/NVIDIA-Linux-x86_64-550.54.14/kernel/nvidia-drm/nvidia-drm-gem.c:115:16: error: initialization of ‘int (*)(struct drm_gem_object *, struct iosys_map *)’ from incompatible pointer type ‘void * (*)(struct drm_gem_object *)’ [-Wincompatible-pointer-types] 115 | .vmap = nv_drm_gem_prime_vmap, | ^~~~~~~~~~~~~~~~~~~~~ /home/rgadsdon/NVIDIA-Linux-x86_64-550.54.14/kernel/nvidia-drm/nvidia-drm-gem.c:115:16: note: (near initialization for ‘nv_drm_gem_funcs.vmap’) … Continue reading →

Posted in fix, gcc, Linux, NVIDIA, Opinion | Tagged 550.54.14, breaks nvidia compile, conftest.sh, fedora 40, fix available, gcc 14, vmware patchset ok | Leave a reply

Kernel – GCC 13 Plugins fail – and Fix..

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

Fedora 38 (beta..) has GCC 13, and this causes an error when compiling the kernel with ‘gcc_plugins‘ selected: …………………. CC scripts/mod/devicetable-offsets.s cc1: error: cannot load plugin ./scripts/gcc-plugins/randomize_layout_plugin.so: ./scripts/gcc-plugins/randomize_layout_plugin.so: undefined symbol: tree_code_type make[1]: *** [scripts/Makefile.build:252: scripts/mod/empty.o] Error 1 make[1]: *** Waiting for unfinished jobs…. cc1: error: cannot load plugin ./scripts/gcc-plugins/randomize_layout_plugin.so: ./scripts/gcc-plugins/randomize_layout_plugin.so: undefined symbol: tree_code_type make[1]: *** [scripts/Makefile.build:114: scripts/mod/devicetable-offsets.s] … Continue reading →

Posted in compilation, Fedora, fix, gcc, kernel, Linux, Opinion | Tagged fedora 38, fix, gcc 13, gcc_plugins, kernel 6.2, kernel compile fail, patch, workaround | Leave a reply

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

Post navigation

← Older posts
Original content © Robert Gadsdon 2013
↑