Hide Forgot
Compiling the latest F-13 gcc on ARM fails with the following error to report a bug: {standard input}: Assembler messages: {standard input}:7250439: Warning: partial line at end of file ignored gcj: Internal error: Killed (program jc1) Please submit a full bug report. See <http://bugzilla.redhat.com/bugzilla> for instructions. The build on the ARM koji instance is: http://arm.koji.fedoraproject.org/koji/taskinfo?taskID=93136 The full build logs are at: http://arm.koji.fedoraproject.org/koji/getfile?taskID=93138&name=build.log But the relevant excerpt is: libtool: compile: /builddir/build/BUILD/gcc-4.4.5-20101113/obj-armv5tel-redhat-linux-gnueabi/./gcc/gcj -B/builddir/build/BUILD/gcc-4.4.5-20101113/obj-armv5tel-redhat-linux-gnueabi/armv5tel-redhat-linux-gnueabi/libjava/ -B/builddir/build/BUILD/gcc-4.4.5-20101113/obj-armv5tel-redhat-linux-gnueabi/./gcc/ -B/usr/armv5tel-redhat-linux-gnueabi/bin/ -B/usr/armv5tel-redhat-linux-gnueabi/lib/ -isystem /usr/armv5tel-redhat-linux-gnueabi/include -isystem /usr/armv5tel-redhat-linux-gnueabi/sys-include -fclasspath= -fbootclasspath=../../../libjava/classpath/lib --encoding=UTF-8 -Wno-deprecated -fbootstrap-classes -O2 -g -pipe -Wall -fexceptions -fstack-protector --param=ssp-buffer-size=4 -march=armv5te -c -fsource-filename=/builddir/build/BUILD/gcc-4.4.5-20101113/obj-armv5tel-redhat-linux-gnueabi/armv5tel-redhat-linux-gnueabi/libjava/classpath/lib/classes -MT gnu/java/security/hash.lo -MD -MP -MF gnu/java/security/hash.deps @gnu/java/security/hash.list -o gnu/java/security/hash.o >/dev/null 2>&1 {standard input}: Assembler messages: {standard input}:7250439: Warning: partial line at end of file ignored gcj: Internal error: Killed (program jc1) Please submit a full bug report. See <http://bugzilla.redhat.com/bugzilla> for instructions. make[3]: *** [gnu/java/nio/charset.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/builddir/build/BUILD/gcc-4.4.5-20101113/obj-armv5tel-redhat-linux-gnueabi/armv5tel-redhat-linux-gnueabi/libjava' make[2]: Leaving directory `/builddir/build/BUILD/gcc-4.4.5-20101113/obj-armv5tel-redhat-linux-gnueabi/armv5tel-redhat-linux-gnueabi/libjava' make[2]: *** [all-recursive] Error 1 make[1]: Leaving directory `/builddir/build/BUILD/gcc-4.4.5-20101113/obj-armv5tel-redhat-linux-gnueabi' make[1]: *** [all-target-libjava] Error 2 make: *** [profiledbootstrap] Error 2 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.oji54x (%build) Bad exit status from /var/tmp/rpm-tmp.oji54x (%build) Child returncode was: 1 EXCEPTION: Command failed. See logs for output. # ['bash', '--login', '-c', 'rpmbuild -bb --target armv5tel --nodeps builddir/build/SPECS/gcc.spec'] Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/mock/trace_decorator.py", line 70, in trace result = func(*args, **kw) File "/usr/lib/python2.6/site-packages/mock/util.py", line 324, in do raise mock.exception.Error, ("Command failed. See logs for output.\n # %s" % (command,), child.returncode) Error: Command failed. See logs for output. # ['bash', '--login', '-c', 'rpmbuild -bb --target armv5tel --nodeps builddir/build/SPECS/gcc.spec'] LEAVE do --> EXCEPTION RAISED
gcj: Internal error: Killed (program jc1) means you are short on memory, gcc needs quite a lot of memory to compile libgcj.