Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 103403 - games-action/orbital-eunuchs-sniper doesn't work with -Os.
Summary: games-action/orbital-eunuchs-sniper doesn't work with -Os.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-22 21:11 UTC by Simon Koch
Modified: 2006-04-21 12:44 UTC (History)
0 users

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


Attachments
patch to ebuild: replace -Os with -O2 (replace_Os.patch,777 bytes, patch)
2005-08-22 21:14 UTC, Simon Koch
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Koch 2005-08-22 21:11:22 UTC
When OES is compiled with -Os, I get a segfault when I try to run it.  O2 works 
fine. 

Reproducible: Always
Steps to Reproduce:
Comment 1 Simon Koch 2005-08-22 21:14:53 UTC
Created attachment 66614 [details, diff]
patch to ebuild: replace -Os with -O2
Comment 2 SpanKY gentoo-dev 2005-08-22 21:20:02 UTC
post `emerge info`
Comment 3 Simon Koch 2005-08-22 21:33:53 UTC
bragi ~ # emerge info 
Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130, 
glibc-2.3.5-r0, 2.6.9 i686) 
================================================================= 
System uname: 2.6.9 i686 AMD Athlon(tm) 
Gentoo Base System version 1.6.13 
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[disabled] 
ccache version 2.3 [enabled] 
dev-lang/python:     2.3.5 
sys-apps/sandbox:    1.2.11 
sys-devel/autoconf:  2.13, 2.59-r6 
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 
sys-devel/binutils:  2.15.92.0.2-r10 
sys-devel/libtool:   1.5.18-r1 
virtual/os-headers:  2.6.11-r2 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CBUILD="i686-pc-linux-gnu" 
CFLAGS="-Os -march=pentium3 -fomit-frame-pointer -pipe" 
CHOST="i686-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-Os -march=pentium3 -fomit-frame-pointer -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoconfig ccache distlocks sandbox sfperms strict" 
GENTOO_MIRRORS="http://mirrors.tds.net/gentoo" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://odin.simonsoft.org/gentoo-portage" 
USE="x86 X aalib acl acpi alsa apm avi berkdb bitmap-fonts crypt curl eds 
emboss encode fam flac foomaticdb fortran gdbm gif gstreamer gtk gtk2 imlib 
ipv6 joystick jpeg kde libg++ libwww mad mikmod mmx mmx2 motif mp3 mpeg mysql 
ncurses net nls nvidia ogg oggvorbis opengl oss pam pdflib perl png python qt 
quicktime readline sdl slang spell sse ssl tcltk tcpd tiff truetype 
truetype-fonts type1-fonts usb vorbis xml2 xv zlib userland_GNU kernel_linux 
elibc_glibc" 
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS 
 
Comment 4 Tupone Alfredo gentoo-dev 2006-04-21 12:44:10 UTC
for gcc-4.1 there is nothing we can says at command line to make it work. Needed to fix code
Fix is now in portage