Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 200552

Summary: media-libs/libtheora-1.0_beta2 fails to compile without -fomit-frame-pointer
Product: Gentoo Linux Reporter: srrijkers
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description srrijkers 2007-11-27 20:45:32 UTC
Without -fomit-frame-pointer set (which libtheora-1,0_beta2-flags.patch strips from configure.in) compilation results in the following error:

enc/x86_32/dct_decode_mmx.c: In function 'FilterHoriz__mmx':
enc/x86_32/dct_decode_mmx.c:94: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'
enc/x86_32/dct_decode_mmx.c:96: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'
enc/x86_32/dct_decode_mmx.c:94: error: 'asm' operand has impossible constraints
enc/x86_32/dct_decode_mmx.c:96: error: 'asm' operand has impossible constraints
make[2]: *** [libtheora_la-dct_decode_mmx.lo] Error 1

With -fomit-frame-pointer everything is fine.

My CFLAGS: "-O2 -march=prescott -mtune=generic -pipe".
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2007-11-27 20:53:37 UTC

*** This bug has been marked as a duplicate of bug 200549 ***