This does not build on aarch64 anymore.
[72/156] Compiling C++ object subprojects/abseil-cpp-20210324.1/libabsl_random_lib.a.p/absl_random_internal_randen_hwaes.cc.o
FAILED: subprojects/abseil-cpp-20210324.1/libabsl_random_lib.a.p/absl_random_internal_randen_hwaes.cc.o
c++ -Isubprojects/abseil-cpp-20210324.1/libabsl_random_lib.a.p -Isubprojects/abseil-cpp-20210324.1 -I../subprojects/abseil-cpp-20210324.1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -std=c++17 -Wno-sign-compare -march=armv8-a+crypto -march=armv8-a -O2 -pipe -fstack-protector-strong -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fPIC -MD -MQ subprojects/abseil-cpp-20210324.1/libabsl_random_lib.a.p/absl_random_internal_randen_hwaes.cc.o -MF subprojects/abseil-cpp-20210324.1/libabsl_random_lib.a.p/absl_random_internal_randen_hwaes.cc.o.d -o subprojects/abseil-cpp-20210324.1/libabsl_random_lib.a.p/absl_random_internal_randen_hwaes.cc.o -c ../subprojects/abseil-cpp-20210324.1/absl/random/internal/randen_hwaes.cc
In file included from ../subprojects/abseil-cpp-20210324.1/absl/random/internal/randen_hwaes.cc:229:
/usr/lib/gcc/aarch64-unknown-linux-gnu/10.2.0/include/arm_neon.h: In function ‘Vector128 {anonymous}::AesRound(const Vector128&, const Vector128&)’:
/usr/lib/gcc/aarch64-unknown-linux-gnu/10.2.0/include/arm_neon.h:12321:1: error: inlining failed in call to ‘always_inline’ ‘uint8x16_t vaesmcq_u8(uint8x16_t)’: target specific option mismatch
12321 | vaesmcq_u8 (uint8x16_t data)
| ^~~~~~~~~~
../subprojects/abseil-cpp-20210324.1/absl/random/internal/randen_hwaes.cc:255:20: note: called from here
255 | return vaesmcq_u8(vaeseq_u8(state, uint8x16_t{})) ^ round_key;
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../subprojects/abseil-cpp-20210324.1/absl/random/internal/randen_hwaes.cc:229:
/usr/lib/gcc/aarch64-unknown-linux-gnu/10.2.0/include/arm_neon.h:12307:1: error: inlining failed in call to ‘always_inline’ ‘uint8x16_t vaeseq_u8(uint8x16_t, uint8x16_t)’: target specific option mismatch
12307 | vaeseq_u8 (uint8x16_t data, uint8x16_t key)
| ^~~~~~~~~
../subprojects/abseil-cpp-20210324.1/absl/random/internal/randen_hwaes.cc:255:20: note: called from here
255 | return vaesmcq_u8(vaeseq_u8(state, uint8x16_t{})) ^ round_key;
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Pinned Comments
artafinde commented on 2022-01-26 09:15 (UTC) (edited on 2022-01-29 10:24 (UTC) by artafinde)
If the build fails:
SRCPKGDEST
directoryThere's a package build already which you can try out from my repo.
falconindy commented on 2020-05-31 15:35 (UTC)
FAQ:
PATH
handled by/etc/profile.d/perlbin.sh
makepkg -A
. The "any" architecture is reserved for packages with architecture independent files (and compiled C++ is not).