Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 523834 Details for
Bug 650458
media-video/mplayer-1.3.0-r4 fails to build with -flto: undefined reference to `sse_int32_map_factor', `sse_int32_80h'
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
mplayer-1.3.0-fix-lto-linking.patch
mplayer-1.3.0-fix-lto-linking.patch (text/plain), 1.74 KB, created by
Alexander Miller
on 2018-03-14 02:17:33 UTC
(
hide
)
Description:
mplayer-1.3.0-fix-lto-linking.patch
Filename:
MIME Type:
Creator:
Alexander Miller
Created:
2018-03-14 02:17:33 UTC
Size:
1.74 KB
patch
obsolete
>Use proper constraints for variables referenced in inline asm >instead of using direct symbol references in the assembler code. >Also add constraints where missing. > >The compiler can't see the direct references from inline asm. >Although it won't discard the variables since they have the "used" >attribute, with LTO they may end up in a different partition >and no longer visible to the functions where they are used. > >--- MPlayer-1.3.0/configure >+++ MPlayer-1.3.0/configure >@@ -9262,7 +9262,7 @@ > #define HAVE_GETHRTIME 0 > #define HAVE_INLINE_ASM 1 > #define HAVE_INLINE_ASM_NONLOCAL_LABELS 1 >-#define HAVE_INLINE_ASM_DIRECT_SYMBOL_REFS 1 >+#define HAVE_INLINE_ASM_DIRECT_SYMBOL_REFS 0 > #define HAVE_INTRINSICS_NEON 0 > #define HAVE_ISATTY 0 > #define HAVE_LDBRX 0 >--- MPlayer-1.3.0/libmpcodecs/vf_ass.c >+++ MPlayer-1.3.0/libmpcodecs/vf_ass.c >@@ -311,6 +311,7 @@ static void render_frame_yuv422_sse4(vf_ > [j] "r" (xmin), > [xmax] "g" (xmax), > [f] "g" (is_uyvy) >+ NAMED_CONSTRAINTS_ARRAY_ADD(sse_int32_map_factor,sse_int32_80h) > : REG_S > ); > } >@@ -513,6 +514,7 @@ static void render_frame_yuv420p_sse4(vf > [alpha] "r" (alpha + i * outw), > [src] "S" (src_y + i * outw), > [dst] "D" (dst_y + i * stride) >+ NAMED_CONSTRAINTS_ARRAY_ADD(sse_int32_map_factor,sse_int32_80h) > ); > } > >@@ -551,6 +553,7 @@ static void render_frame_yuv420p_sse4(vf > [src_v] "g" (src_v + i * outw), > [dst_u] "g" (dst_u + i * stride), > [dst_v] "g" (dst_v + i * stride) >+ NAMED_CONSTRAINTS_ARRAY_ADD(sse_int32_map_factor,sse_int32_80h) > : REG_S, REG_D > ); > }
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 650458
: 523834