Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 68479 - libvorbis compiled with -Os segfaults
Summary: libvorbis compiled with -Os segfaults
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All All
: High normal
Assignee: Jeremy Huddleston (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-21 18:42 UTC by Derek Dolney
Modified: 2004-10-22 10:59 UTC (History)
1 user (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 Derek Dolney 2004-10-21 18:42:16 UTC
If I compile libvorbis with -Os, oggenc (from vorbis-tools) segfaults. -O2 works fine.

Portage 2.0.51 (default-linux/x86/2004.3, gcc-3.4.2, glibc-2.3.4.20041006-r0, 2.6.9-gentoo-r1 i686)
=================================================================
System uname: 2.6.9-gentoo-r1 i686 AMD Athlon(tm) XP 2100+
Gentoo Base System version 1.5.3
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -Os -fomit-frame-pointer -pipe -s"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -Os -fomit-frame-pointer -pipe -s"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox sfperms userpriv"
GENTOO_MIRRORS="http://ftp-mirror.internap.com/pub/gentoo/ http://gentoo.llarian.net/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="3dnow X acpi adns alsa apache2 berkdb bitmap-fonts bonobo bzlib crypt directfb dvd f77 fam fbcon fftw gdbm gif gnome gpm gstreamer gtk gtk2 guile imlib java jpeg lesstif libg++ libwww maildir mmx motif mozilla moznocompose moznoirc moznomail mpeg ncurses nptl nptlonly oggvorbis opengl oss pam pdflib perl pic png python quicktime readline rtc sdl slang spell sse ssl tcpd tetex threads tiff truetype usb x86 xml xml2 xmms xprint xv zlib video_cards_radeon"
Comment 1 Derek Dolney 2004-10-21 18:52:02 UTC
Oops, I should have said I'm using libvorbis-1.1.0 and vorbis-tools-1.0.1.
Comment 2 Jeremy Huddleston (RETIRED) gentoo-dev 2004-10-21 22:39:44 UTC
is there any chance you have a gcc-3.3 installed to test if it's specific to 3.4?
Comment 3 Derek Dolney 2004-10-22 08:14:16 UTC
OK, I checked, and this is gcc-3.4 specific. gcc-3.3.4 works fine with -Os, but gcc-3.4.2 results in segfaults.
Comment 4 Jeremy Huddleston (RETIRED) gentoo-dev 2004-10-22 10:59:13 UTC
ok... -Os is replaced with -O2 for 3.4 versions of gcc