Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 126621 - automake dependency and gcc flag issues in media-libs/a52dec
Summary: automake dependency and gcc flag issues in media-libs/a52dec
Status: RESOLVED INVALID
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:
: 126622 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-03-17 20:59 UTC by shrevz
Modified: 2006-03-18 02:04 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 20:59:39 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
*** Bug 126622 has been marked as a duplicate of this bug. ***
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-03-18 02:04:13 UTC
(In reply to comment #0)
> (1) A hidden dependency on =automake-1.4

There's no such thing, automake-wrapper (and so all slots of automake) are part of system target and must be installed on every Gentoo system. Not optional. 

> (2) Build fails with -pipe (or maybe some other opt. flags)
> emerging automake-wrapper and removing optimization fixed the problem
> 
> my gcc version is:
> gcc (GCC) 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r1, propolice)

Your gcc is *way* outdated and unsupported. Reopen if you can reproduce this w/ gcc-3.4.5 and sane C[XX]FLAGS (like -march=pentium4 -O2 -pipe).