WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
146058
webkit-gtk 2.9.2 does not build on MIPS64 (cast from 'JSC::MIPSWord* {aka unsigned int*}' to 'int' loses precision)
https://bugs.webkit.org/show_bug.cgi?id=146058
Summary
webkit-gtk 2.9.2 does not build on MIPS64 (cast from 'JSC::MIPSWord* {aka uns...
Alexander Kanavin
Reported
2015-06-17 06:07:09 PDT
Created
attachment 255013
[details]
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.
Attachments
build log with the full error output
(35.74 KB, application/octet-stream)
2015-06-17 06:07 PDT
,
Alexander Kanavin
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug