Re: [gentoo-user] virtualbox-modules fails to update: incompatible gcc/plugin versions

2018-07-24 Thread gevisz
2018-07-24 19:16 GMT+03:00 Michael Orlitzky :
> 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.



Re: [gentoo-user] virtualbox-modules fails to update: incompatible gcc/plugin versions

2018-07-24 Thread Michael Orlitzky
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.



Re: [gentoo-user] virtualbox-modules fails to update: incompatible gcc/plugin versions

2018-07-24 Thread gevisz
2018-07-24 12:25 GMT+03:00 Helmut Jarausch :
> 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.



Re: [gentoo-user] virtualbox-modules fails to update: incompatible gcc/plugin versions

2018-07-24 Thread Helmut Jarausch

Just for the record,
I compiled this version with gcc-8.1.0-r3 without any problems.

Helmut


[gentoo-user] virtualbox-modules fails to update: incompatible gcc/plugin versions

2018-07-24 Thread gevisz
# 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?