Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gcc-4.5.3-r2 fails to build on ~ppc64
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
mmxgn
n00b
n00b


Joined: 03 Oct 2004
Posts: 11
Location: Greece

PostPosted: Wed Feb 15, 2012 2:42 pm    Post subject: gcc-4.5.3-r2 fails to build on ~ppc64 Reply with quote

Hello,

Before two or three days I tried emerge --sync'ing and emerge -uvD world on a fresh install
of gentoo ppc64 on an iMac G5.

emerge -uvD world fails on gcc-4.5.3-r2 with the following:

build.log

Code:

/bin/sh /var/tmp/portage/sys-devel/gcc-4.5.3-r2/work/gcc-4.5.3/gcc/../move-if-change tmp-codes.h insn-codes.h
/bin/sh /var/tmp/portage/sys-devel/gcc-4.5.3-r2/work/gcc-4.5.3/gcc/../move-if-change tmp-config.h insn-config.h
echo timestamp > s-codes
build/genattrtab /var/tmp/portage/sys-devel/gcc-4.5.3-r2/work/gcc-4.5.3/gcc/config/rs6000/rs6000.md \
  insn-conditions.md > tmp-attrtab.c
echo timestamp > s-config
build/genautomata /var/tmp/portage/sys-devel/gcc-4.5.3-r2/work/gcc-4.5.3/gcc/config/rs6000/rs6000.md \
  insn-conditions.md > tmp-automata.c
/bin/sh: line 1: 25541 Killed                  build/genautomata /var/tmp/portage/sys-devel/gcc-4.5.3-r2/work/gcc-4.5.3/gcc/config/rs6000/rs6000.md insn-conditions.md > tmp-automata.c
make[3]: *** [s-automata] Error 137
make[3]: *** Waiting for unfinished jobs....
/bin/sh /var/tmp/portage/sys-devel/gcc-4.5.3-r2/work/gcc-4.5.3/gcc/../move-if-change tmp-attrtab.c insn-attrtab.c
echo timestamp > s-attrtab
rm gcc.pod
make[3]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.5.3-r2/work/build/gcc'
make[2]: *** [all-stage1-gcc] Error 2
make[2]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.5.3-r2/work/build'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.5.3-r2/work/build'
make: *** [bootstrap-lean] Error 2
emake failed
 * ERROR: sys-devel/gcc-4.5.3-r2 failed (compile phase):
 *   emake failed with bootstrap-lean
 *
 * Call stack:
 *     ebuild.sh, line   85:  Called src_compile
 *   environment, line 4065:  Called toolchain_src_compile
 *   environment, line 4720:  Called gcc_do_make
 *   environment, line 2355:  Called die
 * The specific snippet of code:
 *       emake LDFLAGS="${LDFLAGS}" STAGE1_CFLAGS="${STAGE1_CFLAGS}" LIBPATH="${LIBPATH}" BOOT_CFLAGS="${BOOT_CFLAGS}" ${GCC_MAKE_TARGET} || die "emake failed with ${GCC_MAKE_TARGET}";
 *
 * If you need support, post the output of 'emerge --info =sys-devel/gcc-4.5.3-r2',
 * the complete build log and the output of 'emerge -pqv =sys-devel/gcc-4.5.3-r2'.
 *
 * Please include /var/tmp/portage/sys-devel/gcc-4.5.3-r2/work/build/gcc-build-logs.tar.bz2 in your bug report
 *
 * The complete build log is located at '/var/tmp/portage/sys-devel/gcc-4.5.3-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-devel/gcc-4.5.3-r2/temp/environment'.
 * S: '/var/tmp/portage/sys-devel/gcc-4.5.3-r2/work/build'


emerge --info

Code:

Portage 2.1.10.46 (default/linux/powerpc/ppc64/10.0/64bit-userland/desktop/gnome, gcc-4.5.3, glibc-2.14.1-r2, 3.2.5-gentoo-emergencia ppc64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.2.5-gentoo-emergencia-ppc64-PPC970FX,_altivec_supported-with-gentoo-2.1
Timestamp of tree: Wed, 15 Feb 2012 12:30:01 +0000
distcc 3.1 powerpc64-unknown-linux-gnu [disabled]
app-shells/bash:          4.1_p9
dev-lang/python:          2.7.2-r3, 3.1.4-r3
dev-util/cmake:           2.8.7-r3
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.11.3
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.3-r1
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.2 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r2
Repositories: gentoo
ACCEPT_KEYWORDS="ppc64 ~ppc64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="powerpc64-unknown-linux-gnu"
CFLAGS="-mcpu=G5 -O2 -pipe"
CHOST="powerpc64-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-mcpu=G5 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://files.gentoo.gr ftp://files.gentoo.gr http://ftp.ntua.gr/pub/linux/gentoo/ ftp://ftp.ntua.gr/pub/linux/gentoo/ http://ftp.cc.uoc.gr/mirrors/linux/gentoo/ ftp://ftp.cc.uoc.gr/mirrors/linux/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl alsa altivec berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr eds emboss encode evo exif fam firefox flac fortran gdbm gdu gif gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk ibm iconv ipv6 jpeg lcms ldap libnotify mad mng modules mp3 mp4 mpeg mudflap nautilus ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf png policykit ppc64 ppds pppd pulseaudio qt3support qt4 readline sdl session socialweb spell ssl startup-notification svg sysfs tcpd tiff truetype udev unicode usb vorbis xcb xml xorg xulrunner xv xvid zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


emerge -pvq
Code:

[ebuild     U ] sys-devel/gcc-4.5.3-r2 [4.5.3-r1] USE="altivec* cxx fortran gtk* mudflap nls nptl openmp -bootstrap -build -doc (-fixed-point) -gcj -graphite (-hardened) (-libffi) (-libssp) -lto (-multilib) -multislot -nocxx -nopie -nossp -objc -objc++ -objc-gc -test -vanilla"


Any hints?
Thank you for your answers.
_________________
morthul surinen
fanya quelli
RIP 0x7D4


Last edited by mmxgn on Wed Feb 15, 2012 3:16 pm; edited 1 time in total
Back to top
View user's profile Send private message
gringo
Advocate
Advocate


Joined: 27 Apr 2003
Posts: 3793

PostPosted: Wed Feb 15, 2012 3:03 pm    Post subject: Reply with quote

i dont see any error in what you posted, last few lines of the build.log should be enough.

cheers
Back to top
View user's profile Send private message
mmxgn
n00b
n00b


Joined: 03 Oct 2004
Posts: 11
Location: Greece

PostPosted: Wed Feb 15, 2012 3:16 pm    Post subject: Reply with quote

gringo wrote:
i dont see any error in what you posted, last few lines of the build.log should be enough.

cheers


Sorry about that.

Check again now :)
_________________
morthul surinen
fanya quelli
RIP 0x7D4
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Wed Feb 15, 2012 3:29 pm    Post subject: Reply with quote

It says Killed. Probably out of memory, try with -j1.
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
mmxgn
n00b
n00b


Joined: 03 Oct 2004
Posts: 11
Location: Greece

PostPosted: Wed Feb 15, 2012 5:09 pm    Post subject: Reply with quote

Jaglover wrote:
It says Killed. Probably out of memory, try with -j1.


Thank you for your answer. Tried it with -j1, still compiling but has not died yet.

Edit: It worked. Thank you very much.

Seemed like the swap was not enabled for some reason. I guess that's why it kept dying.
_________________
morthul surinen
fanya quelli
RIP 0x7D4
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum