"Len Zaifman" <leonardz@sickkids.ca> writes:
> The following error occuredbuilding Postgresql 8.2.4 on SLES 9 using SUN STUDIO 12 compilers
> sunstudio12/bin/cc -O -I../../../../src/include -D_GNU_SOURCE -c -o xlog.o xlog.c
> "../../../../src/include/storage/s_lock.h", line 810: #error: PostgreSQL does not have native spinlock support on
this
> platform. To continue the compilation, rerun configure using --disable-spinlocks. However, performance will be
poor.
> Please report this to pgsql-bugs@postgresql.org.
By and large we don't try to support nonstandard compilers on Linux.
Use gcc.
regards, tom lane