Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 31708 Details for
Bug 49450
avifile-0.7.38.20030710 fails to compile with gcc 3.4
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
avifile-0.7.38.20030710-gcc-3.4.patch
avifile-0.7.38.20030710-gcc-3.4.patch (text/plain), 5.12 KB, created by
ecco
on 2004-05-19 09:59:24 UTC
(
hide
)
Description:
avifile-0.7.38.20030710-gcc-3.4.patch
Filename:
MIME Type:
Creator:
ecco
Created:
2004-05-19 09:59:24 UTC
Size:
5.12 KB
patch
obsolete
>diff -ur avifile-0.7-0.7.38.orig/ffmpeg/libavcodec/i386/dsputil_mmx.c avifile-0.7-0.7.38/ffmpeg/libavcodec/i386/dsputil_mmx.c >--- avifile-0.7-0.7.38.orig/ffmpeg/libavcodec/i386/dsputil_mmx.c 2003-06-23 18:52:34.000000000 +0000 >+++ avifile-0.7-0.7.38/ffmpeg/libavcodec/i386/dsputil_mmx.c 2004-05-19 18:23:59.051278648 +0000 >@@ -29,8 +29,8 @@ > static const uint64_t mm_wone __attribute__ ((aligned(8))) = 0x0001000100010001ULL; > static const uint64_t mm_wtwo __attribute__ ((aligned(8))) = 0x0002000200020002ULL; > >-static const uint64_t ff_pw_20 __attribute__ ((aligned(8))) = 0x0014001400140014ULL; >-static const uint64_t ff_pw_3 __attribute__ ((aligned(8))) = 0x0003000300030003ULL; >+static const uint64_t ff_pw_20 __attribute__ ((aligned(8))) __attribute__((used)) = 0x0014001400140014ULL; >+static const uint64_t ff_pw_3 __attribute__ ((aligned(8))) __attribute__((used)) = 0x0003000300030003ULL; > static const uint64_t ff_pw_16 __attribute__ ((aligned(8))) = 0x0010001000100010ULL; > static const uint64_t ff_pw_15 __attribute__ ((aligned(8))) = 0x000F000F000F000FULL; > >diff -ur avifile-0.7-0.7.38.orig/ffmpeg/libavcodec/i386/motion_est_mmx.c avifile-0.7-0.7.38/ffmpeg/libavcodec/i386/motion_est_mmx.c >--- avifile-0.7-0.7.38.orig/ffmpeg/libavcodec/i386/motion_est_mmx.c 2003-03-03 17:07:35.000000000 +0000 >+++ avifile-0.7-0.7.38/ffmpeg/libavcodec/i386/motion_est_mmx.c 2004-05-19 16:59:44.019760248 +0000 >@@ -26,7 +26,7 @@ > 0x0002000200020002, > }; > >-static __attribute__ ((aligned(8))) uint64_t bone= 0x0101010101010101LL; >+static __attribute__((aligned(8))) __attribute__((used)) uint64_t bone= 0x0101010101010101LL; > > static inline void sad8_mmx(uint8_t *blk1, uint8_t *blk2, int stride, int h) > { >diff -ur avifile-0.7-0.7.38.orig/ffmpeg/libavcodec/i386/simple_idct_mmx.c avifile-0.7-0.7.38/ffmpeg/libavcodec/i386/simple_idct_mmx.c >--- avifile-0.7-0.7.38.orig/ffmpeg/libavcodec/i386/simple_idct_mmx.c 2003-02-14 13:58:00.000000000 +0000 >+++ avifile-0.7-0.7.38/ffmpeg/libavcodec/i386/simple_idct_mmx.c 2004-05-19 18:30:02.730990928 +0000 >@@ -45,8 +45,8 @@ > #define ROW_SHIFT 11 > #define COL_SHIFT 20 // 6 > >-static const uint64_t __attribute__((aligned(8))) wm1010= 0xFFFF0000FFFF0000ULL; >-static const uint64_t __attribute__((aligned(8))) d40000= 0x0000000000040000ULL; >+static const uint64_t __attribute__((aligned(8))) __attribute__((used)) wm1010= 0xFFFF0000FFFF0000ULL; >+static const uint64_t __attribute__((aligned(8))) __attribute__((used)) d40000= 0x0000000000040000ULL; > static int16_t __attribute__((aligned(8))) temp[64]; > static int16_t __attribute__((aligned(8))) coeffs[]= { > 1<<(ROW_SHIFT-1), 0, 1<<(ROW_SHIFT-1), 0, >diff -ur avifile-0.7-0.7.38.orig/ffmpeg/libavcodec/liba52/resample_mmx.c avifile-0.7-0.7.38/ffmpeg/libavcodec/liba52/resample_mmx.c >--- avifile-0.7-0.7.38.orig/ffmpeg/libavcodec/liba52/resample_mmx.c 2003-04-16 20:03:07.000000000 +0000 >+++ avifile-0.7-0.7.38/ffmpeg/libavcodec/liba52/resample_mmx.c 2004-05-19 18:14:08.958986312 +0000 >@@ -7,10 +7,10 @@ > and it would mean (C / MMX2 / MMX / 3DNOW) versions > */ > >-static uint64_t __attribute__((aligned(8))) magicF2W= 0x43c0000043c00000LL; >-static uint64_t __attribute__((aligned(8))) wm1010= 0xFFFF0000FFFF0000LL; >-static uint64_t __attribute__((aligned(8))) wm0101= 0x0000FFFF0000FFFFLL; >-static uint64_t __attribute__((aligned(8))) wm1100= 0xFFFFFFFF00000000LL; >+static uint64_t __attribute__((aligned(8))) __attribute__((used)) magicF2W= 0x43c0000043c00000LL; >+static uint64_t __attribute__((aligned(8))) __attribute__((used)) wm1010= 0xFFFF0000FFFF0000LL; >+static uint64_t __attribute__((aligned(8))) __attribute__((used)) wm0101= 0x0000FFFF0000FFFFLL; >+static uint64_t __attribute__((aligned(8))) __attribute__((used)) wm1100= 0xFFFFFFFF00000000LL; > > static int a52_resample_MONO_to_5_MMX(float * _f, int16_t * s16){ > int32_t * f = (int32_t *) _f; >diff -ur avifile-0.7-0.7.38.orig/plugins/libmp3lame_audioenc/lame3.70/quantize-pvt.c avifile-0.7-0.7.38/plugins/libmp3lame_audioenc/lame3.70/quantize-pvt.c >--- avifile-0.7-0.7.38.orig/plugins/libmp3lame_audioenc/lame3.70/quantize-pvt.c 2001-03-27 17:04:29.000000000 +0000 >+++ avifile-0.7-0.7.38/plugins/libmp3lame_audioenc/lame3.70/quantize-pvt.c 2004-05-19 16:44:04.707557408 +0000 >@@ -1007,18 +1007,18 @@ > "dec %4\n\t" > > "movl %5, %%eax\n\t" >- "movl 4+%5, %%ebx\n\t" >+ "movl 4+%5, %%edx\n\t" > "fxch %%st(1)\n\t" > "fadd" F8type " (%2,%%eax," F8size ")\n\t" > "fxch %%st(3)\n\t" >- "fadd" F8type " (%2,%%ebx," F8size ")\n\t" >+ "fadd" F8type " (%2,%%edx," F8size ")\n\t" > > "movl 8+%5, %%eax\n\t" >- "movl 12+%5, %%ebx\n\t" >+ "movl 12+%5, %%edx\n\t" > "fxch %%st(2)\n\t" > "fadd" F8type " (%2,%%eax," F8size ")\n\t" > "fxch %%st(1)\n\t" >- "fadd" F8type " (%2,%%ebx," F8size ")\n\t" >+ "fadd" F8type " (%2,%%edx," F8size ")\n\t" > > "fxch %%st(3)\n\t" > "fistpl -16(%3)\n\t" >@@ -1030,7 +1030,7 @@ > "jnz loop1\n\n" > : /* no outputs */ > : "t" (istep), "r" (xr), "r" (adj43asm), "r" (ix), "r" (576 / 4), "m" (rx) >- : "%eax", "%ebx", "memory", "cc" >+ : "%eax", "%edx", "memory", "cc" > ); > } > #elif defined (USE_MSC_ASM)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 49450
: 31708