re: __atomic_test_and_set() and mips o32 - help wanted

matthew green <[email protected]> Sat, 22 Nov 2025 16:15:21 +1100
Newsgroups gmane.os.netbsd.devel.toolchain,gmane.os.netbsd.ports.mips.devel,gmane.os.netbsd.ports.alpha
Message-ID <[email protected]>
>  Hmm, so where does the original issue reported with this thread come 
> from?  It seems like something that should have been long sorted.

it comes from GDB calling C++'s "test_and_set()" which in GCC 14's
libstdc++ is implemented as direct calls to __atomic_test_and_set().

   libgdb.a(minsyms.o): in function `minimal_symbol_reader::install()':
   minsyms.c:(.text+0x4224): undefined reference to `__atomic_test_and_set'


.mrg.