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

Bug 126622

Summary: automake dependency and gcc flag issues in media-libs/a52dec
Product: Gentoo Linux Reporter: shrevz
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: VERIFIED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description shrevz 2006-03-17 21:01:51 UTC
Summary: 
I've been having trouble with building a52dec. It seems there are two issues:
(1) A hidden dependency on =automake-1.4
(2) Build fails with -pipe (or maybe some other opt. flags)
emerging automake-wrapper and removing optimization fixed the problem

Details:
Both  media-libs/a52dec-0.7.4-r5 media-libs/a52dec-0.7.4-r3
failed to build before I installed automake-wrapper. I had automake 1.9, and the build failed with an aclocal error. The log showed they were trying to execute /usr/bin/aclocal-1.4

after emerge-ing automake-wrapper the r5 build failed again on:

 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -march=pentium4 -pipe -funroll-loops -fstrength-reduce -frerun-loop-opt -O3 -fomit-frame-pointer -mcpu=pentiumpro -march=pentium4 -pipe -funroll-loops -fstrength-reduce -frerun-loop-opt -O3 -fomit-frame-pointer -mcpu=pentiumpro -Wp,-MD,.deps/imdct.pp -c imdct.c -o imdct.o >/dev/null 2>&1
{standard input}: Assembler messages:
{standard input}:3622: Error: suffix or operands invalid for `movd'

My make.conf is set with:
CFLAGS="-march=pentium4 -O3 -pipe -funroll-loops -fstrength-reduce -frerun-loop-opt"

Changing to CFLAGS="-march=pentium4" fixed the problem.

my gcc version is:
gcc (GCC) 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r1, propolice)
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-03-18 01:57:49 UTC

*** This bug has been marked as a duplicate of 126621 ***
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-03-18 01:59:00 UTC
.