Bug 696541 - gcc-4.4.5-2.fc13 doesn't compile on ARM
Summary: gcc-4.4.5-2.fc13 doesn't compile on ARM
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: gcc
Version: 13
Hardware: arm7
OS: Linux
high
unspecified
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-14 09:14 UTC by Peter Robinson
Modified: 2011-05-26 07:06 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-04-14 09:22:16 UTC
Type: ---


Attachments (Terms of Use)

Description Peter Robinson 2011-04-14 09:14:43 UTC
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

Comment 1 Jakub Jelinek 2011-04-14 09:22:16 UTC
gcj: Internal error: Killed (program jc1)
means you are short on memory, gcc needs quite a lot of memory to compile libgcj.


Note You need to log in before you can comment on or make changes to this bug.