Re: Horology Test Case Fails with Sun Compiler

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Horology Test Case Fails with Sun Compiler
Дата
Msg-id 12883.1150148769@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Horology Test Case Fails with Sun Compiler  (<Match.Grun@thomson.com>)
Список pgsql-ports
<Match.Grun@thomson.com> writes:
> --------------Cut here------------
> /opt/SUNWspro/prod/bin/fbe: "/tmp/yabeAAAHVaasb", line 279: error: can't
> compute difference between symbols in different segments
> Failure in /opt/SUNWspro/prod/bin/fbe, status = 0x100
> Fatal Error exec'ing /opt/SUNWspro/prod/bin/fbe
> cc: acomp failed for s_lock.c
> --------------Cut here------------

I believe this is the same issue reported by Alan Stange a month or so
ago.  You can just rip out the unused sparc assembly code in s_lock.c,
as per the May 11/12 changes here:
http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/storage/lmgr/s_lock.c

> After making this change I notice that the -fast option has been causing
> the test cases to fail.

This doesn't explain your horology problem, however.  If -fast breaks
that test then we need to qualify the advice in doc/FAQ_Solaris that
suggests using -fast :-(.  Can anyone else confirm the problem?  Perhaps
it is limited to certain versions of the Sun compiler?

            regards, tom lane

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

Предыдущее
От:
Дата:
Сообщение: Re: Horology Test Case Fails with Sun Compiler
Следующее
От: Andrew Vick
Дата:
Сообщение: errcode redefinition