Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#45068 - [linux-grsec] vbox modules not building - gcc recompile
Attached to Project:
Community Packages
Opened by tom (archtom) - Sunday, 24 May 2015, 09:50 GMT
Last edited by Daniel Micay (thestinger) - Monday, 25 May 2015, 12:22 GMT
Opened by tom (archtom) - Sunday, 24 May 2015, 09:50 GMT
Last edited by Daniel Micay (thestinger) - Monday, 25 May 2015, 12:22 GMT
|
DetailsDescription:
After bringing all packages up to date building of the virtualbox guest modules fails due to gcc errors. Everything worked before the latest gcc update. I don`t know it there are any logs or anything required. After doing some reading it is said that the kernel should be recompiled against the latest gcc. I don`t know if this is right but it hopefully helps. If this is a gcc bug please attach it to gcc. If you need a log or anything just let me know. I don`t know if Additional info: * package version(s) * config and/or log files etc. Steps to reproduce: yaourt -Sy linux-grsec paxd pax-utils gradm crda linux-grsec-headers virtualbox-guest-modules virtualbox-guest-utils virtualbox-guest-dkms vboxguest-hook --noconfirm dkms install vboxguest/$(pacman -Q virtualbox-guest-dkms|awk '{print $2}'|sed 's/\-.\+//') -k $(pacman -Q linux-grsec |awk '{print $2"-grsec"}') |
This task depends upon
Closed by Daniel Micay (thestinger)
Monday, 25 May 2015, 12:22 GMT
Reason for closing: Not a bug
Additional comments about closing: The first version to fully support GCC 5.1 will be compiled with it. There's little that can be done before then, and I'm not going to rebuild whenever there are GCC upgrades even when it can compile.
Monday, 25 May 2015, 12:22 GMT
Reason for closing: Not a bug
Additional comments about closing: The first version to fully support GCC 5.1 will be compiled with it. There's little that can be done before then, and I'm not going to rebuild whenever there are GCC upgrades even when it can compile.
This is the error message. I attached the make log.
make KERNELRELEASE=4.0.4.201505222222-1-grsec -C /usr/lib/modules/4.0.4.201505222222-1-grsec/build M=/var/lib/dkms/vboxguest/4.3.28/build....(bad exit status: 2)
Error! Bad return status for module build on kernel: 4.0.4.201505222222-1-grsec (x86_64)
Consult /var/lib/dkms/vboxguest/4.3.28/build/make.log for more information.
The binary gcc plugins that are part of the linux-grsec package have to match the gcc that is used to build the modules. The linux-grsec package in the repo needs to be rebuilt with the new gcc but in the meantime you could do that yourself.
And will a new linux-grsec package overwrite the self built one or will I have a third kernel then?
Thanks
[1] https://wiki.archlinux.org/index.php/Arch_Build_System
[2] https://projects.archlinux.org/svntogit/community.git/tree/trunk?h=packages/linux-grsec