[Webkit-unassigned] [Bug 148795] New: REGRESSION(r189293): JavaScriptCore/offlineasm/x86.rb -- Build failure with ruby < 2.0

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 4 04:18:07 PDT 2015


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

            Bug ID: 148795
           Summary: REGRESSION(r189293): JavaScriptCore/offlineasm/x86.rb
                    -- Build failure with ruby < 2.0
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: clopez at igalia.com
                CC: achristensen at apple.com, bfulgham at webkit.org,
                    cgarcia at igalia.com, msaboff at apple.com,
                    ossy at webkit.org, thorton at apple.com

After r189293 <http://trac.webkit.org/r189293> WebKit fails to build with the following error:

Source/JavaScriptCore/offlineasm/x86.rb:218:in `+': String can't be coerced into FixnumAt /home/slave/webkitgtk/gtk-linux-64-release/build/Source/JavaScriptCore/llint/LowLevelInterpreter64.asm:135 (TypeError)

https://build.webkit.org/builders/GTK%20Linux%2064-bit%20Release%20%28Build%29/builds/61907/steps/compile-webkit/logs/stdio/text


This happens only when using ruby1.8 but not when using ruby2.0

On a system that has both ruby interpreters installed, CMake will prefer ruby1.8 therefore causing the build failure.

The proposed fix is to explicit require ruby2.0.

This will also help to prevent further issues with different ruby interpreters used.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150904/d4158e6a/attachment-0001.html>


More information about the webkit-unassigned mailing list