Building webkit2gtk
#1
I'm running manjaro off of an SD card, on the PBP, and trying to get webkit2gtk to compile (and eventually to compile it with the GLES2 flag - gl4es works OK, but I'm guessing real support will be better). It works fine if installed directly, rather than built from source.

I'm using the standard PKGBUILD, which as far as I can see is the same as the archlinuxarm PKGBUILD, at least on aarch64. The build fails, with the stderr in the attached log. I wonder if anyone as figured this out, or has any insight?
Code:
warning: dependency cycle detected:
warning: rubygems will be installed before its ruby dependency
:: Proceed with installation? [Y/n]   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                Dload  Upload   Total   Spent    Left  Speed

 0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
 0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
 1 18.4M    1  192k    0     0   139k      0  0:02:15  0:00:01  0:02:14  139k
17 18.4M   17 3392k    0     0  1489k      0  0:00:12  0:00:02  0:00:10 1488k
45 18.4M   45 8608k    0     0  2625k      0  0:00:07  0:00:03  0:00:04 2625k
64 18.4M   64 11.9M    0     0  2864k      0  0:00:06  0:00:04  0:00:02 2864k
90 18.4M   90 16.6M    0     0  3232k      0  0:00:05  0:00:05 --:--:-- 3438k
100 18.4M  100 18.4M    0     0  3359k      0  0:00:05  0:00:05 --:--:-- 4405k
 % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                Dload  Upload   Total   Spent    Left  Speed

 0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
 0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100   195  100   195    0     0    198      0 --:--:-- --:--:-- --:--:--   198
   webkitgtk-2.26.3.tar.xz ... Passed
   webkitgtk-2.26.3.tar.xz.asc ... Skipped
   webkitgtk-2.26.3.tar.xz ... Passed
/home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/offlineasm/parser.rb:631: warning: deprecated Object#=~ is called on Annotation; it always returns nil
/home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/offlineasm/parser.rb:631: warning: deprecated Object#=~ is called on Annotation; it always returns nil
/home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/offlineasm/parser.rb:631: warning: deprecated Object#=~ is called on Annotation; it always returns nil
/home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/offlineasm/parser.rb:631: warning: deprecated Object#=~ is called on Annotation; it always returns nil
/home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/offlineasm/parser.rb:631: warning: deprecated Object#=~ is called on Annotation; it always returns nil
/home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/offlineasm/parser.rb:631: warning: deprecated Object#=~ is called on Annotation; it always returns nil
/home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/offlineasm/parser.rb:631: warning: deprecated Object#=~ is called on Annotation; it always returns nil
/home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/offlineasm/parser.rb:631: warning: deprecated Object#=~ is called on Annotation; it always returns nil
/home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/offlineasm/parser.rb:631: warning: deprecated Object#=~ is called on Annotation; it always returns nil
/home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/offlineasm/parser.rb:631: warning: deprecated Object#=~ is called on Annotation; it always returns nil
/home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/offlineasm/parser.rb:631: warning: deprecated Object#=~ is called on Annotation; it always returns nil
/home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/offlineasm/parser.rb:631: warning: deprecated Object#=~ is called on Annotation; it always returns nil
/home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/offlineasm/parser.rb:631: warning: deprecated Object#=~ is called on Annotation; it always returns nil
/home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/offlineasm/parser.rb:631: warning: deprecated Object#=~ is called on Annotation; it always returns nil
/home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/offlineasm/parser.rb:631: warning: deprecated Object#=~ is called on Annotation; it always returns nil
/home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/offlineasm/parser.rb:631: warning: deprecated Object#=~ is called on Annotation; it always returns nil
In file included from /home/graham/downloads/webkit2gtk/src/build/DerivedSources/ForwardingHeaders/wtf/Platform.h:31,
                from /home/graham/downloads/webkit2gtk/src/build/DerivedSources/ForwardingHeaders/wtf/ExportMacros.h:32,
                from /home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/runtime/JSExportMacros.h:32,
                from /home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/config.h:33,
                from /home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/llint/LLIntOffsetsExtractor.cpp:26:
/home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/assembler/ARM64Assembler.h: In member function ‘void JSC::ARM64Assembler::nopCortexA53Fix835769()’:
/home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/assembler/ARM64Assembler.h:3721:100: error: ‘class JSC::AssemblerBuffer’ has no member named ‘data’
3721 |                 if (UNLIKELY((*reinterpret_cast_ptr<int32_t*>(reinterpret_cast_ptr<char*>(m_buffer.data()) + m_buffer.codeSize() - sizeof(int32_t)) & 0x0a000000) == 0x08000000))
     |                                                                                                    ^~~~
/home/graham/downloads/webkit2gtk/src/build/DerivedSources/ForwardingHeaders/wtf/Compiler.h:341:41: note: in definition of macro ‘UNLIKELY’
 341 | #define UNLIKELY(x) __builtin_expect(!!(x), 0)
     |                                         ^
In file included from /home/graham/downloads/webkit2gtk/src/build/DerivedSources/ForwardingHeaders/wtf/text/StringImpl.h:32,
                from /home/graham/downloads/webkit2gtk/src/build/DerivedSources/ForwardingHeaders/wtf/text/UniquedStringImpl.h:28,
                from /home/graham/downloads/webkit2gtk/src/build/DerivedSources/ForwardingHeaders/wtf/text/AtomStringImpl.h:23,
                from /home/graham/downloads/webkit2gtk/src/build/DerivedSources/ForwardingHeaders/wtf/text/AtomString.h:25,
                from /home/graham/downloads/webkit2gtk/src/build/DerivedSources/ForwardingHeaders/wtf/text/StringHash.h:25,
                from /home/graham/downloads/webkit2gtk/src/build/DerivedSources/ForwardingHeaders/wtf/JSONValues.h:36,
                from /home/graham/downloads/webkit2gtk/src/build/DerivedSources/ForwardingHeaders/wtf/MediaTime.h:32,
                from /home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/runtime/JSCJSValue.h:36,
                from /home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/assembler/MacroAssembler.h:30,
                from /home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/jit/GPRInfo.h:28,
                from /home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/bytecode/ArithProfile.h:28,
                from /home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/llint/LLIntOffsetsExtractor.cpp:28:
/home/graham/downloads/webkit2gtk/src/build/DerivedSources/ForwardingHeaders/wtf/Vector.h: In instantiation of ‘void WTF::Vector< <template-parameter-1-1>, <anonymous>, <template-parameter-1-3>, <anonymous> >::append(U&&) [with U = JSC::ARM64Assembler::LinkRecord; T = JSC::ARM64Assembler::LinkRecord; long unsigned int inlineCapacity = 0; OverflowHandler = WTF::UnsafeVectorOverflow; long unsigned int minCapacity = 16]’:
/home/graham/downloads/webkit2gtk/src/build/DerivedSources/ForwardingHeaders/wtf/Vector.h:771:52:   required from ‘void WTF::Vector< <template-parameter-1-1>, <anonymous>, <template-parameter-1-3>, <anonymous> >::append(WTF::Vector< <template-parameter-1-1>, <anonymous>, <template-parameter-1-3>, <anonymous> >::ValueType&&) [with T = JSC::ARM64Assembler::LinkRecord; long unsigned int inlineCapacity = 0; OverflowHandler = WTF::UnsafeVectorOverflow; long unsigned int minCapacity = 16; WTF::Vector< <template-parameter-1-1>, <anonymous>, <template-parameter-1-3>, <anonymous> >::ValueType = JSC::ARM64Assembler::LinkRecord]’
/home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/assembler/ARM64Assembler.h:2535:85:   required from here
/home/graham/downloads/webkit2gtk/src/build/DerivedSources/ForwardingHeaders/wtf/Vector.h:1299:9: warning: implicitly-declared ‘constexpr JSC::ARM64Assembler::LinkRecord::LinkRecord(const JSC::ARM64Assembler::LinkRecord&)’ is deprecated [-Wdeprecated-copy]
1299 |         new (NotNull, end()) T(std::forward<U>(value));
     |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/assembler/MacroAssemblerARM64.h:30,
                from /home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/assembler/MacroAssembler.h:46,
                from /home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/jit/GPRInfo.h:28,
                from /home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/bytecode/ArithProfile.h:28,
                from /home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/llint/LLIntOffsetsExtractor.cpp:28:
/home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/assembler/ARM64Assembler.h:371:14: note: because ‘JSC::ARM64Assembler::LinkRecord’ has user-provided ‘void JSC::ARM64Assembler::LinkRecord::operator=(const JSC::ARM64Assembler::LinkRecord&)’
 371 |         void operator=(const LinkRecord& other)
     |              ^~~~~~~~
In file included from /home/graham/downloads/webkit2gtk/src/build/DerivedSources/ForwardingHeaders/wtf/text/StringImpl.h:32,
                from /home/graham/downloads/webkit2gtk/src/build/DerivedSources/ForwardingHeaders/wtf/text/UniquedStringImpl.h:28,
                from /home/graham/downloads/webkit2gtk/src/build/DerivedSources/ForwardingHeaders/wtf/text/AtomStringImpl.h:23,
                from /home/graham/downloads/webkit2gtk/src/build/DerivedSources/ForwardingHeaders/wtf/text/AtomString.h:25,
                from /home/graham/downloads/webkit2gtk/src/build/DerivedSources/ForwardingHeaders/wtf/text/StringHash.h:25,
                from /home/graham/downloads/webkit2gtk/src/build/DerivedSources/ForwardingHeaders/wtf/JSONValues.h:36,
                from /home/graham/downloads/webkit2gtk/src/build/DerivedSources/ForwardingHeaders/wtf/MediaTime.h:32,
                from /home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/runtime/JSCJSValue.h:36,
                from /home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/assembler/MacroAssembler.h:30,
                from /home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/jit/GPRInfo.h:28,
                from /home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/bytecode/ArithProfile.h:28,
                from /home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/llint/LLIntOffsetsExtractor.cpp:28:
/home/graham/downloads/webkit2gtk/src/build/DerivedSources/ForwardingHeaders/wtf/Vector.h: In instantiation of ‘void WTF::Vector< <template-parameter-1-1>, <anonymous>, <template-parameter-1-3>, <anonymous> >::appendSlowCase(U&&) [with U = JSC::ARM64Assembler::LinkRecord; T = JSC::ARM64Assembler::LinkRecord; long unsigned int inlineCapacity = 0; OverflowHandler = WTF::UnsafeVectorOverflow; long unsigned int minCapacity = 16]’:
/home/graham/downloads/webkit2gtk/src/build/DerivedSources/ForwardingHeaders/wtf/Vector.h:1304:5:   required from ‘void WTF::Vector< <template-parameter-1-1>, <anonymous>, <template-parameter-1-3>, <anonymous> >::append(U&&) [with U = JSC::ARM64Assembler::LinkRecord; T = JSC::ARM64Assembler::LinkRecord; long unsigned int inlineCapacity = 0; OverflowHandler = WTF::UnsafeVectorOverflow; long unsigned int minCapacity = 16]’
/home/graham/downloads/webkit2gtk/src/build/DerivedSources/ForwardingHeaders/wtf/Vector.h:771:52:   required from ‘void WTF::Vector< <template-parameter-1-1>, <anonymous>, <template-parameter-1-3>, <anonymous> >::append(WTF::Vector< <template-parameter-1-1>, <anonymous>, <template-parameter-1-3>, <anonymous> >::ValueType&&) [with T = JSC::ARM64Assembler::LinkRecord; long unsigned int inlineCapacity = 0; OverflowHandler = WTF::UnsafeVectorOverflow; long unsigned int minCapacity = 16; WTF::Vector< <template-parameter-1-1>, <anonymous>, <template-parameter-1-3>, <anonymous> >::ValueType = JSC::ARM64Assembler::LinkRecord]’
/home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/assembler/ARM64Assembler.h:2535:85:   required from here
/home/graham/downloads/webkit2gtk/src/build/DerivedSources/ForwardingHeaders/wtf/Vector.h:1346:5: warning: implicitly-declared ‘constexpr JSC::ARM64Assembler::LinkRecord::LinkRecord(const JSC::ARM64Assembler::LinkRecord&)’ is deprecated [-Wdeprecated-copy]
1346 |     new (NotNull, end()) T(std::forward<U>(*ptr));
     |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/assembler/MacroAssemblerARM64.h:30,
                from /home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/assembler/MacroAssembler.h:46,
                from /home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/jit/GPRInfo.h:28,
                from /home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/bytecode/ArithProfile.h:28,
                from /home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/llint/LLIntOffsetsExtractor.cpp:28:
/home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/assembler/ARM64Assembler.h:371:14: note: because ‘JSC::ARM64Assembler::LinkRecord’ has user-provided ‘void JSC::ARM64Assembler::LinkRecord::operator=(const JSC::ARM64Assembler::LinkRecord&)’
 371 |         void operator=(const LinkRecord& other)
     |              ^~~~~~~~
In file included from /home/graham/downloads/webkit2gtk/src/build/DerivedSources/ForwardingHeaders/wtf/text/StringImpl.h:32,
                from /home/graham/downloads/webkit2gtk/src/build/DerivedSources/ForwardingHeaders/wtf/text/UniquedStringImpl.h:28,
                from /home/graham/downloads/webkit2gtk/src/build/DerivedSources/ForwardingHeaders/wtf/text/AtomStringImpl.h:23,
                from /home/graham/downloads/webkit2gtk/src/build/DerivedSources/ForwardingHeaders/wtf/text/AtomString.h:25,
                from /home/graham/downloads/webkit2gtk/src/build/DerivedSources/ForwardingHeaders/wtf/text/StringHash.h:25,
                from /home/graham/downloads/webkit2gtk/src/build/DerivedSources/ForwardingHeaders/wtf/JSONValues.h:36,
                from /home/graham/downloads/webkit2gtk/src/build/DerivedSources/ForwardingHeaders/wtf/MediaTime.h:32,
                from /home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/runtime/JSCJSValue.h:36,
                from /home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/assembler/MacroAssembler.h:30,
                from /home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/jit/GPRInfo.h:28,
                from /home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/bytecode/ArithProfile.h:28,
                from /home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/llint/LLIntOffsetsExtractor.cpp:28:
/home/graham/downloads/webkit2gtk/src/build/DerivedSources/ForwardingHeaders/wtf/Vector.h: In instantiation of ‘static void WTF::VectorMover<false, T>::move(T*, T*, T*) [with T = JSC::ARM64Assembler::LinkRecord]’:
/home/graham/downloads/webkit2gtk/src/build/DerivedSources/ForwardingHeaders/wtf/Vector.h:258:65:   required from ‘static void WTF::VectorTypeOperations<T>::move(T*, T*, T*) [with T = JSC::ARM64Assembler::LinkRecord]’
/home/graham/downloads/webkit2gtk/src/build/DerivedSources/ForwardingHeaders/wtf/Vector.h:1189:25:   required from ‘void WTF::Vector< <template-parameter-1-1>, <anonymous>, <template-parameter-1-3>, <anonymous> >::reserveCapacity(size_t) [with T = JSC::ARM64Assembler::LinkRecord; long unsigned int inlineCapacity = 0; OverflowHandler = WTF::UnsafeVectorOverflow; long unsigned int minCapacity = 16; size_t = long unsigned int]’
/home/graham/downloads/webkit2gtk/src/build/DerivedSources/ForwardingHeaders/wtf/Vector.h:1042:5:   required from ‘void WTF::Vector< <template-parameter-1-1>, <anonymous>, <template-parameter-1-3>, <anonymous> >::expandCapacity(size_t) [with T = JSC::ARM64Assembler::LinkRecord; long unsigned int inlineCapacity = 0; OverflowHandler = WTF::UnsafeVectorOverflow; long unsigned int minCapacity = 16; size_t = long unsigned int]’
/home/graham/downloads/webkit2gtk/src/build/DerivedSources/ForwardingHeaders/wtf/Vector.h:1049:9:   required from ‘T* WTF::Vector< <template-parameter-1-1>, <anonymous>, <template-parameter-1-3>, <anonymous> >::expandCapacity(size_t, T*) [with T = JSC::ARM64Assembler::LinkRecord; long unsigned int inlineCapacity = 0; OverflowHandler = WTF::UnsafeVectorOverflow; long unsigned int minCapacity = 16; size_t = long unsigned int]’
/home/graham/downloads/webkit2gtk/src/build/DerivedSources/ForwardingHeaders/wtf/Vector.h:1342:9:   required from ‘void WTF::Vector< <template-parameter-1-1>, <anonymous>, <template-parameter-1-3>, <anonymous> >::appendSlowCase(U&&) [with U = JSC::ARM64Assembler::LinkRecord; T = JSC::ARM64Assembler::LinkRecord; long unsigned int inlineCapacity = 0; OverflowHandler = WTF::UnsafeVectorOverflow; long unsigned int minCapacity = 16]’
/home/graham/downloads/webkit2gtk/src/build/DerivedSources/ForwardingHeaders/wtf/Vector.h:1304:5:   required from ‘void WTF::Vector< <template-parameter-1-1>, <anonymous>, <template-parameter-1-3>, <anonymous> >::append(U&&) [with U = JSC::ARM64Assembler::LinkRecord; T = JSC::ARM64Assembler::LinkRecord; long unsigned int inlineCapacity = 0; OverflowHandler = WTF::UnsafeVectorOverflow; long unsigned int minCapacity = 16]’
/home/graham/downloads/webkit2gtk/src/build/DerivedSources/ForwardingHeaders/wtf/Vector.h:771:52:   required from ‘void WTF::Vector< <template-parameter-1-1>, <anonymous>, <template-parameter-1-3>, <anonymous> >::append(WTF::Vector< <template-parameter-1-1>, <anonymous>, <template-parameter-1-3>, <anonymous> >::ValueType&&) [with T = JSC::ARM64Assembler::LinkRecord; long unsigned int inlineCapacity = 0; OverflowHandler = WTF::UnsafeVectorOverflow; long unsigned int minCapacity = 16; WTF::Vector< <template-parameter-1-1>, <anonymous>, <template-parameter-1-3>, <anonymous> >::ValueType = JSC::ARM64Assembler::LinkRecord]’
/home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/assembler/ARM64Assembler.h:2535:85:   required from here
/home/graham/downloads/webkit2gtk/src/build/DerivedSources/ForwardingHeaders/wtf/Vector.h:120:13: warning: implicitly-declared ‘constexpr JSC::ARM64Assembler::LinkRecord::LinkRecord(const JSC::ARM64Assembler::LinkRecord&)’ is deprecated [-Wdeprecated-copy]
 120 |             new (NotNull, dst) T(WTFMove(*src));
     |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/assembler/MacroAssemblerARM64.h:30,
                from /home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/assembler/MacroAssembler.h:46,
                from /home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/jit/GPRInfo.h:28,
                from /home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/bytecode/ArithProfile.h:28,
                from /home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/llint/LLIntOffsetsExtractor.cpp:28:
/home/graham/downloads/webkit2gtk/src/webkitgtk-2.26.3/Source/JavaScriptCore/assembler/ARM64Assembler.h:371:14: note: because ‘JSC::ARM64Assembler::LinkRecord’ has user-provided ‘void JSC::ARM64Assembler::LinkRecord::operator=(const JSC::ARM64Assembler::LinkRecord&)’
 371 |         void operator=(const LinkRecord& other)
     |              ^~~~~~~~
make[2]: *** [Source/JavaScriptCore/CMakeFiles/LLIntOffsetsExtractor.dir/build.make:120: Source/JavaScriptCore/CMakeFiles/LLIntOffsetsExtractor.dir/llint/LLIntOffsetsExtractor.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:733: Source/JavaScriptCore/CMakeFiles/LLIntOffsetsExtractor.dir/all] Error 2
make: *** [Makefile:152: all] Error 2
==> ERROR: A failure occurred in build().
#2
this appears to be the culprit:

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

I'll try building again tomorrow.
#3
Update on this. I managed to build with the ENABLE_GLES2 flag. This workaround was also required:

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

Unfortunately, this doesn't seem to let webkit pick up on panfrost. Instead, I get the error
Code:
** (luakit:150481): WARNING **: 14:07:15.988: GDK is not able to create a GL context, falling back to glReadPixels (slow!): Unable to create a GL context

with or without LD_LIBRARY_PATH=/opt/gl4es, whereas without the ENABLE_GLES2 flag, I was at least able to get the warning silenced by including the gl4es libGL.so in the ld library path.

So summing up: webkit needs these two workarounds from webkit's bug tracker, and I don't know how to make webkit at all performant on pinebook pro manjaro. All three versions (vanilla, w/gl4es, and w/ENABLE_GLES2) get a 1.00 on https://browserbench.org/motionmark, although subjectively gl4es feels the most responsive.

For what it's woth, midori on stock debian initially shows better performance on motionmark, but it freezes halfway through and can't actually get a score.

I'd love some help with this if anybody has any ideas for how to get webkit running better.
#4
By tweaking some browser settings, I was able to get comparable performance on manjaro (with gl4es) and stock debian. The GDK warning when built with GLES2 enabled may be related to this:


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

So I'm not sure if there's any reasonable way around it for now.
#5
What kind of performance do you get on https://alteredqualia.com/three/examples...pasta.html ?
With the archlinuxarm epiphany I get 10fps, falling down to 3fps when the screen is full. With firefox I get only 3fps from the start.
#6
Interesting! Running fullscreen, I get about 3fps for both firefox and luakit, falling to about 1fps when the screen is full.

Could you send more details about your setup?

Also, how do your epiphany and firefox do on motionmark? My firefox manages a 2.03, so, better than webkit but still not good.
#7
I use the manjaro kernel and wifi driver, but the rest of my system is from archlinuxarm.
With the exception of mesa-git, that I compiled myself. I also set PAN_MESA_DEBUG=gles3
I just ran the benchmarks in a sway session with xwayland disabled. Firefox got 1.46, only scoring in Focus and Images. epiphany got 1.00 in every category.
I will try to compile webkit2gtk with ENABLE_GLES2, I ran into the same issue as you today.
#8
Any luck with ENABLE_GLES2?
#9
I managed to compile it after several days. ENABLE_GLES2 is now on, but i don't notice any difference at all...
I tried MESA_GL_VERSION_OVERRIDE=3.0 to silence the "falling back to glReadPixels" (doesn't give better performance, though)
I ran Motionmark with chromium and got a whopping 18, even though it is not wayland-native and uses llvmpipe Wink
with MESA_GL_VERSION_OVERRIDE I even managed to trick chromium into using the panfrost driver, but now I can't reproduce it anymore.
EDIT: I found out that chromium is on panfrost's blacklist, so I must be mistaken about that last part.
#10
All good to know. Thanks!


Possibly Related Threads…
Thread Author Replies Views Last Post
Question Building custom kernel (5.11.x) for Manjaro? ppafin 4 1,184 06-02-2021, 04:17 AM
Last Post: ppafin
  Quick Hint: Building Electron Apps kettek 4 2,599 11-04-2019, 01:17 AM
Last Post: Wizzard

Forum Jump:


Users browsing this thread: 1 Guest(s)