Awhile back I said:
> Actually, the first question to ask might be "are you using gcc"?
> It looks to me like s_lock.h/s_lock.c don't have a non-gcc
> implementation of tas() unless you define NEED_SPARC_TAS_ASM
> ... which src/include/port/solaris.h doesn't. Ugh.
I have to take this back: for non-gcc on Sparc, we use out-of-line
TAS subroutines, see src/backend/port/tas/. So that's not the problem.
regards, tom lane