Re: [committed] libstdc++: Add options for libatomic to test

2021-04-23 Thread Richard Biener via Gcc-patches
On Thu, Apr 22, 2021 at 6:56 PM Jonathan Wakely via Gcc-patches wrote: > > This fixes a linker error on AIX: > > FAIL: 30_threads/semaphore/try_acquire_posix.cc (test for excess errors) > Excess errors: > ld: 0711-317 ERROR: Undefined symbol: .__atomic_fetch_add_8 > ld: 0711-317 ERROR: Undefined

[committed] libstdc++: Add options for libatomic to test

2021-04-22 Thread Jonathan Wakely via Gcc-patches
This fixes a linker error on AIX: FAIL: 30_threads/semaphore/try_acquire_posix.cc (test for excess errors) Excess errors: ld: 0711-317 ERROR: Undefined symbol: .__atomic_fetch_add_8 ld: 0711-317 ERROR: Undefined symbol: .__atomic_load_8 ld: 0711-317 ERROR: Undefined symbol: .__atomic_fetch_sub_8