<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Clang/LLVM 3.4 can't compile Neovim anymove: Assertion failed: (found && "Losing a member during member list replacement")"
   href="http://llvm.org/bugs/show_bug.cgi?id=19351">19351</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Clang/LLVM 3.4 can't compile Neovim anymove: Assertion failed: (found && "Losing a member during member list replacement")
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>3.4
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Macintosh
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>MacOS X
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>LLVM Codegen
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>nicolas@hillegeer.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=12350" name="attach_12350" title="error reporting by clang, assertion failed while building event.c">attachment 12350</a> <a href="attachment.cgi?id=12350&action=edit" title="error reporting by clang, assertion failed while building event.c">[details]</a></span>
error reporting by clang, assertion failed while building event.c

I'm not entirely sure if I placed this in the right tracker, someone please
move it if it isnt'.

First of: since a few commits ago, clang 3.4 no longer compiles the neovim
project: <a href="https://github.com/neovim/neovim">https://github.com/neovim/neovim</a> on OSX. Strangely enough, there seem
to be no such problems on linux, as the continuous integration (travis) runs
both gcc 4.7 and clang 3.4 to test.

I've used git bisect to find the offending commit:
<a href="https://github.com/neovim/neovim/commit/967fb1aca6ea9c3d3046ccd6b9fcf0f88d6999ac">https://github.com/neovim/neovim/commit/967fb1aca6ea9c3d3046ccd6b9fcf0f88d6999ac</a>

I thus suspect it has something to do with klist.h from klib
(<a href="https://github.com/attractivechaos/klib">https://github.com/attractivechaos/klib</a>), which was first used in that commit.

After checking out the project, I perform:

$ rm -rf build; make all

This wil build the dependencies (libuv and luajit) and then start building
neovim. I've added the error in an attachment.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>