[vbox-dev] Build from todays SVN sync fails
Frank Mehnert
frank.mehnert at oracle.com
Wed Jul 8 16:31:53 UTC 2015
Hi Perry,
actually this is the problem: You cannot compile VBox against the
Linux kernel >= 3.19 if you are using gcc/g++-4.8. The reason is
complicated, the summary is that the Linux guys don't care if the
Linux header files are compilable with g++ or not.
Kind regards,
Frank
On Wednesday 08 July 2015 11:05:43 Perry Halbert wrote:
> Hi Frank,
>
>
> gcc version 4.8.4 But I did update the kernel to 3.19.0-21 Actually
> running Mint with a lot of how should I put it.. modifications.
>
> Just tested with 3.16.0-36 and it builds fine.
>
> There was an issue with the uninstaller about unrecognized service
>
> Removing previous installation of VirtualBox 5.0.51_OSE r56744 from
> /opt/VirtualBox
> vboxnet: unrecognized service
> vboxnet: unrecognized service
>
> But i figured that was due to the sysd and initv stuff not being
> completed in sync.
>
> Perry
>
> On 07/08/2015 10:53 AM, Frank Mehnert wrote:
> > Perry,
> >
> > On Wednesday 08 July 2015 10:36:54 Perry Halbert wrote:
> >> Trying to build todays sync from SVN fails with the following.
> >>
> >> In file included from /trunk/include/iprt/types.h:116:0,
> >>
> >> from /trunk/include/iprt/net.h:30,
> >>
> >> from
/trunk/src/VBox/Runtime/common/checksum/ipv4.cpp:31:
> >> /lib/modules/3.19.0-21-generic/build/include/linux/compiler.h:197:29:
> >> error: canââ¬â¢t set ââ¬Ëno_instrument_functionââ¬â¢ attribute
after
> >> definition
> >>
> >> static __always_inline void data_access_exceeds_word_size(void)
> >>
> >> I am fairly sure that I have built with this kernel before but not
> >> certain. Any suggestions?
> >
> > did you change your build environment in the meantime? I guess you are on
> > Ubuntu 15.04? Are you using gcc-4.9?
> >
> > Frank
--
Dr.-Ing. Frank Mehnert | Software Development Director, VirtualBox
ORACLE Deutschland B.V. & Co. KG | Werkstr. 24 | 71384 Weinstadt, Germany
ORACLE Deutschland B.V. & Co. KG
Hauptverwaltung: Riesstraße 25, D-80992 München
Registergericht: Amtsgericht München, HRA 95603
Komplementärin: ORACLE Deutschland Verwaltung B.V.
Hertogswetering 163/167, 3543 AS Utrecht, Niederlande
Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697
Geschäftsführer: Alexander van der Ven, Astrid Kepper, Val Maher
More information about the vbox-dev
mailing list