Bug 186734 - dev-games/ogre-1.4.3 (and 1.4.2) fails to emerge with -fno-omit-frame-pointer
Bug#: 186734 Product:  Gentoo Linux Version: unspecified Platform: AMD64
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: games@gentoo.org Reported By: dragonking@o2.pl
Component: Games
URL: 
Summary: dev-games/ogre-1.4.3 (and 1.4.2) fails to emerge with -fno-omit-frame-pointer
Keywords:  
Status Whiteboard: 
Opened: 2007-07-26 21:39 0000
Description:   Opened: 2007-07-26 21:39 0000
When I try to emerge Ogre 1.4.3 or 1.4.2 with -fno-omit-frame-pointer compiling
quits after some time with errors.

Reproducible: Always

Steps to Reproduce:
1.Unmask Ogre
2.Add '-fno-omit-frame-pointer' to the make.conf
3.Try to compile

Actual Results:  
Got something like this:

{standard input}: Assembler messages:
{standard input}:1106: Error: suffix or operands invalid for `push'


And of course:
!!! ERROR: dev-games/ogre-1.4.3 failed.
Call stack:
  ebuild.sh, line 1621:   Called dyn_compile
  ebuild.sh, line 973:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  ogre-1.4.3.ebuild, line 80:   Called die

Expected Results:  
>> dev-games/ogre-1.4.3 merged  :)

Configuration (For Athlon64X2) :
CFLAGS="-march=athlon64 -Os -pipe -msse3 -fno-omit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j3"
LDFLAGS="-Wl,-O1"

gcc version 4.1.2 (Gentoo 4.1.2)
`binutils-config -c`  gives  `x86_64-pc-linux-gnu-2.17`

------- Comment #1 From Guido 2007-10-17 08:32:44 0000 -------
ogre-1.4.5 builds flawlessly on amd64 with -fomit-frame-pointer

Output of emerge --info:

Portage 2.1.3.9 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.5-r4,
2.6.22-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.22-gentoo-r8 x86_64 AMD Athlon(tm) 64 Processor 3200+
Timestamp of tree: Tue, 16 Oct 2007 06:50:01 +0000
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r5
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -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/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild
/etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans
userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo
http://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/
ftp://mirror.scarlet-internet.nl/pub/gentoo ftp://mirror.nutsmaas.nl/gentoo/"
LINGUAS="en nl"
MAKEOPTS="-j3"
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
--filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://192.168.1.1/gentoo-portage"
USE="X a52 aac acl acpi aim alsa amd64 apm arts asf audiofile berkdb
bitmap-fonts bzip2 cairo cdparanoia cdr cegui cg cli cracklib crypt cups curl
cvs dbus devil dri dv dvd dvdr dvdread emul-linux-x86 encode evo exif expat fam
ffmpeg firefox flac gd gdbm gif glut glx gphoto2 graphviz hal iconv icq idn
imagemagick imap ipv6 irc jabber java javascript jpeg kde kdeenablefinal
kerberos lcms ldap mad midi mikmod mime mmap mmx mng motif mp3 mpeg mplayer msn
mudflap music ncurses nls nntp nptl nptlonly nsplugin nvidia offensive ogg
openal opengl openmp oscar oss pam pcre pdf perl png python qt3 qt3support qt4
quicktime readline sdl session shorten slang sound sounds spell sse sse2 ssl
subversion svg tcpd threads tiff timidity truetype truetype-fonts type1-fonts
unicode usb vcd videos vorbis wma wmf xine xml xorg xv xvid xvmc yahoo zlib"
ALSA_CARDS="via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop
empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi
null plug rate route share shm softvol" CAMERAS="canon ptp2" ELIBC="glibc"
INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz
cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en nl"
USERLAND="GNU" VIDEO_CARDS="nv nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #2 From Guido 2007-10-17 08:34:53 0000 -------
(In reply to comment #1)
Forget this comment, I overlooked the word "no" ...

------- Comment #3 From Mr. Bones. 2008-06-02 01:58:49 0000 -------
strip-flags for >=ogre-1.4.8