[Bug 1031343] New: xen fails to build with GCC 7
http://bugzilla.opensuse.org/show_bug.cgi?id=1031343 Bug ID: 1031343 Summary: xen 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: Kernel Assignee: kernel-maintainers@forge.provo.novell.com Reporter: martin.liska@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:G... [ 62s] xenlockprof.c: In function 'main': [ 62s] xenlockprof.c:100:53: error: '%s' directive writing up to 39 bytes into a region of size between 17 and 37 [-Werror=format-overflow=] [ 62s] sprintf(name, "unknown type(%d) %d lock %s", data[j].type, [ 62s] ^~ [ 62s] In file included from /usr/include/stdio.h:939:0, [ 62s] from /home/abuild/rpmbuild/BUILD/xen-4.8.0-testing/tools/misc/../../tools/libxc/include/xenctrl.h:33, [ 62s] from xenlockprof.c:13: [ 62s] /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 24 and 83 bytes into a destination of size 60 [ 62s] return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, [ 62s] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 62s] __bos (__s), __fmt, __va_arg_pack ()); [ 62s] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1031343
Martin Liška
http://bugzilla.opensuse.org/show_bug.cgi?id=1031343
http://bugzilla.opensuse.org/show_bug.cgi?id=1031343#c2
--- Comment #2 from Martin Liška
http://bugzilla.opensuse.org/show_bug.cgi?id=1031343
http://bugzilla.opensuse.org/show_bug.cgi?id=1031343#c3
--- Comment #3 from Martin Liška
http://bugzilla.opensuse.org/show_bug.cgi?id=1031343
http://bugzilla.opensuse.org/show_bug.cgi?id=1031343#c4
--- Comment #4 from Charles Arnold
Any update Charles on that?
I have submitted Xen version 4.9-rc3 to Factory (which was accepted). This version contains the requested commits from comment #2. However, I won't be surprised if there are more problems yet to be encountered. I have been busy recently with security fixes. I will now go back and look at what other issues still exist. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1031343
http://bugzilla.opensuse.org/show_bug.cgi?id=1031343#c5
--- Comment #5 from Martin Liška
(In reply to Martin Liška from comment #3)
Any update Charles on that?
I have submitted Xen version 4.9-rc3 to Factory (which was accepted). This version contains the requested commits from comment #2. However, I won't be surprised if there are more problems yet to be encountered.
I've just talked to Scarabeus and he told me that you are busy at the moment. Anyhow, that's for the submission, I've been testing that with --alternative-project=openSUSE:Factory:Staging:C.
I have been busy recently with security fixes. I will now go back and look at what other issues still exist.
Yep, there are some. I try to fix the simple ones and we'll see. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1031343
http://bugzilla.opensuse.org/show_bug.cgi?id=1031343#c6
--- Comment #6 from Martin Liška
http://bugzilla.opensuse.org/show_bug.cgi?id=1031343
http://bugzilla.opensuse.org/show_bug.cgi?id=1031343#c7
--- Comment #7 from Martin Liška
http://bugzilla.opensuse.org/show_bug.cgi?id=1031343
Martin Liška
http://bugzilla.opensuse.org/show_bug.cgi?id=1031343
http://bugzilla.opensuse.org/show_bug.cgi?id=1031343#c15
--- Comment #15 from Martin Liška
(In reply to Martin Liška from comment #12)
Created attachment 725531 [details] osc build log file
Trying latest Virtualization/xen with --alternative-project=openSUSE:Factory:Staging:C and it finishes with an error.
Please take a look at attached log file, is it the python issue? It uses glibc-2.25-4.5
This is the "strtoll_r.c:110: undefined reference to `__udivmoddi4'" problem you mentioned in comment #7.
I see. I can confirm that I can currently build xen with latest Staging:C gcc7 compiler. Good job! -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1031343
http://bugzilla.opensuse.org/show_bug.cgi?id=1031343#c16
Charles Arnold
participants (1)
-
bugzilla_noreply@novell.com