Re: TAS definitions on Solaris x86 with GCC

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: TAS definitions on Solaris x86 with GCC
Дата
Msg-id 1074.1127877284@sss.pgh.pa.us
обсуждение исходный текст
Ответ на TAS definitions on Solaris x86 with GCC  (Michael Crozier <crozierm@conducivetech.com>)
Ответы Re: TAS definitions on Solaris x86 with GCC  (Michael Crozier <crozierm@conducivetech.com>)
Список pgsql-ports
Michael Crozier <crozierm@conducivetech.com> writes:
> I'm again looking at tas/spinlock build problems while investigating unusually
> high CPU usage during load testing.  My issue was first mentioned here:

> http://archives.postgresql.org/pgsql-ports/2005-09/msg00001.php

Hmmm ... you really shouldn't be using the out-of-line tas.s code for
gcc-based builds on any common architecture.  I think the problem may be
that the case statement in src/template/solaris is testing for "i?86"
which probably doesn't match your x86_64 host.  What value does $host
have for you exactly?

> Version details:
>   Postgresql 7.4.8

7.4 is not exactly a spring chicken.  I suggest that you experiment with
CVS tip (8.1beta) and document what still needs to be fixed.  After we
figure that out, we can discuss whether the changes are reasonable to
back-patch to the 7.4 branch --- but starting a portability
investigation with an old branch is a waste of everybody's time.

            regards, tom lane

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

Предыдущее
От: Michael Crozier
Дата:
Сообщение: TAS definitions on Solaris x86 with GCC
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [BUGS] Postgresql problem in AIX 5.3