Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 137376 - [4.1/ICE] emerge konverter-0.92_beta1 fails when using -O3
Summary: [4.1/ICE] emerge konverter-0.92_beta1 fails when using -O3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Toolchain Maintainers
URL: http://gcc.gnu.org/PR28116
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-20 07:44 UTC by bugzilla.gentoo
Modified: 2007-01-07 12:28 UTC (History)
1 user (show)

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


Attachments
Preprocessed source attached as requeste from build error. (ccgpFR8z.out.bz2,192.05 KB, text/plain)
2006-06-20 07:53 UTC, bugzilla.gentoo
Details
137376-ice.ii (ice.ii,228 bytes, text/plain)
2006-06-20 21:00 UTC, SpanKY
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bugzilla.gentoo 2006-06-20 07:44:36 UTC
"emerge konverter" (version 0.92_beta1) fails with a segmentation fault:

./'`konvprocess.cpp
/usr/qt/3/bin/moc ./kxinewidget.h -o kxinewidget.moc
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/3.5/include -I/usr/qt/3/include -I.  -I/usr/kde/3.5/include  -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -DNDEBUG -DNO_DEBUG -O2 -O3 -march=k8 -pipe -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common  -c -o kxinewidget.o `test -f 'kxinewidget.cpp' || echo './'`kxinewidget.cpp
kxinewidget.cpp: In member function 'QTime KXineWidget::getLengthInfo()':
kxinewidget.cpp:2841: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
Preprocessed source stored into /var/tmp/portage/konverter-0.92_beta1/temp/ccgpFR8z.out file, please attach this to your bugreport.
make[2]: *** [kxinewidget.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/konverter-0.92_beta1/work/konverter-0.92-beta1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/konverter-0.92_beta1/work/konverter-0.92-beta1'
make: *** [all] Error 2

!!! ERROR: media-video/konverter-0.92_beta1 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  ebuild.sh, line 1248:   Called kde_src_compile
  kde.eclass, line 164:   Called kde_src_compile 'all'
  kde.eclass, line 299:   Called kde_src_compile 'myconf' 'configure' 'make'
  kde.eclass, line 295:   Called die


emerge --info:
Portage 2.1 (default-linux/x86/no-nptl, gcc-4.1.1, glibc-2.3.6-r4, 2.6.16-gentoo-r9 i686)
=================================================================
System uname: 2.6.16-gentoo-r9 i686 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
Gentoo Base System version 1.6.14
ccache version 2.3 [enabled]
dev-lang/python:     2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  0.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=k8 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O3 -march=k8 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache confcache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.gentoo.no/"
LANG="da_DK.UTF-8"
LC_ALL="da_DK.UTF-8"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/initng-portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext 7zip X a52 aac aalib acpi akode alsa arts artswrappersuid asf avi bash-completion bitmap-fonts bzip2 cairo cdparanoia cdr cdrom cups dga directfb dk dvd dvdr dvdread encode esd fbcon ffmpeg flac foomaticdb ftp gif gstreamer gtk2 hal ieee1394 insecure-savers ithreads javascript jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility libcaca libwww lm_sensors mad matroska mikmod mmx mmxext mng modplug moznocompose moznoirc moznomail moznoroaming mozsvg mp3 mpeg msn ncurses nsplugin nvidia offensive ogg oggvorbis opengl pam pcre pdf png qt qt3 qt4 quicktime readline real roe samba scanner sdl sensord smp speex spell sse sse2 ssl svg svga symlink tcpd theora threads tidy tiff timidity truetype truetype-fonts type1-fonts unicode usb userlocales vcd videos vidix vorbis win32codecs xorg xscreensaver xv xvid xvmc zlib elibc_glibc initng_plugins_also initng_plugins_bash_launcher initng_plugins_chdir initng_plugins_chroot initng_plugins_conflict initng_plugins_cpout initng_plugins_critical initng_plugins_cron initng_plugins_daemon initng_plugins_dev initng_plugins_dllaunch initng_plugins_envparser initng_plugins_find initng_plugins_fstat initng_plugins_history initng_plugins_idleprobe initng_plugins_initctl initng_plugins_interactive initng_plugins_iparser initng_plugins_last initng_plugins_limit initng_plugins_logfile initng_plugins_netprobe initng_plugins_ngc4 initng_plugins_pause initng_plugins_pidfile initng_plugins_reload initng_plugins_renice initng_plugins_rlparser initng_plugins_simple_launcher initng_plugins_stcmd initng_plugins_stdout initng_plugins_suid initng_plugins_syncron initng_plugins_syslog initng_plugins_unneeded initng_plugins_provide input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 bugzilla.gentoo 2006-06-20 07:53:09 UTC
Created attachment 89632 [details]
Preprocessed source attached as requeste from build error.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-06-20 07:56:19 UTC
Can you reproduce it, i.e. - does it fail at *exactly* the same place again?
Comment 3 bugzilla.gentoo 2006-06-20 15:32:11 UTC
Yes, second try gave the same error:
./'`konvprocess.cpp
/usr/qt/3/bin/moc ./kxinewidget.h -o kxinewidget.moc
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/3.5/include -I/usr/qt/3/include -I.  -I/usr/kde/3.5/include  -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -DNDEBUG -DNO_DEBUG -O2 -O3 -march=k8 -pipe -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common  -c -o kxinewidget.o `test -f 'kxinewidget.cpp' || echo './'`kxinewidget.cpp
kxinewidget.cpp: In member function 'QTime KXineWidget::getLengthInfo()':
kxinewidget.cpp:2841: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
Preprocessed source stored into /var/tmp/portage/konverter-0.92_beta1/temp/ccZ1EvKY.out file, please attach this to your bugreport.
make[2]: *** [kxinewidget.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/konverter-0.92_beta1/work/konverter-0.92-beta1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/konverter-0.92_beta1/work/konverter-0.92-beta1'
make: *** [all] Error 2

!!! ERROR: media-video/konverter-0.92_beta1 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  ebuild.sh, line 1248:   Called kde_src_compile
  kde.eclass, line 164:   Called kde_src_compile 'all'
  kde.eclass, line 299:   Called kde_src_compile 'myconf' 'configure' 'make'
  kde.eclass, line 295:   Called die
Comment 4 SpanKY gentoo-dev 2006-06-20 21:00:43 UTC
Created attachment 89681 [details]
137376-ice.ii
Comment 5 Martin Kleinschmidt 2006-09-27 12:34:48 UTC
I get exatly the same error here. x86, CFLAGS="-march=athlon64 -mtune=athlon64 -O3 -pipe", gcc (GCC) 4.1.1 (Gentoo 4.1.1)
Comment 6 Thomas Polliard 2006-12-01 21:53:24 UTC
I have CHOST="athlon64" and libol fails to build complaining that it doesnt know about Athlon64. It is masked as stable so not sure why  this is going on (may have misread or something).  I have also tested with -march=athlon64 in CFLAGS with CHOST commented out.
Comment 7 SpanKY gentoo-dev 2007-01-07 12:28:45 UTC
this will be fixed in gcc-4.1.1-r4 or gcc-4.1.2, whichever comes first