Re: test-and-set for s390x and powerpc64

Поиск
Список
Период
Сортировка
От Reinhard Max
Тема Re: test-and-set for s390x and powerpc64
Дата
Msg-id Pine.LNX.4.44.0210311817420.10694-100000@wotan.suse.de
обсуждение исходный текст
Ответ на Re: test-and-set for s390x and powerpc64  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: test-and-set for s390x and powerpc64  (Reinhard Max <max@suse.de>)
Список pgsql-patches
On Thu, 31 Oct 2002 at 12:17, Tom Lane wrote:

> Reinhard Max <max@suse.de> writes:
> > the attached patches provide test-and-set assembler code for s390x
> > (64bit) and ppc64.
>
> Why do we need that ppc64 code?  It appears identical to the ppc
> code (except for missing isync, which means it's broken on multi-CPU
> boxes).

I'll re-check that with the ppc architecture guy here.

> > It also changes the -fpic compiler flag to -fPIC which is needed
> > for some Linux platforms, and AFAIK doesn't hurt on the others.
>
> Evidence?

Shared libraries don't work on the S/390 platforms unless compiled
with -fPIC. The lowercase -fpic is not sufficient there. I don't
remember the details, but the architecture gurus told me that -fPIC is
strictly needed. Here at SuSE all shared libs on all platforms get
built with -fPIC .

cu
    Reinhard


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: test-and-set for s390x and powerpc64
Следующее
От: Reinhard Max
Дата:
Сообщение: Re: Compiler options for plperl