As per summary; this version fixes CFLAGS handling (user's cflags are used rather than the riced version from libmad) and also enable fixed point math for AMD64, x86 and PPC (which should make it faster).
Stable for HPPA.
Stable on ppc
-r3 and -r2 seem to be identical, the -r3 commit changed the patch which -r2 also uses. -r3 is ~ but -r2 is not, is there any logic behind this? :)
just bad logic. i'm not sure what i was thinking there. -r2 is now restored and -r3 has an additional patch. thanks for reporting.
I have a complaint/suggestion about this CFLAGS tweaking that I'm wondering about. Let me know if this was the wrong place to bring this up.
I have a server running as a build host for i686 workstations. The server's processor specs are much better than some of the workstations. It's a Core2/Xeon with SSE3 and others. Some of the workstations are Athlon XPs, which only support SSE.
Since when it was built it detected some more advanced instructions, it gave me "Illegal Instruction" complaints when run with audacious on the Athlons which didn't have it. GDB pointed back to libmad, and indeed, if I compile libmad locally it seems to work fine, but if I had more than a handful of these it would really be a pain, and it makes me wonder what else does that that I haven't found yet. Mplayer has the cpudetection flag which is handy for this type of scenario.
Can we just make the use of the more advanced cpu features USE flag dependent instead of build machine dependent? It seems like that's what the sse, mmx, sse2, 3dnow, etc. flags were for in the first place. That way the user can still define the greatest common denominator.
Forgot to add, I included two extra CFLAGS in /etc/portage/env/media-libs/libmad
CFLAGS="-O2 -march=i686 -pipe --mno-sse2 --mno-sse3"
just to see if that would help, but it seems it did not.
Same for CXXFLAGS.
(In reply to comment #12)
(In reply to comment #13)
Not here, this is a stabilization bug, your illegal instructions stuff is off-topic here. File a *new* bug please.
Please consider the status for ppc: Maybe media-libs/libmad-0.15.1b-r2 is still broken on G3 and G4 with -O2.
See also bug #150531 and https://forums.gentoo.org/viewtopic-p-4683251.html
Closing wrt http://www.gentoo.org/news/20080210-mips-experimental-arch.xml