[Webkit-unassigned] [Bug 146058] New: webkit-gtk 2.9.2 does not build on MIPS64 (cast from 'JSC::MIPSWord* {aka unsigned int*}' to 'int' loses precision)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 17 06:07:09 PDT 2015


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

            Bug ID: 146058
           Summary: webkit-gtk 2.9.2 does not build on MIPS64 (cast from
                    'JSC::MIPSWord* {aka unsigned int*}' to 'int' loses
                    precision)
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: alex.kanavin at gmail.com

Created attachment 255013
  --> https://bugs.webkit.org/attachment.cgi?id=255013&action=review
build log with the full error output

I'm building webkitgtk-2.9.2 for a mips64 target under Yocto build system, and the build fails like this:

| [  3%] Built target WebKit2-forwarding-headers
| In file included from /home/ak/development/poky/build-mips64/tmp/work/mips64-poky-linux/webkitgtk/2.9.2-r0/webkitgtk-2.9.2/Source/JavaScriptCore/assembler/MacroAssemblerMIPS.h:33:0,
|                  from /home/ak/development/poky/build-mips64/tmp/work/mips64-poky-linux/webkitgtk/2.9.2-r0/webkitgtk-2.9.2/Source/JavaScriptCore/assembler/MacroAssembler.h:44,
|                  from /home/ak/development/poky/build-mips64/tmp/work/mips64-poky-linux/webkitgtk/2.9.2-r0/webkitgtk-2.9.2/Source/JavaScriptCore/runtime/BasicBlockLocation.h:30,
|                  from /home/ak/development/poky/build-mips64/tmp/work/mips64-poky-linux/webkitgtk/2.9.2-r0/webkitgtk-2.9.2/Source/JavaScriptCore/runtime/ControlFlowProfiler.h:30,
|                  from /home/ak/development/poky/build-mips64/tmp/work/mips64-poky-linux/webkitgtk/2.9.2-r0/webkitgtk-2.9.2/Source/JavaScriptCore/runtime/VM.h:32,
|                  from /home/ak/development/poky/build-mips64/tmp/work/mips64-poky-linux/webkitgtk/2.9.2-r0/webkitgtk-2.9.2/Source/JavaScriptCore/heap/CopiedSpaceInlines.h:33,
|                  from /home/ak/development/poky/build-mips64/tmp/work/mips64-poky-linux/webkitgtk/2.9.2-r0/webkitgtk-2.9.2/Source/JavaScriptCore/runtime/ButterflyInlines.h:31,
|                  from /home/ak/development/poky/build-mips64/tmp/work/mips64-poky-linux/webkitgtk/2.9.2-r0/webkitgtk-2.9.2/Source/JavaScriptCore/runtime/JSArray.h:25,
|                  from /home/ak/development/poky/build-mips64/tmp/work/mips64-poky-linux/webkitgtk/2.9.2-r0/webkitgtk-2.9.2/Source/JavaScriptCore/bytecode/ArrayProfile.h:30,
|                  from /home/ak/development/poky/build-mips64/tmp/work/mips64-poky-linux/webkitgtk/2.9.2-r0/webkitgtk-2.9.2/Source/JavaScriptCore/llint/LLIntOffsetsExtractor.cpp:28:
| /home/ak/development/poky/build-mips64/tmp/work/mips64-poky-linux/webkitgtk/2.9.2-r0/webkitgtk-2.9.2/Source/JavaScriptCore/assembler/MIPSAssembler.h: In static member function 'static size_t JSC::MIPSAssembler::linkDirectJump(void*, void*)':
| /home/ak/development/poky/build-mips64/tmp/work/mips64-poky-linux/webkitgtk/2.9.2-r0/webkitgtk-2.9.2/Source/JavaScriptCore/assembler/MIPSAssembler.h:735:54: error: cast from 'JSC::MIPSWord* {aka unsigned int*}' to 'int' loses precision [-fpermissive]
|          int32_t slotAddr = reinterpret_cast<int>(insn) + 4;
|                                                       ^
| /home/ak/development/poky/build-mips64/tmp/work/mips64-poky-linux/webkitgtk/2.9.2-r0/webkitgtk-2.9.2/Source/JavaScriptCore/assembler/MIPSAssembler.h:736:50: error: cast from 'void*' to 'int' loses precision [-fpermissive]
|          int32_t toAddr = reinterpret_cast<int>(to);
|                                                   ^

(and many more similar errors). Build log is atatched.

-- 
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/20150617/b0905ed7/attachment.html>


More information about the webkit-unassigned mailing list