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.
cc: acomp failed for xlog.c
/hpf/tools/SunStudio/12/sunstudio12/bin/cc -V
cc: Sun C 5.9 Linux_i386 2007/05/03
usage: cc [ options] files. Use 'cc -flags' for details
leonardz@cn-r1-3 postgresql-8.2.4 1075>>uname -a
Linux cn-r1-3 2.6.5-7.282-smp #1 SMP Tue Aug 29 10:40:40 UTC 2006 x86_64 x86_64 x86_64 GNU/Linux
--
Len Zaifman
Systems Manager, Supercomputing Systems
Centre for Computational Biology
Hospital for Sick Children
Toronto, Ont. M5G 1X8
leonardz@sickkids.ca
(416)813-5513