Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-6948

Fails to build on IA64 due to lack of WTF_USE_JSVALUE64

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • 4.6.2
    • 4.6.0
    • None
    • None
    • Ubuntu development release (Lucid Lynx) IA64 port with gcc 4.4.2
    • dc50ba5885d27aff99d62ced52081eda851552e7

    Description

      The fix for https://bugs.webkit.org/show_bug.cgi?id=25653 caused IA64 to start using JSVALUE32_64 instead of JSVALUE64 as it had previously. This leads to the following build failure:

      In file included from ../JavaScriptCore/runtime/JSCell.h:28,
                       from ../JavaScriptCore/runtime/JSAPIValueWrapper.h:28,
                       from ../JavaScriptCore/API/APICast.h:29,
                       from ../JavaScriptCore/API/JSBase.cpp:30:
      ../JavaScriptCore/runtime/JSValue.h: In constructor 'JSC::JSValue::JSValue(JSC::JSCell*)':
      ../JavaScriptCore/runtime/JSValue.h:479: error: cast from 'JSC::JSCell*' to 'int32_t' loses precision
      ../JavaScriptCore/runtime/JSValue.h: In constructor 'JSC::JSValue::JSValue(const JSC::JSCell*)':
      ../JavaScriptCore/runtime/JSValue.h:488: error: cast from 'JSC::JSCell*' to 'int32_t' loses precision
      make[3]: *** [obj/release/JSBase.o] Error 1
      

      The attached patch adds a definition for IA64 so it uses JSVALUE64 and corrects the build failure.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            shausman Simon Hausmann
            kitterma Scott Kitterman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes