Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 307233 - dev-scheme/guile-1.8.5-r1 build fails on ppc/ppc64 with CFLAGS=-O2
Summary: dev-scheme/guile-1.8.5-r1 build fails on ppc/ppc64 with CFLAGS=-O2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: High enhancement (vote)
Assignee: Scheme Project
URL:
Whiteboard:
Keywords:
Depends on: 245701
Blocks:
  Show dependency tree
 
Reported: 2010-02-28 21:53 UTC by Stephen Lewis
Modified: 2010-03-08 22:47 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephen Lewis 2010-02-28 21:53:37 UTC
dev-scheme/guile-1.8.5-r1 is marked stable for ppc64 but will not compile with CFLAGS=-O2 because the stack direction detection code in configure.in is unreliable
It DOES emerge and build with CFLAGS=-O
the unreliable code has now been removed upstream and is not present in 1.8.7
dev-scheme/guile-1.8.7 is marked unstable but DOES emerge, build and run on ppc64 with CFLAGS=-O2

Reproducible: Always

Steps to Reproduce:
1.set CFLAGS=-O2 in make.conf
2.emerge guile-1.8.5-r1           # fails
3.set CFLAGS=-O in make.conf
4.emerge guile-1.8.5-r1           # succeeds

5.set CFLAGS=-O2 in make.conf
6.ACCEPT_KEYWORDS="~ppc64" emerge '=guile-1.8.7'      # succeeds




emerge --info guile

Portage 2.1.7.16 (default/linux/powerpc/ppc64/10.0/64bit-userland/desktop, gcc-4.3.4, glibc-2.10.1-r1, 2.6.31-gentoo-r10 ppc64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.31-gentoo-r10-ppc64-PPC970FX,_altivec_supported-with-gentoo-1.12.13
Timestamp of tree: Thu, 25 Feb 2010 19:30:01 +0000
app-shells/bash:     4.0_p35
dev-lang/python:     2.6.4
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc:       4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="ppc64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="powerpc64-unknown-linux-gnu"
CFLAGS="-O2 -pipe -mcpu=970 -mtune=970 -maltivec -mabi=altivec"
CHOST="powerpc64-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
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/udev/rules.d"
CXXFLAGS="-O2 -pipe -mcpu=970 -mtune=970 -maltivec -mabi=altivec"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://mirror.mcs.anl.gov/pub/gentoo/ http://distfiles.gentoo.org/ http://www.ibiblio.org/pub/Linux/distributions/gentoo/"
LDFLAGS="-Wl,-O1"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl alsa berkdb branding bzip2 cairo cdr cli consolekit cracklib crypt cxx dbus dri dts dvd dvdr eds emboss encode evo fam firefox flac gdbm gif gnome gpm gstreamer gtk hal ibm iconv ipv6 jpeg ldap libnotify mad mikmod mng modules mp3 mp4 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppc64 ppds pppd python qt3support quicktime readline reflection sdl session spell spl ssl startup-notification svg sysfs tcpd thunar tiff truetype unicode usb vorbis x264 xml xorg xulrunner xv xvid zlib" 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

=================================================================
                        Package Settings
=================================================================

dev-scheme/guile-1.8.7 was built with the following:
USE="deprecated nls regex threads -debug -debug-freelist -debug-malloc -discouraged -elisp -emacs -networking"
Comment 1 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2010-03-06 17:55:45 UTC
I confirm this bug is also reproducible on ppc.
Comment 2 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2010-03-08 22:47:34 UTC
dev-scheme/guile-1.8.6 is now stable for ppc/ppc64. It is fixing this bug.