Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 126622 - automake dependency and gcc flag issues in media-libs/a52dec
Summary: automake dependency and gcc flag issues in media-libs/a52dec
Status: VERIFIED DUPLICATE of bug 126621
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-17 21:01 UTC by shrevz
Modified: 2006-03-18 01:59 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 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
.