Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 394317 - sys-devel/gcc-4.6.2 segfaults while compiling media-sound/mixxx-9999
Summary: sys-devel/gcc-4.6.2 segfaults while compiling media-sound/mixxx-9999
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-11 12:19 UTC by Andrey
Modified: 2012-05-25 07:14 UTC (History)
0 users

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


Attachments
build log (media-sound:mixxx-9999:20111211-121219.log,34.00 KB, text/plain)
2011-12-11 12:20 UTC, Andrey
Details
preprocessed source - unreduced (fidlib.i,183.31 KB, text/plain)
2011-12-15 05:24 UTC, Ryan Hill (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey 2011-12-11 12:19:51 UTC
sys-devel/gcc-4.6.2 segfaults while compiling media-sound/mixxx-9999 from sunrise overlay

Reproducible: Always

Steps to Reproduce:
1. Try to compile mixxx-9999 from sunrice with gcc-4.6.2
Actual Results:  
x86_64-pc-linux-gnu-gcc: internal compiler error: Segmentation fault (program cc1)


emerge --info
Portage 2.1.10.40 (default/linux/amd64/10.0/desktop, gcc-4.6.2, glibc-2.14.1-r1, 3.1.5-gentoo x86_64)
=================================================================
System uname: Linux-3.1.5-gentoo-x86_64-Pentium-R-_Dual-Core_CPU_T4400_@_2.20GHz-with-gentoo-2.1
Timestamp of tree: Sun, 11 Dec 2011 11:30:01 +0000
ccache version 3.1.6 [enabled]
app-shells/bash:          4.2_p20
dev-lang/python:          2.7.2-r3, 3.2.2
dev-util/ccache:          3.1.6
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.7
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:       2.22
sys-devel/gcc:            4.5.3-r1, 4.6.2
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r1
Repositories: gentoo xorik xorik-link
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -mtune=generic -O2 -pipe"
CHOST="x86_64-pc-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/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core2 -mtune=generic -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going --fail-clean=y"
FEATURES="assume-digests binpkg-logs buildpkg ccache distlocks ebuild-locks fail-clean fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles "
LANG="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="ru"
MAKEOPTS="-j3"
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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/xorik /usr/local/portage/xorik-link"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 automount bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam ffmpeg firefox flac fortran fuse gdbm gdu gif gimp gnome gnome-keyring gpm gtk iconv icu idn ipv6 jpeg laptop lcms libnotify mad mmx mng modules mp3 mp4 mpeg mudflap multilib nautilus ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf png policykit ppds pppd qt3support readline samba sdl session spell sse sse2 sse3 ssl startup-notification svg sysfs tcpd threads tiff truetype udev unicode upnp usb userlocales v4l v4l2 vorbis wifi x264 xcb xinerama xml xorg xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="*" APACHE2_MODULES="authz_host dir alias mime rewrite vhost_alias auth_digest authn_file authz_groupfile dav dav_fs" 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" FOO2ZJS_DEVICES="hp1018" 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="mouse keyboard synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel i810 i915 i965" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Andrey 2011-12-11 12:20:42 UTC
Created attachment 295453 [details]
build log
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2011-12-11 12:25:02 UTC
It's called sunrise?

*** This bug has been marked as a duplicate of bug 310821 ***
Comment 3 Andrey 2011-12-11 12:29:55 UTC
This is not duplicate of mixxx bug, this is gcc bug
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2011-12-11 23:15:43 UTC

*** This bug has been marked as a duplicate of bug 310821 ***
Comment 5 Alex Barker 2011-12-12 05:44:03 UTC
(In reply to comment #3)
> This is not duplicate of mixxx bug, this is gcc bug

This is a problem with the fidlib code which is of fairly poor quality.  I will report upstream and hopefully get a patch in soon.
Comment 6 Andrey 2011-12-12 05:46:20 UTC
Thank you, Alex :)
Comment 7 Ryan Hill (RETIRED) gentoo-dev 2011-12-15 04:10:07 UTC
Jeroen, wake up.
Comment 8 Ryan Hill (RETIRED) gentoo-dev 2011-12-15 05:24:06 UTC
Created attachment 295891 [details]
preprocessed source - unreduced

$ x86_64-pc-linux-gnu-gcc-4.6.2 -c -O1 fidlib.i
[...]
x86_64-pc-linux-gnu-gcc-4.6.2: internal compiler error: Segmentation fault (program cc1)

No error with gcc version 4.6.3-pre9999 20111124 (prerelease) rev. 181684 so either fixed upstream already or Gentoo specific.
Comment 9 Tim Harder gentoo-dev 2012-05-25 07:14:12 UTC
This is a gcc bug that's fixed in >=gcc-4.6.3.