New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for RISC-V 64-bit architecture #982
Conversation
This is unrelated to my changes, right? |
It was considered by upstream (see https://bugs.webkit.org/show_bug.cgi?id=182622) but reverted because it caused issues in other cases
It is directly caused by them, though easy to fix Anyway I would prefer if such patch was merged to upstream first. |
Note that you can pass THREADS_PREFER_PTHREAD_FLAG via cmake arguments (like -DTHREADS_PREFER_PTHREAD_FLAG=ON) |
Hi @annulen! With upstream master, this patch is not needed, presumably because of 861472b (and dtoa support was added in ca0d631). The only needed change is I will wait for the CI to pass and then retarget to webkit-stable. |
OK. Since this patch is not needed in |
That's where it is directed now, I just got confused by the message from Travis. |
Forwarded: qtwebkit/qtwebkit#982 Last-Update: 2020-04-28 Gbp-Pq: Name support_riscv64.diff
Forwarded: qtwebkit/qtwebkit#982 Last-Update: 2020-04-28 Gbp-Pq: Name support_riscv64.diff
Forwarded: qtwebkit/qtwebkit#982 Last-Update: 2020-04-28 Gbp-Pq: Name support_riscv64.diff
Forwarded: qtwebkit/qtwebkit#982 Last-Update: 2020-04-28 Gbp-Pq: Name support_riscv64.diff
Forwarded: qtwebkit/qtwebkit#982 Last-Update: 2020-04-28 Gbp-Pq: Name support_riscv64.diff
Forwarded: qtwebkit/qtwebkit#982 Last-Update: 2020-04-28 Gbp-Pq: Name support_riscv64.diff
Reference qtwebkit/qtwebkit#982 ,set `-DTHREADS_PREFER_PTHREAD_FLAG=ON`. Since ``` /build/qt5-webkit/src/qtwebkit-5.212.0-alpha4/Source/JavaScriptCore/assembler/MacroAssembler.h:64:2: error: #error "The MacroAssembler is not supported on this platform." 64 | #error "The MacroAssembler is not supported on this platform." ``` so set `-DENABLE_JIT=OFF`
Reference qtwebkit/qtwebkit#982 ,set `-DTHREADS_PREFER_PTHREAD_FLAG=ON`. Since ``` /build/qt5-webkit/src/qtwebkit-5.212.0-alpha4/Source/JavaScriptCore/assembler/MacroAssembler.h:64:2: error: #error "The MacroAssembler is not supported on this platform." 64 | #error "The MacroAssembler is not supported on this platform." ``` so set `-DENABLE_JIT=OFF`
Forwarded: qtwebkit/qtwebkit#982 Last-Update: 2020-04-28 Gbp-Pq: Name support_riscv64.diff
Forwarded: qtwebkit/qtwebkit#982 Last-Update: 2020-04-28 Gbp-Pq: Name support_riscv64.diff
Forwarded: qtwebkit/qtwebkit#982 Last-Update: 2020-04-28 Gbp-Pq: Name support_riscv64.diff
Forwarded: qtwebkit/qtwebkit#982 Last-Update: 2020-04-28 Gbp-Pq: Name support_riscv64.diff
Forwarded: qtwebkit/qtwebkit#982 Last-Update: 2020-04-28 Gbp-Pq: Name support_riscv64.diff
Forwarded: qtwebkit/qtwebkit#982 Last-Update: 2020-04-28 Gbp-Pq: Name support_riscv64.diff
Forwarded: qtwebkit/qtwebkit#982 Last-Update: 2020-04-28 Gbp-Pq: Name support_riscv64.diff
Forwarded: qtwebkit/qtwebkit#982 Last-Update: 2020-04-28 Gbp-Pq: Name support_riscv64.diff
Forwarded: qtwebkit/qtwebkit#982 Last-Update: 2020-04-28 Gbp-Pq: Name support_riscv64.diff
This is based on Ubuntu's patch by William Grant, that was added in https://launchpad.net/ubuntu/+source/qtwebkit-opensource-src/5.212.0~alpha4-1ubuntu1.
The most controversial change here is adding the
THREADS_PREFER_PTHREAD_FLAG
. But I can make it conditional or drop it completely if you want.