Solaris cc compiler on amd: PostgreSQL does not have native spinlock support on this platform

From: Pierre Girard <pierre(dot)girard(at)gerad(dot)ca>
To: pgsql-bugs(at)postgresql(dot)org
Subject: Solaris cc compiler on amd: PostgreSQL does not have native spinlock support on this platform
Date: 2005-12-15 20:56:27
Message-ID: 43A1D87B.9040500@gerad.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers pgsql-patches

Hello,
I'm trying to compile postgresql and I got this message telling me
to inform you:

"../../../../src/include/storage/s_lock.h", line 806: #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(at)postgresql(dot)org(dot)

This is the configure line i used:
MAKE=gmake CC=/opt/SUNWspro/bin/cc CFLAGS="-xtarget=opteron
-xarch=amd64" CXX=/opt/SUNWspro/bin/CC CXXFLAGS="-xtarget=opteron
-xarch=amd64" LDFLAGS="-xtarget=opteron -xarch=amd64" ./configure
--without-readline

If i try this configuration command instead:
MAKE=gmake CC=/opt/SUNWspro/bin/cc CFLAGS="-fast"
CXX=/opt/SUNWspro/bin/CC CXXFLAGS="-fast" LDFLAGS="-fast" ./configure
--without-readline

It compiles but then i get a 32 bit executable which is not what i want.

This is on a solaris 10 with amd processor using the sun forte 11 compilers.

Are there any fix for this?

Thanks.

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Michael Fuhr 2005-12-15 21:31:47 Re: BUG #2117: inconsistency in sum
Previous Message Jim Klo 2005-12-15 19:09:18 Re: plpgsql TEMP table issue not fixed in 8.1?

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Kulkarni 2005-12-15 22:05:33 postgres version control?
Previous Message Jim C. Nasby 2005-12-15 20:02:38 Re: 7.3 failure on platypus

Browse pgsql-patches by date

  From Date Subject
Next Message Michael Fuhr 2005-12-15 23:44:48 Re: How much expensive are row level statistics?
Previous Message Kris Jurka 2005-12-14 21:58:48 shared description table.