Public bug reported: When backporting to bionic, golang-1.22 FTBFS on arm64
# runtime/race.test /<<PKGBUILDDIR>>/pkg/tool/linux_arm64/link: running gcc failed: exit status 1 /tmp/go-link-2146303217/000002.o: In function `__sanitizer::DecreaseTotalMmap(unsigned long)': gotsan.cpp:(.text+0x12fc): undefined reference to `__aarch64_ldadd8_acq_rel' /tmp/go-link-2146303217/000002.o: In function `__sanitizer_acquire_crash_state': gotsan.cpp:(.text+0x1334): undefined reference to `__aarch64_swp1_acq' /tmp/go-link-2146303217/000002.o: In function `__sanitizer::StackStore::BlockInfo::Stored(unsigned long)': gotsan.cpp:(.text+0x2bd0): undefined reference to `__aarch64_ldadd4_acq_rel' /tmp/go-link-2146303217/000002.o: In function `__sanitizer::StaticSpinMutex::LockSlow()': gotsan.cpp:(.text+0x38a0): undefined reference to `__aarch64_swp1_acq' /tmp/go-link-2146303217/000002.o: In function `__sanitizer::StackStore::LockAll()': gotsan.cpp:(.text+0x38ec): undefined reference to `__aarch64_swp1_acq' /tmp/go-link-2146303217/000002.o: In function `__sanitizer::StackStore::BlockInfo::IsPacked() const': gotsan.cpp:(.text+0x3938): undefined reference to `__aarch64_swp1_acq' /tmp/go-link-2146303217/000002.o: In function `__sanitizer::MemoryMappingLayout::LoadFromCache()': gotsan.cpp:(.text+0x39b0): undefined reference to `__aarch64_swp1_acq' /tmp/go-link-2146303217/000002.o: In function `__sanitizer::DD::CycleCheck(__sanitizer::DDPhysicalThread*, __sanitizer::DDLogicalThread*, __sanitizer::DDMutex*)': ** Affects: golang-1.22 (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2077608 Title: golang-1.22 FTBFS on bionic arm64 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/golang-1.22/+bug/2077608/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs