RESOLVED DUPLICATE of bug 204701 204643
[GTK] [2.27.3] GCMemoryOperations.h: Unknown architecture
https://bugs.webkit.org/show_bug.cgi?id=204643
Summary [GTK] [2.27.3] GCMemoryOperations.h: Unknown architecture
Alberto Garcia
Reported 2019-11-27 05:39:26 PST
The latest development release of WebKitGTK fails to build in several non-major architectures (mips64el, ppc64el, s390x, ...): ../Source/JavaScriptCore/heap/GCMemoryOperations.h:125:2: error: #error "Unknown architecture." 125 | #error "Unknown architecture." A quick look suggests that functions like gcSafeMemcpy() and possibly others have fast implementations in x86_64 and arm64 but fall back to a slower memcpy implementation in other cases. The detection of when to use the slow path seems to be incorrect, hence the error.
Attachments
Yusuke Suzuki
Comment 1 2019-11-29 05:47:23 PST
We should add ENABLE_CONCURRENT_GC in Platform.h, and enable it only for X64 / ARM64. And we should also ensure USE_CONCURRENT_JS is enabled in x64 / ARM64. Then, we should use regular memset/memcpy for non concurrent environment.
Alberto Garcia
Comment 2 2019-12-01 10:18:49 PST
*** This bug has been marked as a duplicate of bug 204701 ***
Note You need to log in before you can comment on or make changes to this bug.