Created attachment 922368 [details] build.log See the logs.
Created attachment 922369 [details] emerge --info
A closer look to the logs led me to think that those flags: -march=armv7-a -mfpu=neon-vfpv4 -mfloat-abi=hard are generated by this snippet of the CMakeLists.txt https://github.com/google/highway/blob/99bb05378be47b4c21baef4c8ff0db831a2a88f1/CMakeLists.txt#L432C7-L432C21 So HWY_CMAKE_ARM7 which is turned on by the ebuild in multilib_src_configure(). And so it is trying to compile for armv7-a instead of armv8-a. This behaviour is kinda bad since it doesn't take account for aarch64.