Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 200416 - sys-devel/gcc-4.1.2 fails to compile on PPC
Summary: sys-devel/gcc-4.1.2 fails to compile on PPC
Status: RESOLVED DUPLICATE of bug 20600
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-26 18:05 UTC by Matthieu Rollet
Modified: 2007-11-26 22:47 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build logfile (build.log,351.65 KB, text/plain)
2007-11-26 18:08 UTC, Matthieu Rollet
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matthieu Rollet 2007-11-26 18:05:55 UTC
GCC 4.1.2 fails to compile during the bootstrap process of Stage1. The process get killed.

gcc   -O -DENABLE_CHECKING -DENABLE_ASSERT_CHECKING -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definit$
          gcc.o g++spec.o intl.o prefix.o version.o  ../libcpp/libcpp.a   ../libiberty/libiberty.a
sed -e '/cc1_options/{ n; s/$/ %{!msoft-float:-mlong-double-128}/; }' < specs > ldblspecs
build/gcov-iov '4.1.2' '' \
            > tmp-gcov-iov.h
/bin/sh /var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc/../move-if-change tmp-gcov-iov.h gcov-iov.h
echo timestamp > s-iov
build/genattrtab /var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc/config/rs6000/rs6000.md > tmp-attrtab.c
/bin/sh: line 1: 18512 Killed                  build/genattrtab /var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc/config/rs6000/rs6000.md >tmp-attrtab.c
make[2]: *** [s-attrtab] Error 137
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/gcc'
make: *** [bootstrap-lean] Error 2

I don't have a clue how or why this happens.

My hardware : PPC603e 160Mhz, 138 Mb RAM



Reproducible: Always

Steps to Reproduce:
Starting Bootstrap process of stage 1
Actual Results:  
Don't compile and end with an error

Expected Results:  
Correct compilation of GCC.

livecd / # emerge --info
Portage 2.1.3.19 (default-linux/ppc/ppc32/2007.0, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r5-apple ppc)
=================================================================
System uname: 2.6.19-gentoo-r5-apple ppc 603ev
Timestamp of tree: Sun, 25 Nov 2007 11:46:01 +0000
app-shells/bash:     3.1_p17
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.61
sys-devel/automake:  1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="ppc"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-mcpu=603e -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-mcpu=603e -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://mirror.ovh.net/gentoo-distfiles/ "
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acl berkdb bitmap-fonts cli cracklib crypt cups dri firefox fortran gdbm gpm iconv isdnlog jpeg midi mp3 mudflap ncurses nls nptl nptlonly openmp pcre perl png ppc pppd python readline reflection samba session spl ssl tcpd truetype-fonts type1-fonts unicode xorg zlib" ALSA_CARDS="aoa aoa-fabric-layout aoa-onyx aoa-soundbus aoa-soundbus-i2s aoa-tas aoa-toonie powermac usb-audio via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="chips dummy fbdev glint imstt mach64 mga nv r128 radeon s3 s3virge savage sisusb tdfx trident v4l voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Matthieu Rollet 2007-11-26 18:08:42 UTC
Created attachment 137061 [details]
build logfile
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-11-26 21:01:53 UTC
Most likely out of RAM, try without -pipe

*** This bug has been marked as a duplicate of bug 20600 ***
Comment 3 Matthieu Rollet 2007-11-26 22:47:07 UTC
Yes I found that out looking at memory usage. I just waited the bootstrap to end to be sure.

Problem was solved by adding more swap.