[Bug 2077608] [NEW] golang-1.22 FTBFS on bionic arm64

Shengjing Zhu 2077608 at bugs.launchpad.net
Thu Aug 22 08:21:00 UTC 2024


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
Foundations Bugs, which is subscribed to golang-1.22 in Ubuntu.
https://bugs.launchpad.net/bugs/2077608

Title:
  golang-1.22 FTBFS on bionic arm64

Status in golang-1.22 package in Ubuntu:
  New

Bug description:
  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*)':

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/golang-1.22/+bug/2077608/+subscriptions




More information about the foundations-bugs mailing list