I started getting build errors today with the latest release. I'm building Wireguard in a 3.18.123 kernel using Clang 8.0. Here is the error, any help would be appreciated.

net/built-in.o: In function `selftest_run':
/media/otherhd/android/out/target/product/marlin/obj/KERNEL_OBJ/../../../../../../kernel/google/marlin/net/wireguard/crypto/zinc/chacha20/../selftest/run.h:20: undefined reference to `__compiletime_assert_21' /media/otherhd/android/out/target/product/marlin/obj/KERNEL_OBJ/../../../../../../kernel/google/marlin/net/wireguard/crypto/zinc/chacha20/../selftest/run.h:20:(.init.text+0x4874): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `__compiletime_assert_21'
net/built-in.o: In function `selftest_run':
/media/otherhd/android/out/target/product/marlin/obj/KERNEL_OBJ/../../../../../../kernel/google/marlin/net/wireguard/crypto/zinc/poly1305/../selftest/run.h:20: undefined reference to `__compiletime_assert_21' /media/otherhd/android/out/target/product/marlin/obj/KERNEL_OBJ/../../../../../../kernel/google/marlin/net/wireguard/crypto/zinc/poly1305/../selftest/run.h:20:(.init.text+0x48a0): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `__compiletime_assert_21'
net/built-in.o: In function `selftest_run':
/media/otherhd/android/out/target/product/marlin/obj/KERNEL_OBJ/../../../../../../kernel/google/marlin/net/wireguard/crypto/zinc/selftest/run.h:20: undefined reference to `__compiletime_assert_21' /media/otherhd/android/out/target/product/marlin/obj/KERNEL_OBJ/../../../../../../kernel/google/marlin/net/wireguard/crypto/zinc/selftest/run.h:20:(.init.text+0x48b8): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `__compiletime_assert_21'
net/built-in.o: In function `selftest_run':
/media/otherhd/android/out/target/product/marlin/obj/KERNEL_OBJ/../../../../../../kernel/google/marlin/net/wireguard/crypto/zinc/blake2s/../selftest/run.h:20: undefined reference to `__compiletime_assert_21' /media/otherhd/android/out/target/product/marlin/obj/KERNEL_OBJ/../../../../../../kernel/google/marlin/net/wireguard/crypto/zinc/blake2s/../selftest/run.h:20:(.init.text+0x48d0): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `__compiletime_assert_21'
net/built-in.o: In function `selftest_run':
/media/otherhd/android/out/target/product/marlin/obj/KERNEL_OBJ/../../../../../../kernel/google/marlin/net/wireguard/crypto/zinc/curve25519/../selftest/run.h:20: undefined reference to `__compiletime_assert_21' /media/otherhd/android/out/target/product/marlin/obj/KERNEL_OBJ/../../../../../../kernel/google/marlin/net/wireguard/crypto/zinc/curve25519/../selftest/run.h:20:(.init.text+0x48e8): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `__compiletime_assert_21'

_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard

Reply via email to