Re: Re: Hack to make postgres compile on Dec 4.0f with GCC

Поиск
Список
Период
Сортировка
От Adriaan Joubert
Тема Re: Re: Hack to make postgres compile on Dec 4.0f with GCC
Дата
Msg-id 394471E6.83E067BF@albourne.com
обсуждение исходный текст
Ответ на Re: Hack to make postgres compile on Dec 4.0f with GCC  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
Bruce Momjian wrote:

> Can someone make a suggestion here?
>
> > Hi.
> >
> > Here is a patch I hacked together. I didn't understand the TAS thing, and
> > it appeared to be the cause of the problem. I hacked the code up by
> > commenting out the assembly TAS provided and inserting the semaphore
> > macros for the non-gcc alpha version. Perhaps someone with expertise in
> > this area could assist in fixing the provided TAS.

Yep, Arrigo looked at the TAS code for Alpha-Linux (it is commented out for
DEC Unix) and came to the conclusion that it probably only worked on specific
configurations and definitely not on multi-processor machines. He has been
trying to write the code himself, but it turns out to be extraordinarily hard
to get this working properly on Alpha (espec. multi-processor machines). I
believe he is currently trying to interest somebody in Digital in this
problem. Until a proper solution has been found, it is probably safer to just
stick to the semaphores.

Adriaan


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

Предыдущее
От: Denis Perchine
Дата:
Сообщение: Serial reads & lseek calls.
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Fix for RENAME