Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 141544 - media-libs/libmad - configure doesn't seem to autodetect fixed-precision math type correctly on amd64
Summary: media-libs/libmad - configure doesn't seem to autodetect fixed-precision math...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-23 20:37 UTC by scott
Modified: 2006-10-05 01:35 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
libmad ebuild that sets fpm to intel for amd64 machines (libmad-0.15.1b-r2.ebuild,1.56 KB, text/plain)
2006-07-23 20:39 UTC, scott
Details
libmad ebuild that sets fpm to intel for amd64 and x86 machines (libmad-0.15.1b-r2.ebuild,1.75 KB, text/plain)
2006-08-20 12:07 UTC, wbrana
Details

Note You need to log in before you can comment on or make changes to this bug.
Description scott 2006-07-23 20:37:34 UTC
The configure script for libmad chooses fixed-precision math type of "default" on my amd64 machine.  According to the release notes, this is sub-optimal.  The ebuild should probably set the fpm model to 'intel' on amd64 machines.

If someone knows better, that it should maybe be 64bit, please go with that.
Comment 1 scott 2006-07-23 20:39:19 UTC
Created attachment 92592 [details]
libmad ebuild that sets fpm to intel for amd64 machines

ebuild that sets the fpm model.  It builds fine on my ~amd64 box, and the library is able to decode mp3's.
Comment 2 wbrana 2006-08-20 12:07:54 UTC
Created attachment 94716 [details]
libmad ebuild that sets fpm to intel for amd64 and x86 machines

ebuild should use --enable-fpm=intel on x86
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-10-02 00:12:57 UTC
Arch teams please advise (possibly looking at the code if it works).
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-10-05 01:35:05 UTC
Okay, I've added the various fpmath choices for x86, amd64 (using 64-bit that performs better than intel) and ppc in r2. If trouble is found, just tell me.