Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 286576 - internal compiler error: Segmentation fault when building opencore-amr
Summary: internal compiler error: Segmentation fault when building opencore-amr
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-26 21:45 UTC by Mounir Lamouri (volkmar) (RETIRED)
Modified: 2015-06-11 16:51 UTC (History)
1 user (show)

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


Attachments
Build log (build.log,46.47 KB, text/plain)
2009-09-26 21:45 UTC, Mounir Lamouri (volkmar) (RETIRED)
Details
output with -save-temps (pitch_fr.i,49.72 KB, text/plain)
2009-09-27 12:22 UTC, Mounir Lamouri (volkmar) (RETIRED)
Details
output with -save-temps (pitch_fr.s,1.76 KB, text/plain)
2009-09-27 12:23 UTC, Mounir Lamouri (volkmar) (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2009-09-26 21:45:19 UTC
While building opencore-amr-0.1.1, I got an internal compiler error. That's not linked to my architecture as someone else was able to built it under the same arch.

Portage 2.2_rc41 (default/linux/powerpc/ppc32/2008.0/desktop, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r4 ppc)
=================================================================
System uname: Linux-2.6.30-gentoo-r4-ppc-7447A,_altivec_supported-with-glibc2.0
Timestamp of tree: Sat, 26 Sep 2009 00:45:02 +0000
app-shells/bash:     4.0_p28
dev-lang/python:     2.5.4-r3
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="ppc"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -pipe -mcpu=7450 -mtune=7450 -maltivec -mabi=altivec -fno-strict-aliasing -frename-registers -fivopts -ftree-vectorize"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -mcpu=7450 -mtune=7450 -maltivec -mabi=altivec -fno-strict-aliasing -frename-registers -fivopts -ftree-vectorize"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ http://mirror.muntinternet.net/pub/gentoo/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_US"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/usr/portage/tmp"
PORTDIR="/usr/portage/tree"
PORTDIR_OVERLAY="/usr/local/portage/layman/sunrise /usr/local/portage/layman/x11 /usr/local/portage/layman/gnome /usr/local/portage/layman/mozilla /home/volkmar/projects/gentoo/voip /usr/local/portage/oldworld"
SYNC="rsync://oldworld.fr/gentoo-portage"
USE="X a52 aac acl alsa altivec avahi berkdb bluetooth branding bzip2 cairo cddb cdr cjk cli cracklib crypt curl dbus dri dvd emboss encode evo fam firefox flac fontconfig fortran gdbm gif gnutls gstreamer gtk hal iconv imagemagick imlib isdnlog jpeg latex ldap libnotify mad matroska mikmod modules mp3 mp4 mpeg mudflap musepack ncurses nls nocd nodrm nptl nptlonly ogg openal opengl openmp pam pcre pdf perl png ppc ppds pppd python qt3support readline reflection ruby sdl session speex spell spl ssl startup-notification svg symlink sysfs tcpd tetex theora thunar tiff truetype unicode usb userlocales videos vim-syntax vorbis wifi x264 xcomposite xml xorg xscreensaver xulrunner xv xvid 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 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 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" ELIBC="glibc" INPUT_DEVICES="evdev mouse keyboard synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" USERLAND="GNU" VIDEO_CARDS="nv nouveau"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2009-09-26 21:45:59 UTC
Created attachment 205343 [details]
Build log

Let me know if you need anything else.
Comment 2 Mark Loeser (RETIRED) gentoo-dev 2009-09-27 01:24:26 UTC
If you could attached the preprocessed output, that would be helpful.  Just try to compile the file that failed again and add: -save-temps.

The file that will be useful will be pitch_fr.ii
Comment 3 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2009-09-27 12:22:08 UTC
Created attachment 205371 [details]
output with -save-temps
Comment 4 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2009-09-27 12:23:13 UTC
Created attachment 205373 [details]
output with -save-temps

By the way, if i call make from WORKDIR after the failure, it's working.
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2009-10-11 10:09:07 UTC
I don't know about the ICE but there's opencore-amr-0.1.2 in tree now with updated build-system (autotools, as opposed to custom Makefile).
Comment 6 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2009-10-27 08:20:25 UTC
With opencore-amr-0.1.2 and gcc-4.3.4, it's still failing.
Comment 7 Alex Xu (Hello71) 2015-06-11 16:51:01 UTC
I smell hardware problem. If problem recurs with latest gcc, please reopen and attach output of gdb gcc <<< bt.

oh, and maybe try -j1.