Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 267367 - dev-scheme/guile fails to complile with CFLAG -O3
Summary: dev-scheme/guile fails to complile with CFLAG -O3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: Scheme Project
URL:
Whiteboard:
Keywords:
Depends on: 245701
Blocks:
  Show dependency tree
 
Reported: 2009-04-24 17:56 UTC by Jens Meißner
Modified: 2010-03-08 22:47 UTC (History)
0 users

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


Attachments
buildlog (build.log,156.02 KB, text/plain)
2009-04-24 17:57 UTC, Jens Meißner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jens Meißner 2009-04-24 17:56:14 UTC
dev-scheme/guile fails to complile if CFLAGS is set to "-O3 -mcpu=7450 -maltivec -mabi=altivec -fno-strict-aliasing -pipe". If I run
# CFLAGS="-O2 -mcpu=7450 -maltivec -mabi=altivec -fno-strict-aliasing -pipe" emerge -1 dev-scheme/guile compile fails not.
I remember that it was possible, to disable -O3 in ebuild.

Reproducible: Always

Steps to Reproduce:
set CFLAGS="-O2 -mcpu=7450 -maltivec -mabi=altivec -fno-strict-aliasing -pipe" and emerge dev-scheme/guile
Actual Results:  
compile fails

Expected Results:  
compile should not fail.

Portage 2.1.6.7 (default/linux/powerpc/ppc32/2008.0/server, gcc-4.1.2, glibc-2.6.1-r0, 2.6.27-gentoo-r7 ppc)
=================================================================
System uname: Linux-2.6.27-gentoo-r7-ppc-7450,_altivec_supported-with-glibc2.0
Timestamp of tree: Fri, 24 Apr 2009 17:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.5.2-r7
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.12
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.63
sys-devel/automake:  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.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="ppc"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O3 -mcpu=7450 -maltivec -mabi=altivec -fno-strict-aliasing -pipe"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O3 -mcpu=7450 -maltivec -mabi=altivec -fno-strict-aliasing -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.arcticnetwork.ca/source/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/"
LDFLAGS="-Wl,-O1"
LINGUAS="de en"
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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://192.168.11.201/gentoo-portage"
USE="acl apache2 bash-completion berkdb bzip2 cli cracklib crypt curl dri fortran ftp gdbm gpm iconv isdnlog java ldap mailwrapper midi mudflap mysql ncurses nls nptl nptlonly openmp pam pcre perl php ppc pppd python readline reflection samba sasl session snmp spl ssl sysfs tcpd truetype unicode xml xorg 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" USERLAND="GNU" VIDEO_CARDS="fbdev glint mach64 mga nv r128 radeon savage tdfx trident voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jens Meißner 2009-04-24 17:57:11 UTC
Created attachment 189334 [details]
buildlog
Comment 2 Marijn Schouten (RETIRED) gentoo-dev 2009-04-27 10:47:59 UTC
Please try with guile-1.8.6
Comment 3 Dmitry Dzhus 2009-04-27 13:55:33 UTC
Compiles like charm with -O3 and guile-1.8.6.
Comment 4 Jens Meißner 2009-04-27 16:31:40 UTC
I can compile guile-1.8.6 with -O3 on i686, ppc and ppc64 without errors.
By the way guile-1.8.5-r1 fails to compile only on ppc and ppc64, but not on i686.
Comment 5 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2010-03-08 22:47:38 UTC
dev-scheme/guile-1.8.6 is now stable for ppc/ppc64. It is fixing this bug.