[Bug 1030241] New: cluster-glue fails to build with GCC 7
http://bugzilla.opensuse.org/show_bug.cgi?id=1030241 Bug ID: 1030241 Summary: cluster-glue fails to build with GCC 7 Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem Assignee: bnc-team-screening@forge.provo.novell.com Reporter: martin.liska@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- [ 59s] cl_pidfile.c: In function 'DoLock': [ 59s] cl_pidfile.c:172:29: error: '__builtin___snprintf_chk' output may be truncated before the last format character [-Werror=format-truncation=] [ 59s] snprintf(buf, sizeof(buf), "%*ld\n", LOCKSTRLEN-1, mypid); [ 59s] ^~~~~~~~ [ 59s] In file included from /usr/include/stdio.h:939:0, [ 59s] from cl_pidfile.c:18: [ 59s] /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 12 and 13 bytes into a destination of size 12 [ 59s] return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, [ 59s] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 59s] __bos (__s), __fmt, __va_arg_pack ()); [ 59s] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Can be tested in openSUSE:Factory:Staging:Gcc7 project. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1030241
Martin Liška
http://bugzilla.opensuse.org/show_bug.cgi?id=1030241
http://bugzilla.opensuse.org/show_bug.cgi?id=1030241#c1
Martin Liška
http://bugzilla.opensuse.org/show_bug.cgi?id=1030241
http://bugzilla.opensuse.org/show_bug.cgi?id=1030241#c2
Antoine Belvire
participants (1)
-
bugzilla_noreply@novell.com