The following error prevents builds from succeeding when a compiler specifically targets ARMv8-A (instead of generic ARMv8): In file included from /home/aperez/devel/wpe/buildroot/output/build/webkitgtk-2.16.5/Source/bmalloc/bmalloc/BAssert.h:28:0, from /home/aperez/devel/wpe/buildroot/output/build/webkitgtk-2.16.5/Source/bmalloc/bmalloc/BumpAllocator.h:29, from /home/aperez/devel/wpe/buildroot/output/build/webkitgtk-2.16.5/Source/bmalloc/bmalloc/Allocator.h:29, from /home/aperez/devel/wpe/buildroot/output/build/webkitgtk-2.16.5/Source/bmalloc/bmalloc/Allocator.cpp:26: /home/aperez/devel/wpe/buildroot/output/build/webkitgtk-2.16.5/Source/bmalloc/bmalloc/BPlatform.h:84:45: warning: "BARM_ARCH_VERSION" is not defined [-Wundef] #define BARM_ARCH_AT_LEAST(N) (BCPU(ARM) && BARM_ARCH_VERSION >= N) ^ /home/aperez/devel/wpe/buildroot/output/build/webkitgtk-2.16.5/Source/bmalloc/bmalloc/BPlatform.h:180:9: note: in expansion of macro ‘BARM_ARCH_AT_LEAST’ # elif BARM_ARCH_AT_LEAST(4) ^~~~~~~~~~~~~~~~~~ /home/aperez/devel/wpe/buildroot/output/build/webkitgtk-2.16.5/Source/bmalloc/bmalloc/BPlatform.h:184:6: error: #error "Not supported ARM architecture" # error "Not supported ARM architecture" ^~~~~ The compiler is GCC 6.4.0, and it's defining __ARM_ARCH_8A__, which is not checked by BPlatform.h (it checks for __ARM_ARCH_8__ instead). Compiler output: % ./output/host/bin/arm-buildroot-linux-gnueabihf-g++ -E -dM -x c++ -std=c++1y /dev/null|grep ARM_ARCH_8 #define __ARM_ARCH_8A__ 1 % ./output/host/bin/arm-buildroot-linux-gnueabihf-g++ -dumpversion 6.4.0 I'm submitting a patch for this soon.
Created attachment 315248 [details] Patch
Comment on attachment 315248 [details] Patch Hm, shame there's so much code duplication here between Platform.h and BPlatform.h....
Comment on attachment 315248 [details] Patch Clearing flags on attachment: 315248 Committed r219416: <http://trac.webkit.org/changeset/219416>
All reviewed patches have been landed. Closing bug.