VirtualBox

Opened 6 years ago

Last modified 6 years ago

#17571 new defect

Guest additions will not build using gcc 6

Reported by: tomasth Owned by:
Component: guest additions Version: VirtualBox 5.2.6
Keywords: gcc, guest, additions Cc:
Guest type: Linux Host type: Windows

Description

See attached log. This is on a Ubuntu 1204 guest using gcc6 from https://launchpad.net/~ubuntu-toolchain-r/+archive/ubuntu/test

Builds are OK using gcc5 from same source

Attachments (1)

vboxadd-setup.log (16.0 KB ) - added by tomasth 6 years ago.

Download all attachments as: .zip

Change History (3)

by tomasth, 6 years ago

Attachment: vboxadd-setup.log added

comment:1 by Valery Ushakov, 6 years ago

Your kernel doesn't provide compiler-gcc6.h header. Not much we can do about that.

in reply to:  1 comment:2 by tomasth, 6 years ago

Replying to vushakov:

Your kernel doesn't provide compiler-gcc6.h header. Not much we can do about that.

Thanks, I didn't realize the headers were kernel-generated. Found this workaround suggestion https://stackoverflow.com/questions/29925513/compile-a-linux-2-6-kernel-module-with-newer-compiler but I guess it could be risky.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use