Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
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.