Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 29825 - illegal instruction in libvorbis
Summary: illegal instruction in libvorbis
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-28 11:00 UTC by konsti
Modified: 2003-09-30 13:41 UTC (History)
0 users

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 konsti 2003-09-28 11:00:59 UTC
All Apps trying to play .ogg or .ogm files get an Illegal instruction.

(gdb) where
#0  0x4002bfc9 in mdct_backward () from /usr/lib/libvorbis.so.0
#1  0x4003c202 in mapping0_inverse () from /usr/lib/libvorbis.so.0
#2  0x40032a43 in vorbis_synthesis () from /usr/lib/libvorbis.so.0
#3  0x400255a1 in _fetch_and_process_packet () from /usr/lib/libvorbisfile.so.3
#4  0x40027461 in ov_read () from /usr/lib/libvorbisfile.so.3
#5  0x0804e8b7 in ?? ()
#6  0x0805eb68 in ?? ()
#7  0x08053660 in optind ()
#8  0x00001000 in ?? ()

konsti@sexmachine konsti $ gcc --version
gcc (GCC) 3.3.1 20030916 (Gentoo Linux 3.3.1-r3, propolice)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Solved by
env USE="-3dnow" emerge libvorbis
OR
env USE="-sse" emerge libvorbis




Reproducible: Always
Steps to Reproduce:
1.
2.
3.




konsti@sexmachine konsti $ emerge info
Portage 2.0.49-r7 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r5, 2.6.0-test5-mm4)
=================================================================
System uname: 2.6.0-test5-mm4 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -ffast-math
-fexpensive-optimizations -funroll-loops -frerun-cse-after-loop 
-frerun-loop-opt -fforce-addr -falign-functions=4 -msse2 -mmmx -mfpmath=sse"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/wget /etc/rc.d /etc/make.conf /etc/hosts
/etc/conf.d/net /etc/profile /etc/fstab /etc/lilo.conf /etc/rc.conf /etc/gconf
/etc/env.d"
CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -ffast-math
-fexpensive-optimizations -funroll-loops -frerun-cse-after-loop 
-frerun-loop-opt -fforce-addr -falign-functions=4 -msse2 -mmmx -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/export/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/export/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 oss apm crypt cups gif libg++ mad ncurses nls pdflib spell gdbm berkdb
readline X gpm pam libwww python cdr 3dnow aalib alsa -arts -bonobo avi dvd
encode -esd -gtk -gnome2 gtk2 -gnome imlib jpeg -kde maildir oggvorbis mpeg mmx
mikmod nas -mysql opengl perl png -qt -qtmt -ruby sdl -svga xml2 xv zlib -tcltk
sse ssl -slang -quicktime tetex -java -threads dga -doc -nptl -lirc imap
gimp-print xinerama truetype -xfs -mozcalendar -mozaccess -mozinterfaceinfo
-mozp3p -mozxmlterm moznoirc moznomail moznocompose -motif tiff -xmms cjk
-foomaticdb -tcpd"
Comment 1 J. Ellis (RETIRED) gentoo-dev 2003-09-30 05:20:09 UTC
I don't believe your pentium 4 supports 3dnow!
Comment 2 konsti 2003-09-30 13:41:47 UTC
yes, but as I told above even
env USE="3dnow -sse" emerge libvorbis
made libvorbis full functional.
The 3dnow use flag was in my /etc/make.conf since the first time I installed
gentoo (I had an Athlon then). Since this year I have an P4 and libvorbis
broke one or two weeks ago...