[Bug 784452] New: libzypp-bindings out of memory during the build
https://bugzilla.novell.com/show_bug.cgi?id=784452 https://bugzilla.novell.com/show_bug.cgi?id=784452#c0 Summary: libzypp-bindings out of memory during the build Classification: openSUSE Product: openSUSE 12.2 Version: Final Platform: PowerPC-64 OS/Version: openSUSE 12.2 Status: NEW Severity: Normal Priority: P5 - None Component: libzypp AssignedTo: zypp-maintainers@forge.provo.novell.com ReportedBy: dvaleev@suse.com QAContact: qa-bugs@suse.de Found By: --- Blocker: --- Created an attachment (id=508975) --> (http://bugzilla.novell.com/attachment.cgi?id=508975) full build log User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.7) Gecko/20100101 Firefox/10.0.7 ppc64 built fails with: [ 4154s] Out of memory: Kill process 2367 (cc1plus) score 623 or sacrifice child [ 4154s] Killed process 2367 (cc1plus) total-vm:846912kB, anon-rss:358016kB, file-rss:0kB [ 4155s] {standard input}: Assembler messages: [ 4155s] {standard input}:4723890: Warning: end of file in string; '"' inserted [ 4164s] c++: internal compiler error: Killed (program cc1plus) [ 4164s] Please submit a full bug report, [ 4164s] with preprocessed source if appropriate. [ 4164s] See <http://bugs.opensuse.org/> for instructions. [ 4164s] make[2]: *** [swig/perl5/CMakeFiles/zypp_perl.dir/libzypp_perl.cc.o] Error 4 While ppc (32bit) succeeds Reproducible: Always Steps to Reproduce: 1. 2. 3. Actual Results: [ 2657s] /home/abuild/rpmbuild/BUILD/libzypp-bindings-0.5.13/build/swig/perl5/libzypp_perl.cc: In function 'int SWIG_AsVal_int(SV*, int*)': [ 2657s] /home/abuild/rpmbuild/BUILD/libzypp-bindings-0.5.13/build/swig/perl5/libzypp_perl.cc:2343:5: warning: 'v' may be used uninitialized in this function [-Wmaybe-uninitialized] [ 4154s] Out of memory: Kill process 2367 (cc1plus) score 623 or sacrifice child [ 4154s] Killed process 2367 (cc1plus) total-vm:846912kB, anon-rss:358016kB, file-rss:0kB [ 4155s] {standard input}: Assembler messages: [ 4155s] {standard input}:4723890: Warning: end of file in string; '"' inserted [ 4164s] c++: internal compiler error: Killed (program cc1plus) [ 4164s] Please submit a full bug report, [ 4164s] with preprocessed source if appropriate. [ 4164s] See <http://bugs.opensuse.org/> for instructions. [ 4164s] make[2]: *** [swig/perl5/CMakeFiles/zypp_perl.dir/libzypp_perl.cc.o] Error 4 [ 4164s] make[2]: Leaving directory `/home/abuild/rpmbuild/BUILD/libzypp-bindings-0.5.13/build' [ 4165s] make[1]: *** [swig/perl5/CMakeFiles/zypp_perl.dir/all] Error 2 [ 4165s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/libzypp-bindings-0.5.13/build' [ 4165s] make: *** [all] Error 2 Expected Results: libzypp-bindings should build -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=784452 https://bugzilla.novell.com/show_bug.cgi?id=784452#c1 Michael Andres <ma@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |matz@suse.com InfoProvider| |dvaleev@suse.com --- Comment #1 from Michael Andres <ma@suse.com> 2012-10-11 11:01:08 CEST --- Out of memory: Kill process 2367 (cc1plus) Killed process 2367 (cc1plus) total-vm:846912kB, anon-rss:358016kB @Dinar: Can you build it on a physical machine (or a VM with more memory)? I don't think this is a code issue, as it builds on all other archs. Maybe g++ on ppc_64 has problems, or the buildhost simply needs more memory. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=784452 https://bugzilla.novell.com/show_bug.cgi?id=784452#c2 Dinar Valeev <dvaleev@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|dvaleev@suse.com | --- Comment #2 from Dinar Valeev <dvaleev@suse.com> 2012-10-11 09:14:41 UTC --- sure, locally it builds (I have a machine with 64gigs of ram). The question here is why 32bit builds with the same machine configuration. JFYI worker have 768 megs of RAM. Which was sufficient to build for example FF15 (prior version 15). Or swig leaks? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=784452 https://bugzilla.novell.com/show_bug.cgi?id=784452#c3 --- Comment #3 from Michael Andres <ma@suse.com> 2012-10-11 11:36:37 CEST --- [ 4155s] {standard input}: Assembler messages: [ 4155s] {standard input}:4723890: Warning: end of file in string; '"' This appears strange to me. But if swig would generate wrong code, it should not build locally either. Unless there is a different swig (perl?) version in 12.2-ppc. Is there a way to get the buildnodes swig/perl5/CMakeFiles/zypp_perl.dir/libzypp_perl.cc? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=784452 https://bugzilla.novell.com/show_bug.cgi?id=784452#c4 --- Comment #4 from Dinar Valeev <dvaleev@suse.com> 2012-10-11 09:39:42 UTC --- Do you need this file from the failing build? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=784452 https://bugzilla.novell.com/show_bug.cgi?id=784452#c5 --- Comment #5 from Michael Andres <ma@suse.com> 2012-10-11 11:42:03 CEST --- yes -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=784452 https://bugzilla.novell.com/show_bug.cgi?id=784452#c6 --- Comment #6 from Michael Matz <matz@suse.com> 2012-10-11 13:17:31 UTC --- Yeah, the bindings (like much generated) code is notorious for needing much compile memory. And yes, 768 MB RAM for build hosts unfortunately is ridiculous, and no we can't really do much about this on the GCC side. Build with -O0 and/or without -g :-/ -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=784452 https://bugzilla.novell.com/show_bug.cgi?id=784452#c7 Dinar Valeev <dvaleev@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution| |INVALID --- Comment #7 from Dinar Valeev <dvaleev@suse.com> 2012-10-15 22:18:07 UTC --- we've increased memory size on workers to 1024mb. it builds now. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com