Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-bugspgsql-hackerspgsql-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

pgsql-hackers by date

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

pgsql-bugs by date

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

pgsql-patches by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group