[systemd-bugs] [Bug 89379] New: Systemd 219 does not build with LLVM/clang
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sun Mar 1 11:06:23 PST 2015
https://bugs.freedesktop.org/show_bug.cgi?id=89379
Bug ID: 89379
Summary: Systemd 219 does not build with LLVM/clang
Product: systemd
Version: unspecified
Hardware: All
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: general
Assignee: systemd-bugs at lists.freedesktop.org
Reporter: tpgxyz at gmail.com
QA Contact: systemd-bugs at lists.freedesktop.org
Systemd-219 does not build with LLVM/clang due to added VLAIS in systemd code.
Build log can be found here:
https://abf.io/build_lists/2435505
/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:
http://cgit.freedesktop.org/systemd/systemd/commit/src/libsystemd/sd-daemon/sd-daemon.c?id=a354329f724d6ce913d2ccffb2be8f3327a67faa
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20150301/7f62c2bc/attachment.html>
More information about the systemd-bugs
mailing list