* [gentoo-user] virtualbox-modules fails to update: incompatible gcc/plugin versions
@ 2018-07-24 8:18 gevisz
2018-07-24 9:25 ` Helmut Jarausch
2018-07-24 16:16 ` Michael Orlitzky
0 siblings, 2 replies; 5+ messages in thread
From: gevisz @ 2018-07-24 8:18 UTC (permalink / raw
To: gentoo-user
# emerge --update --deep --with-bdeps=y --newuse --backtrack=120 --ask world
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild U ] app-emulation/virtualbox-modules-5.2.14 [5.1.36]
[ebuild U ] app-emulation/virtualbox-5.2.14-r1 [5.1.36]
[ebuild U ] app-emulation/virtualbox-extpack-oracle-5.2.14.123301
[5.1.36.122089]
Would you like to merge these packages? [Yes/No] y
>>> Verifying ebuild manifests
>>> Emerging (1 of 3) app-emulation/virtualbox-modules-5.2.14::gentoo
...
cc1: error: incompatible gcc/plugin versions
cc1: error: fail to initialize plugin
./scripts/gcc-plugins/cyc_complexity_plugin.so
make[4]: *** [/usr/src/linux-4.9.95-gentoo/scripts/Makefile.build:293:
/var/tmp/portage/app-emulation/virtualbox-modules-5.2.14/work/vboxdrv/linux/SUPDrv-linux.o]
Error 1
make[4]: *** Waiting for unfinished jobs....
cc1: error: incompatible gcc/plugin versions
cc1: error: fail to initialize plugin
./scripts/gcc-plugins/cyc_complexity_plugin.so
make[4]: *** [/usr/src/linux-4.9.95-gentoo/scripts/Makefile.build:293:
/var/tmp/portage/app-emulation/virtualbox-modules-5.2.14/work/vboxdrv/SUPDrv.o]
Error 1
make[3]: *** [/usr/src/linux-4.9.95-gentoo/Makefile:1508:
_module_/var/tmp/portage/app-emulation/virtualbox-modules-5.2.14/work/vboxdrv]
Error 2
make[3]: Leaving directory '/usr/src/linux-4.9.95-gentoo'
make[2]: *** [Makefile:152: sub-make] Error 2
make[2]: Leaving directory '/usr/src/linux-4.9.95-gentoo'
make[1]: *** [/var/tmp/portage/app-emulation/virtualbox-modules-5.2.14/work/vboxdrv/Makefile.include.footer:101:
vboxdrv] Error 2
make[1]: Leaving directory
'/var/tmp/portage/app-emulation/virtualbox-modules-5.2.14/work/vboxdrv'
make: *** [Makefile:49: all] Error 2
* ERROR: app-emulation/virtualbox-modules-5.2.14::gentoo failed
(compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info
'=app-emulation/virtualbox-modules-5.2.14::gentoo'`,
* the complete build log and the output of `emerge -pqv
'=app-emulation/virtualbox-modules-5.2.14::gentoo'`.
* The complete build log is located at
'/var/log/portage/app-emulation:virtualbox-modules-5.2.14:20180724-080859.log'.
* The ebuild environment file is located at
'/var/tmp/portage/app-emulation/virtualbox-modules-5.2.14/temp/environment'.
* Working directory:
'/var/tmp/portage/app-emulation/virtualbox-modules-5.2.14/work'
* S: '/var/tmp/portage/app-emulation/virtualbox-modules-5.2.14/work'
>>> Failed to emerge app-emulation/virtualbox-modules-5.2.14, Log file:
>>> '/var/log/portage/app-emulation:virtualbox-modules-5.2.14:20180724-080859.log'
Shall I recompile gcc?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] virtualbox-modules fails to update: incompatible gcc/plugin versions
2018-07-24 8:18 [gentoo-user] virtualbox-modules fails to update: incompatible gcc/plugin versions gevisz
@ 2018-07-24 9:25 ` Helmut Jarausch
2018-07-24 10:02 ` gevisz
2018-07-24 16:16 ` Michael Orlitzky
1 sibling, 1 reply; 5+ messages in thread
From: Helmut Jarausch @ 2018-07-24 9:25 UTC (permalink / raw
To: gentoo-user
Just for the record,
I compiled this version with gcc-8.1.0-r3 without any problems.
Helmut
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] virtualbox-modules fails to update: incompatible gcc/plugin versions
2018-07-24 9:25 ` Helmut Jarausch
@ 2018-07-24 10:02 ` gevisz
0 siblings, 0 replies; 5+ messages in thread
From: gevisz @ 2018-07-24 10:02 UTC (permalink / raw
To: gentoo-user
2018-07-24 12:25 GMT+03:00 Helmut Jarausch <jarausch@skynet.be>:
> Just for the record,
> I compiled this version with gcc-8.1.0-r3 without any problems.
>
> Helmut
I currently use the latest current stable version of gcc: 7.3.0-r3.
My current gcc-7.3.0-r3 was compiled with the previous stable
version of it, that is 6.4.0-r1.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] virtualbox-modules fails to update: incompatible gcc/plugin versions
2018-07-24 8:18 [gentoo-user] virtualbox-modules fails to update: incompatible gcc/plugin versions gevisz
2018-07-24 9:25 ` Helmut Jarausch
@ 2018-07-24 16:16 ` Michael Orlitzky
2018-07-24 18:51 ` gevisz
1 sibling, 1 reply; 5+ messages in thread
From: Michael Orlitzky @ 2018-07-24 16:16 UTC (permalink / raw
To: gentoo-user
On 07/24/2018 04:18 AM, gevisz wrote:
> # emerge --update --deep --with-bdeps=y --newuse --backtrack=120 --ask world
>
> Shall I recompile gcc?
>
Nope, recompile your kernel.
Your kernel and virtualbox-modules (which incorporates stuff from your
kernel build) both need to be compiled with the same version of gcc.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] virtualbox-modules fails to update: incompatible gcc/plugin versions
2018-07-24 16:16 ` Michael Orlitzky
@ 2018-07-24 18:51 ` gevisz
0 siblings, 0 replies; 5+ messages in thread
From: gevisz @ 2018-07-24 18:51 UTC (permalink / raw
To: gentoo-user
2018-07-24 19:16 GMT+03:00 Michael Orlitzky <mjo@gentoo.org>:
> On 07/24/2018 04:18 AM, gevisz wrote:
>> # emerge --update --deep --with-bdeps=y --newuse --backtrack=120 --ask world
>>
>> Shall I recompile gcc?
>>
>
> Nope, recompile your kernel.
>
> Your kernel and virtualbox-modules (which incorporates stuff from your
> kernel build) both need to be compiled with the same version of gcc.
Yes, it helped. Thank you.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2018-07-24 18:51 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-24 8:18 [gentoo-user] virtualbox-modules fails to update: incompatible gcc/plugin versions gevisz
2018-07-24 9:25 ` Helmut Jarausch
2018-07-24 10:02 ` gevisz
2018-07-24 16:16 ` Michael Orlitzky
2018-07-24 18:51 ` gevisz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox