RESOLVED DUPLICATE of bug 2842228798
[Gtk] does not compile with JIT on 64bit Linux
https://bugs.webkit.org/show_bug.cgi?id=28798
Summary [Gtk] does not compile with JIT on 64bit Linux
Yusuke Sato
Reported 2009-08-27 23:22:35 PDT
Original report: https://lists.webkit.org/pipermail/webkit-dev/2009-July/008930.html $ ./WebKitTools/Scripts/build-webkit --gtk --debug ... /usr/bin/ld: ./.libs/libJavaScriptCore.a(libJavaScriptCore_la-JITStubs.o): relocation R_X86_64_PC32 against `cti_vm_throw' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: final link failed: Bad value collect2: ld returned 1 exit status make[1]: *** [libwebkit-1.0.la] Error 1 make[1]: Leaving directory `/usr/local/google/home/yusukes/WebKit/WebKitBuild/Debug' make: *** [all] Error 2 The libJavaScriptCore_la-JITStubs.o IS compiled with -fPIC, however inline assembly code inside the source seems not to be PIC compatible. Note that release build doesn't have any problems since the assembly code in question is not used in the release build.
Attachments
plt_fix_v1 (1.47 KB, patch)
2009-08-27 23:51 PDT, Yusuke Sato
mrowe: review-
Yusuke Sato
Comment 1 2009-08-27 23:51:06 PDT
Created attachment 38717 [details] plt_fix_v1 --- 2 files changed, 15 insertions(+), 2 deletions(-)
Mark Rowe (bdash)
Comment 2 2009-08-27 23:52:04 PDT
Comment on attachment 38717 [details] plt_fix_v1 This will break the Mac build. I'm sure we already have a bug about this too.
Mark Rowe (bdash)
Comment 3 2009-08-27 23:55:12 PDT
*** This bug has been marked as a duplicate of bug 28422 ***
Yusuke Sato
Comment 4 2009-08-27 23:59:36 PDT
Ah, sorry. I overlooked the bug 28422.
Note You need to log in before you can comment on or make changes to this bug.