[Webkit-unassigned] [Bug 139126] New: Failed to load LLVM library at libllvmForJSC.so

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Dec 1 06:52:32 PST 2014


https://bugs.webkit.org/show_bug.cgi?id=139126

            Bug ID: 139126
           Summary: Failed to load LLVM library at libllvmForJSC.so
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: Unspecified
                OS: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: sanxiyn at gmail.com
                CC: ossy at webkit.org

r176590.

To reproduce:
Tools/Scripts/build-jsc --gtk --ftl-jit
WebKitBuild/Release/bin/jsc --verboseFTLCompilation=true some.js

This is a regression. If I set USE_LD_GOLD to OFF it works fine.
https://bugs.webkit.org/show_bug.cgi?id=137953

My understanding is that ld and gold have different defaults so that ld sets RPATH, but gold sets RUNPATH. RPATH is applied transitively but RUNPATH is not. Before, jsc had RPATH, jsc links to libjavascriptcoregtk-4.0.so, which dlopen libllvmForJSC.so using RPATH from jsc, but this doesn't happen with RUNPATH. To use RUNPATH, libjavascriptcoregtk-4.0.so should have RUNPATH, not jsc. Here is a good explanation:
http://blog.qt.digia.com/blog/2011/10/28/rpath-and-runpath/

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20141201/efa8e356/attachment-0002.html>


More information about the webkit-unassigned mailing list