<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <font face="Verdana">I see.  I usually don't read a lot of the Linux
      kernel blogs due to so much infighting but this one was clean and
      concise.<br>
      <br>
      I also realize the headache of trying to keep this program going
      with all the changes happening all over the place and really,
      really, appreciate your work and help.<br>
      <br>
      Perry<br>
      <br>
    </font><br>
    <div class="moz-cite-prefix">On 07/08/2015 12:11 PM, Frank Mehnert
      wrote:<br>
    </div>
    <blockquote cite="mid:1572344.mUqn7GFTxO@noys2" type="cite">
      <pre wrap="">For reference, actually this is the responsible changeset:

<a class="moz-txt-link-freetext" href="https://github.com/torvalds/linux/commit/230fa253df6352af12ad0a16128760b5cb3f92df">https://github.com/torvalds/linux/commit/230fa253df6352af12ad0a16128760b5cb3f92df</a>

The problem is that these functions use __always_inline which expand
to 'notrace something' and notrace expands to 'no_instrument_function'
before we can overwrite it, see <iprt/types.h> lines 117ff.

g++-4.9 is more forgiving.

Thanks,

Frank

On Wednesday 08 July 2015 12:00:29 Perry Halbert wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">Well that was fun and I did have a couple gerrr moments, but gcc 4.9.2
is built, installed, and I have a new bouncing baby install of the
latest from SVN.

Thanks you my friend for sterring me in the direction I should have
already known but didn't. Everyday one needs to learn something and that
is it for today. :)

Perry

On 07/08/2015 11:39 AM, Perry Halbert wrote:
</pre>
        <blockquote type="cite">
          <pre wrap="">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:
</pre>
          <blockquote type="cite">
            <pre wrap="">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:
</pre>
            <blockquote type="cite">
              <pre wrap="">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:
</pre>
              <blockquote type="cite">
                <pre wrap="">Perry,

On Wednesday 08 July 2015 10:36:54 Perry Halbert wrote:
</pre>
                <blockquote type="cite">
                  <pre wrap="">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
</pre>
                </blockquote>
              </blockquote>
            </blockquote>
            <pre wrap="">
/trunk/src/VBox/Runtime/common/checksum/ipv4.cpp:31:
</pre>
            <blockquote type="cite">
              <blockquote type="cite">
                <blockquote type="cite">
                  <pre wrap="">/lib/modules/3.19.0-21-generic/build/include/linux/compiler.h:197:29:
error: can’t set 
</pre>
                </blockquote>
              </blockquote>
            </blockquote>
          </blockquote>
        </blockquote>
      </blockquote>
      <pre wrap="">‘no_instrument_function’
</pre>
      <blockquote type="cite">
        <blockquote type="cite">
          <blockquote type="cite">
            <blockquote type="cite">
              <blockquote type="cite">
                <blockquote type="cite">
                  <pre wrap="">attribute
</pre>
                </blockquote>
              </blockquote>
            </blockquote>
            <pre wrap="">
after

</pre>
            <blockquote type="cite">
              <blockquote type="cite">
                <blockquote type="cite">
                  <pre wrap="">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?
</pre>
                </blockquote>
                <pre wrap="">
did you change your build environment in the meantime? I guess you are
on
Ubuntu 15.04? Are you using gcc-4.9?

Frank
</pre>
              </blockquote>
            </blockquote>
          </blockquote>
          <pre wrap="">
_______________________________________________
vbox-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:vbox-dev@virtualbox.org">vbox-dev@virtualbox.org</a>
<a class="moz-txt-link-freetext" href="https://www.virtualbox.org/mailman/listinfo/vbox-dev">https://www.virtualbox.org/mailman/listinfo/vbox-dev</a>
</pre>
        </blockquote>
      </blockquote>
      <pre wrap="">
</pre>
    </blockquote>
    <br>
  </body>
</html>