[vbox-dev] Build from todays SVN sync fails

Perry Halbert phalbert at cox.net
Wed Jul 8 16:39:44 GMT 2015


Wow. It's always something huh?  I do have the gcc 4.9 base but nothing 
else available at this point.  Guess it's time to build yet another 
special package. ( I don't like waiting for them to catch up )  No 
problem, I can build it and see how it goes.  Thanks for the clarification.

Perry


On 07/08/2015 11:31 AM, Frank Mehnert wrote:
> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20150708/1d1257d0/attachment.html>


More information about the vbox-dev mailing list