Re: solaris build problem with Sun compilers

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: solaris build problem with Sun compilers
Дата
Msg-id 23585.1147469584@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: solaris build problem with Sun compilers  (Alan Stange <stange@rentec.com>)
Ответы Re: solaris build problem with Sun compilers
Re: solaris build problem with Sun compilers
Список pgsql-ports
Alan Stange <stange@rentec.com> writes:
> Check out the comment and implementation for cas32() in this .il
> template file for libc from OpenSolaris:

> http://cvs.opensolaris.org/source/xref/on/usr/src/lib/libc/sparc/threads/sparc.il

If you mean

          * When compiling with -xarch=v8, the compiler refuses to
          * accept the 'cas' instruction, so we encode it in hex below.

I can't say that that impresses me.  It still will fail on v8 chips no?
What's the point of fooling the compiler if you can't fool the hardware?

            regards, tom lane

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

Предыдущее
От: Alan Stange
Дата:
Сообщение: Re: solaris build problem with Sun compilers
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: solaris build problem with Sun compilers