Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 373142 Details for
Bug 483610
net-libs/webkit-gtk-2.0.4 - .../work/webkitgtk-2.0.4/tmp-introspectR49_vm/.libs/WebKit2-3.0: error while loading shared libraries: .../work/webkitgtk-2.0.4/.libs/libjavascriptcoregtk-3.0.so.0: cannot make segment writable for relocation: Permission denied
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix textrel on x86
webkit_textrel.patch (text/plain), 2.08 KB, created by
Magnus Granberg
on 2014-03-20 21:45:27 UTC
(
hide
)
Description:
Fix textrel on x86
Filename:
MIME Type:
Creator:
Magnus Granberg
Created:
2014-03-20 21:45:27 UTC
Size:
2.08 KB
patch
obsolete
>2014-03-20 Magnus Granberg <zorry@gentoo.org>, > Francisco Blas Izquierdo Riera <klondike@gentoo.org> > > # 483610 > * Source/WTF/wtf/InlineASM.h GLOBAL_REFERENCE: Add plt if PIC > * Source/JavaScriptCore/jit/ThunkGenerators.cpp defineUnaryDoubleOpWrapper: > if PIC then setup %ebx so we can use plt > >--- a/Source/WTF/wtf/InlineASM.h 2014-03-11 00:14:11.000000000 +0100 >+++ b/Source/WTF/wtf/InlineASM.h 2014-03-11 00:20:17.555239286 +0100 >@@ -44,6 +44,8 @@ > #define GLOBAL_REFERENCE(name) #name "@plt" > #elif CPU(X86) && COMPILER(MINGW) > #define GLOBAL_REFERENCE(name) "@" #name "@4" >+#elif OS(LINUX) && CPU(X86) && defined(__PIC__) >+#define GLOBAL_REFERENCE(name) SYMBOL_STRING(name) "@plt" > #else > #define GLOBAL_REFERENCE(name) SYMBOL_STRING(name) > #endif >--- a/Source/JavaScriptCore/jit/ThunkGenerators.cpp 2014-03-20 23:06:23.615063596 +0100 >+++ b/Source/JavaScriptCore/jit/ThunkGenerators.cpp 2014-03-20 22:40:57.000000000 +0100 >@@ -604,6 +604,29 @@ double jsRound(double d) > MathThunkCallingConvention function##Thunk(MathThunkCallingConvention); \ > } \ > static MathThunk UnaryDoubleOpWrapper(function) = &function##Thunk; >+#elif CPU(X86) && COMPILER(GCC) && OS(LINUX) && defined(__PIC__) >+#define defineUnaryDoubleOpWrapper(function) \ >+ asm( \ >+ ".text\n" \ >+ ".globl " SYMBOL_STRING(function##Thunk) "\n" \ >+ HIDE_SYMBOL(function##Thunk) "\n" \ >+ SYMBOL_STRING(function##Thunk) ":" "\n" \ >+ "pushl %ebx\n" \ >+ "subl $20, %esp\n" \ >+ "movsd %xmm0, (%esp) \n" \ >+ "call __x86.get_pc_thunk.bx\n" \ >+ "addl $_GLOBAL_OFFSET_TABLE_, %ebx\n" \ >+ "call " GLOBAL_REFERENCE(function) "\n" \ >+ "fstpl (%esp) \n" \ >+ "movsd (%esp), %xmm0 \n" \ >+ "addl $20, %esp\n" \ >+ "popl %ebx\n" \ >+ "ret\n" \ >+ );\ >+ extern "C" { \ >+ MathThunkCallingConvention function##Thunk(MathThunkCallingConvention); \ >+ } \ >+ static MathThunk UnaryDoubleOpWrapper(function) = &function##Thunk; > #elif CPU(X86) && COMPILER(GCC) && (OS(DARWIN) || OS(LINUX)) > #define defineUnaryDoubleOpWrapper(function) \ > 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 483610
:
357842
|
368848
|
371916
|
372612
| 373142