On Mon, Oct 21, 2013 at 04:25:01PM +0200, Kay Sievers wrote: > On Mon, Oct 21, 2013 at 3:57 PM, Zbigniew Jędrzejewski-Szmek > <[email protected]> wrote: > > On Mon, Oct 21, 2013 at 06:48:11AM -0700, Kay Sievers wrote: > >> autogen.sh | 2 +- > >> src/core/machine-id-setup.c | 2 +- > >> src/core/manager.c | 2 +- > >> src/shared/ask-password-api.c | 3 ++- > >> src/tmpfiles/tmpfiles.c | 7 +++++-- > >> 5 files changed, 10 insertions(+), 6 deletions(-) > >> > >> New commits: > >> commit df28bc0836ad6a79cb537ad0b463819738088f3e > >> Author: Kay Sievers <[email protected]> > >> Date: Mon Oct 21 15:24:18 2013 +0200 > >> > >> build-sys: use -Og instead of -O0 to catch warnings > > Hi Kay, > > > > I like -Og, but there are bugs in gcc and/or libraries which cause > > that a build with -Og to fail in some open() invocations: > > > > On up-to-date F20: > > > > CC src/core/libsystemd_core_la-dbus-execute.lo > > In file included from /usr/include/fcntl.h:302:0, > > from ../src/core/execute.c:25: > > In function 'open', > > inlined from 'open_null_as' at ../src/core/execute.c:196:12: > > /usr/include/bits/fcntl2.h:50:24: error: call to '__open_missing_mode' > > declared with attribute error: open with O_CREAT in second argument needs 3 > > arguments > > __open_missing_mode (); > > ^ > > make[2]: *** [src/core/libsystemd_core_la-execute.lo] Error 1 > > Hmm, I'm running up-to-date F20, from today here. And have no issues. > Tried a "git clean"?
I now did a 'yum update', and with a bunch of packages installed, most notably gcc-4.8.2, this problem is gone. It seems that we're on the bleeding edge regarding gcc too. Zbyszek _______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
