wu-s n00b
Joined: 22 May 2006 Posts: 41
|
Posted: Fri Apr 10, 2009 11:13 am Post subject: plt-scheme-4.1.5 fails to emerge with gcc-4.3.2 and -O3 |
|
|
Hello Gentoo community,
plt-scheme-4.1.5 could not be emerged with gcc-4.3.2 on amd64 and opimization flag -O3. Seems that this setting results in an gcc error. Using -O2 works, however.
Code: | # emerge -av plt-scheme
[...]
make[5]: Entering directory `/var/tmp/portage/dev-scheme/plt-scheme-4.1.5/work/plt-4.1.5/src/mred/gc2'
../../mzscheme/mzscheme3m -cqu ./../../mzscheme/gc2/xform.ss --setup ../../mzscheme/gc2 --cpp "x86_64-pc-linux-gnu-g++ -E -I./../../mzscheme/gc2 -I./../../wxxt/src/AIAI-include -I./../../wxxt/src -I./../../mred/wxme/ -I./../../mzscheme/ -I./../../mzscheme/include/ -I/usr/include/freetype2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -DNEWGC_BTC_ACCOUNT -DOPERATOR_NEW_ARRAY -DUSE_GL -DWX_USE_XRENDER -DWX_USE_XFT -DWX_USE_CAIRO -DWX_USE_LIBPNG -DWX_USE_LIBJPEG -Dwx_xt -I./../../wxxt/src/XWidgets -I./../../wxxt/src " --keep-lines -o xsrc/mrmain.cc +D INITIAL_COLLECTS_DIRECTORY='"'"`cd ./../../../collects; pwd`"'"' ./../mrmain.cxx
../../mzscheme/mzscheme3m -cqu ./../../mzscheme/gc2/xform.ss --setup ../../mzscheme/gc2 --cpp "x86_64-pc-linux-gnu-g++ -E -I./../../mzscheme/gc2 -I./../../wxxt/src/AIAI-include -I./../../wxxt/src -I./../../mred/wxme/ -I./../../mzscheme/ -I./../../mzscheme/include/ -I/usr/include/freetype2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -DNEWGC_BTC_ACCOUNT -DOPERATOR_NEW_ARRAY -DUSE_GL -DWX_USE_XRENDER -DWX_USE_XFT -DWX_USE_CAIRO -DWX_USE_LIBPNG -DWX_USE_LIBJPEG -Dwx_xt -I./../../wxxt/src/XWidgets -I./../../wxxt/src " --keep-lines -o xsrc/Window.cc ./../../wxxt/src/Windows/Window.cc
../../mzscheme/mzscheme3m -cqu ./../../mzscheme/gc2/xform.ss --setup ../../mzscheme/gc2 --cpp "x86_64-pc-linux-gnu-g++ -E -I./../../mzscheme/gc2 -I./../../wxxt/src/AIAI-include -I./../../wxxt/src -I./../../mred/wxme/ -I./../../mzscheme/ -I./../../mzscheme/include/ -I/usr/include/freetype2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -DNEWGC_BTC_ACCOUNT -DOPERATOR_NEW_ARRAY -DUSE_GL -DWX_USE_XRENDER -DWX_USE_XFT -DWX_USE_CAIRO -DWX_USE_LIBPNG -DWX_USE_LIBJPEG -Dwx_xt -I./../../wxxt/src/XWidgets -I./../../wxxt/src " --keep-lines -o xsrc/Button.cc ./../../wxxt/src/Windows/Button.cc
SIGSEGV fault on 0x8
make[5]: *** [xsrc/Button.cc] Aborted
make[5]: *** Waiting for unfinished jobs....
SIGSEGV fault on 0x8
make[5]: *** [xsrc/mrmain.cc] Aborted
make[5]: *** [xsrc/Window.cc] Segmentation fault
make[5]: Leaving directory `/var/tmp/portage/dev-scheme/plt-scheme-4.1.5/work/plt-4.1.5/src/mred/gc2'
make[4]: *** [3m] Error 2
make[4]: Leaving directory `/var/tmp/portage/dev-scheme/plt-scheme-4.1.5/work/plt-4.1.5/src/mred/gc2'
make[3]: *** [3m] Error 2
make[3]: Leaving directory `/var/tmp/portage/dev-scheme/plt-scheme-4.1.5/work/plt-4.1.5/src/mred'
make[2]: *** [mred-3m] Error 2
make[2]: Leaving directory `/var/tmp/portage/dev-scheme/plt-scheme-4.1.5/work/plt-4.1.5/src'
make[1]: *** [3m] Error 2
make[1]: Leaving directory `/var/tmp/portage/dev-scheme/plt-scheme-4.1.5/work/plt-4.1.5/src'
make: *** [all] Error 2
*
* ERROR: dev-scheme/plt-scheme-4.1.5 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2481: Called die
* The specific snippet of code:
* emake || die "emake failed";
* The die message:
* emake failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/dev-scheme/plt-scheme-4.1.5/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-scheme/plt-scheme-4.1.5/temp/environment'.
|
Is it possible to overwrite the optimization flag -O3 that is set in /etc/make.conf for a specific ebuild? Is there a need to file an upstream bug report for gcc?
Cheers,
Sven
Code: | # emerge --info
Portage 2.1.6.7 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.27-gentoo-r8 x86_64)
=================================================================
System uname: Linux-2.6.27-gentoo-r8-x86_64-Intel-R-_Core-TM-2_CPU_6600_@_2.40GHz-with-glibc2.2.5
Timestamp of tree: Fri, 10 Apr 2009 09:45:02 +0000
ccache version 2.4 [enabled]
app-shells/bash: 3.2_p39
dev-java/java-config: 2.1.7
dev-lang/python: 2.5.2-r7
dev-util/ccache: 2.4-r7
dev-util/cmake: 2.6.3-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox: 1.3.8
sys-devel/autoconf: 2.13, 2.63
sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils: 2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 1.5.26
virtual/os-headers: 2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O3 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /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="-march=core2 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://de-mirror.org/distro/gentoo/"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en de"
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/portage/local/layman/lcd-filtering"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa amd64 berkdb branding browserplugin bzip2 cairo caps cdparanoia cdr chm cli cracklib crypt cups dbus doc dri dts dvb dvd dvdr dvdread emboss encode evo exif fam ffmpeg firefox flac fortran gdbm gif glibc-omitfp glitz gmp gnome gpm gstreamer gtk hal iconv ieee1394 imagemagick ipv6 isdnlog java jpeg jpeg2k kde ldap libnotifylirc lm_sensors mad midi mikmod mmap mmx mng mp3 mpeg mudflap multilib musicbrainz mysql ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl plasma png posix ppds pppd python qt3 qt3support qt4 quicktime readline recode reflection ruby sdl session smp spell spl sse sse2 ssl ssse3 startup-notification subversion svg sysfs tcpd theora threads tiff truetype ubuntu unicode usb vnc vorbis wmf x264 xattr xcomposite xinerama xml xorgxscreensaver xulrunner xv xvid xvmc zlib" ALSA_CARDS="emu10k1x" 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_dbmauthz_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 includeinfo log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" LIRC_DEVICES="devinput" USERLAND="GNU" VIDEO_CARDS="nv nvidia"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS |
|
|