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

Поиск
Список
Период
Сортировка
От Pierre Girard
Тема Solaris cc compiler on amd: PostgreSQL does not have native spinlock support on this platform
Дата
Msg-id 43A1D87B.9040500@gerad.ca
обсуждение исходный текст
Ответы Re: Solaris cc compiler on amd: PostgreSQL does not have native spinlock support on this platform  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
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@postgresql.org.

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.

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Andreas Pflug
Дата:
Сообщение: Re: BUG #2116: Searching text fields does not work in EUC_JP
Следующее
От: Rolf Gross
Дата:
Сообщение: Postgres 8.1 hangs at boot time due to password authentication for user postgres.