Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GCC 9.2.0 incompatible with makefile #40

Closed
Ann1kaB opened this issue Oct 6, 2019 · 2 comments
Closed

GCC 9.2.0 incompatible with makefile #40

Ann1kaB opened this issue Oct 6, 2019 · 2 comments

Comments

@Ann1kaB
Copy link

Ann1kaB commented Oct 6, 2019

cc1: error: incompatible gcc/plugin versions cc1: error: fail to initialize plugin ./scripts/gcc-plugins/structleak_plugin.so make[3]: *** [scripts/Makefile.build:266: /home/hyperv/Downloads/vmware-host-modules-master/vmware-host-modules-workstation-15.5.0/vmmon-only/linux/driver.o] Error 1 make[2]: *** [Makefile:1674: /home/hyperv/Downloads/vmware-host-modules-master/vmware-host-modules-workstation-15.5.0/vmmon-only] Error 2 make[2]: Leaving directory '/usr/lib/modules/5.4.0-1.rc1-tkg-cfs/build' make[1]: *** [Makefile:117: vmmon.ko] Error 2 make[1]: Leaving directory '/home/hyperv/Downloads/vmware-host-modules-master/vmware-host-modules-workstation-15.5.0/vmmon-only' make: *** [Makefile:21: vmmon-only] Error 2

@mkubecek
Copy link
Owner

mkubecek commented Oct 6, 2019

Even gcc 9.2.1 works fine for me, that is not the problem.

"error: incompatible gcc/plugin versions ... error: fail to initialize plugin ..." ... This is a problem with your toolchain and/or kernel devel packages. Most likely an incompatibility between gcc version used to build the kernel and version you are trying to build the out-of-tree modules with.

@mkubecek mkubecek closed this as completed Oct 6, 2019
@rod-stuchi
Copy link

I'm using kernel version 5.2.11-arch1-1-ARCH, downgrade gcc packages to

  • gcc-9.1.0-2-x86_64.pkg.tar.xz
  • gcc-libs-9.1.0-2-x86_64.pkg.tar.xz
sudo pacman -U gcc-9.1.0-2-x86_64.pkg.tar.xz gcc-libs-9.1.0-2-x86_64.pkg.tar.xz

works for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants