Re: __atomic_test_and_set() and mips o32 - help wanted
"Maciej W. Rozycki" <[email protected]> Wed, 19 Nov 2025 22:45:02 +0000 (GMT)
| Newsgroups | gmane.os.netbsd.ports.mips.devel,gmane.os.netbsd.devel.toolchain |
|---|---|
| Message-ID | <[email protected]> |
On Wed, 19 Nov 2025, David Holland wrote: > Anyway, despite what the rest of the thread seems to think, surely > it's not necessary to hack the compiler, just to provide a mips1 > implementation of the missing symbol on mips1 ports? Which can then be > an ll/sc sequence to be emulated, or a RAS, or whatever else... There's no quotation of the link failure message referring the missing symbol, but I'm fairly sure the symbol is a libcall for an unimplemented feature of libgcc, a part of the compiler, so hacking the compiler is what indeed is needed (IOW the missing part needs to be added to libgcc if you do want to avoid emitting LL/SC from the compiler). Maciej