When trying to enable FTL JIT for GTK (by building with: Tools/Scripts/update-webkitgtk-libs && Tools/Scripts/update-webkitgtk-libs llvm && Tools/Scripts/build-jsc --gtk --ftl-jit), there are several failures. First, when building, CMake complains about LIBCXXABI: CMake Error at Source/cmake/OptionsGTK.cmake:317 (find_package): By not providing "FindLIBCXXABI.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "LIBCXXABI", but CMake did not find one. If we overcome that, then LLVM bails out with some runtime errors, e.g.: sunspider-1.0/string-validate-input.js.ftl-eager: jsc: RuntimeDyldELF.cpp:283: void llvm::RuntimeDyldELF::resolveX86_64Relocation(const llvm::SectionEntry &, uint64_t, uint64_t, uint32_t, int64_t, uint64_t): Assertion `RealOffset <= (2147483647) && RealOffset >= (-2147483647-1)' failed. sunspider-1.0/string-validate-input.js.ftl-eager: Aborted (core dumped) sunspider-1.0/string-validate-input.js.ftl-eager: ERROR: Unexpected exit code: 134
Created attachment 240825 [details] Proposed patch. No regressions with run-javascriptcore-tests on x86_64/Linux/GTK.
Comment on attachment 240825 [details] Proposed patch. Thanks!
Comment on attachment 240825 [details] Proposed patch. Clearing flags on attachment: 240825 Committed r175465: <http://trac.webkit.org/changeset/175465>
All reviewed patches have been landed. Closing bug.