1 |
On Mon, 2003-05-12 at 12:51, Magnus Damm wrote: |
2 |
> Here are two patches for mplayer-0.90: |
3 |
> |
4 |
> http://mplayerhq.hu/pipermail/mplayer-dev-eng/2003-May/018499.html |
5 |
> |
6 |
|
7 |
this is a bad hack imo, as it just disables optimized code, what you are |
8 |
trying to fix is in fact a gcc bug, "mergel" is broken. |
9 |
we are already working on a fix for this. |
10 |
|
11 |
here's a temporal fix for everyone who can't wait: |
12 |
|
13 |
Snip from altivec.h |
14 |
|
15 |
#define vec_any_out(a1, a2) __builtin_altivec_vcmpbfp_p (__CR6_EQ_REV, |
16 |
(a1), (a2) |
17 |
+#include <broken_mergel.h> |
18 |
#endif /* __cplusplus */ |
19 |
|
20 |
add this to your altivec.h and copy the attatched header to the same |
21 |
location altivec.h is in. |
22 |
|
23 |
thx again lu_zero for finding the fix :) |
24 |
|
25 |
-- |
26 |
Bartosch Pixa |
27 |
Gentoo Linux Developer http://www.gentoo.org |