On Tue, Dec 5, 2023 at 3:15 PM David Edelsohn <dje....@gmail.com> wrote: > > The error is: > > ld: 0711-317 ERROR: Undefined symbol: __cxa_thread_atexit_impl > > > from the new, weak reference.
By the way this seems like the same issue on nvptx too. See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112858 which has a similar analysis as below too. Thanks, Andrew > > > Also, earlier in atexit_thread.cc, there is another definition protected by > > > _GLIBCXX_HAVE___CXA_THREAD_ATEXIT_IMPL > > > not utilized by the new reference. > > > Thanks, David > > > On Tue, Dec 5, 2023 at 11:10 AM David Edelsohn <dje....@gmail.com> wrote: >> >> Alex, >> >> This patch broke bootstrap on AIX. The stage1 compiler is not able to build >> a program and stage2 configure fails. >> >> Thanks, David >>