Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 26643 - libvorbis does not compile properly
Summary: libvorbis does not compile properly
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-14 15:35 UTC by Bjoern Willenberg
Modified: 2003-08-15 14:32 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 Bjoern Willenberg 2003-08-14 15:35:23 UTC
compiling libvorbis with -mcpu=k6-3 fails. with -mcpu=i586 it compiles correctly.

/bin/sh ../libtool --mode=compile gcc -DPACKAGE=\"libvorbis\" -DVERSION=\"1.0\"
-DHAVE_DLFCN_H=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_SQRTF=1 -DHAVE_LOGF=1
-DHAVE_EXPF=1 -DHAVE_ACOSF=1 -DHAVE_ATANF=1 -DHAVE_FREXPF=1 -DHAVE_RINTF=1
-DHAVE_FLOORF=1  -I. -I.  -I../include -I/usr/include    -O20 -ffast-math 
-D_REENTRANT -fsigned-char -O3 -mcpu=k6-3 -funroll-loops -pipe -DUSE_MEMORY_H -c
floor1.c
{standard input}: Assembler messages:
{standard input}:10245: Error: value of ffffffffffffff7b too large for field of
1 bytes at 000000000000290d
make[2]: *** [psy.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
rm -f .libs/floor1.lo
Comment 1 Matthias Langhammer 2003-08-15 06:14:28 UTC
This bug is somehow caused by the combination of "-O3 -mcpu=k6-3 -funroll-loops" in your CFLAGS. Removing/replacing one or more of these three flags may work. 

I think it is caused by strange code (needing the -fsigned-char) combined with some optimization-troubles in gcc.
Comment 2 SpanKY gentoo-dev 2003-08-15 14:32:30 UTC
review comment #3 on Bug 24379