<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </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 - Systemd 219 does not build with LLVM/clang"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=89379">89379</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Systemd 219 does not build with LLVM/clang
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>systemd
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

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

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

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>general
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>systemd-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>tpgxyz@gmail.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>systemd-bugs@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Systemd-219 does not build with LLVM/clang due to added VLAIS in systemd code.

Build log can be found here:
<a href="https://abf.io/build_lists/2435505">https://abf.io/build_lists/2435505</a>


/builddir/build/BUILD/systemd-219/src/shared/macro.h:36:38: note: expanded from
macro '_alloc_'
#define _alloc_(...) __attribute__ ((alloc_size(__VA_ARGS__)))
                                     ^
/builddir/build/BUILD/systemd-219/src/libsystemd/sd-daemon/sd-daemon.c:357:25:
error: fields must have a constant size: 'variable length array in structure'
extension will never be supported
                uint8_t buf[CMSG_SPACE(sizeof(struct ucred)) +
                        ^
4 warnings and 1 error generated.
make[2]: *** [src/libsystemd/sd-daemon/libsystemd_internal_la-sd-daemon.lo]
Error 1
make[2]: *** Waiting for unfinished jobs....

Looks like culprit is here:
<a href="http://cgit.freedesktop.org/systemd/systemd/commit/src/libsystemd/sd-daemon/sd-daemon.c?id=a354329f724d6ce913d2ccffb2be8f3327a67faa">http://cgit.freedesktop.org/systemd/systemd/commit/src/libsystemd/sd-daemon/sd-daemon.c?id=a354329f724d6ce913d2ccffb2be8f3327a67faa</a></pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>