<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello, <br>
    <div class="moz-forward-container">
      <p> There is what appears to me to be a glaring bug in the
        kbuild-patch script. Immediately after the script builds the
        original kernel, the following line should appear (but does
        not): <br>
        <br>
             >$TEMPDIR/changed_objs <br>
        <br>
        Without that line, the script goes on to die with a bogus
        "invalid ancestor" error. If you turn those bogus errors into
        warnings, then the script goes on to incorrectly put into the
        generated .ko file every single function that was compiled in
        the <b class="moz-txt-star"><span class="moz-txt-tag">*</span>original<span
            class="moz-txt-tag">*</span></b> kernel build, thereby
        producing an immense .ko file with more than 64k sections that
        the linux kernel cannot load. <br>
        <br>
        Adding the above line fixes everything. Indeed, the description
        in README.md of how kpatch-build works implies that the above
        line has to be present in the kpatch-build script. <br>
        <br>
        Fascinatingly enough, I have poked around through the git
        history and I cannot find the above line present in any earlier
        commit state. (I also cannot find a mention of this issue in the
        mail archives, although I might have missed it.) So I am
        wondering, how in the world does this script work for all of
        you? <br>
        <br>
        Martin Carroll <br>
      </p>
    </div>
  </body>
</html>