PR other/113336: Fix libatomic testsuite regressions on ARM.
commitea7675761226b42e2deb7b320e9cc680512f4090
authorRoger Sayle <roger@nextmovesoftware.com>
Wed, 14 Feb 2024 19:09:51 +0000 (14 19:09 +0000)
committerRoger Sayle <roger@nextmovesoftware.com>
Wed, 14 Feb 2024 19:09:51 +0000 (14 19:09 +0000)
tree3df7029c0c2d90cc1d6d25d40c9e89fcf395848d
parentdd9d14f7d53de07beff06004922a2bff20ece671
PR other/113336: Fix libatomic testsuite regressions on ARM.

This patch is a revised version of the fix for PR other/113336.
Bootstrapping GCC on arm-linux-gnueabihf with --with-arch=armv6 currently
has a large number of FAILs in libatomic (regressions since last time I
attempted this).  The failure mode is related to IFUNC handling with the
file tas_8_2_.o containing an unresolved reference to the function
libat_test_and_set_1_i2.

The following one line change, to build tas_1_2_.o when building tas_8_2_.o,
resolves the problem for me and restores the libatomic testsuite to 44
expected passes and 5 unsupported tests [from 22 unexpected failures
and 22 unresolved testcases].
`

2024-02-14  Roger Sayle  <roger@nextmovesoftware.com>
    Victor Do Nascimento  <victor.donascimento@arm.com>

libatomic/ChangeLog
PR other/113336
* Makefile.am: Build tas_1_2_.o on ARCH_ARM_LINUX
* Makefile.in: Regenerate.
libatomic/Makefile.am
libatomic/Makefile.in