Re: Linux templates

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Linux templates
Дата
Msg-id 200007012117.RAA13721@candle.pha.pa.us
обсуждение исходный текст
Ответ на Linux templates  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
[ Charset ISO-8859-1 unsupported, converting... ]
> We've got 7 linux templates all doing the same thing, and one more
> (s390) coming up. How about putting them all into one?
>
> Any news on why linux_alpha defines CPU=alpha, which
> is used in backend/storage/ipc/Makefile:
>
> ifeq ($(CPU),alpha)
> ifeq ($(CC), gcc)
> CFLAGS+= -fno-inline
> endif
> ifeq ($(CC), egcs)
> CFLAGS+= -fno-inline
> endif
> endif

For some reason, alpha was not defined on some platforms, I think.


>
> (Certainly a compiler bug -- what's the latest on that?)
>
> and in backend/utils/adt/Makefile:
>
> ifeq ($(CPU),alpha)
> ifeq ($(CC), gcc)
> CFLAGS+= -mieee
> endif
> ifeq ($(CC), egcs)
> CFLAGS+= -mieee
> endif
> endif
>
> (Reading the documentation on this, it seems that we should perhaps
> compile the entire source with -mieee, rather than having certain parts
> work more "correctly" than others.)

There was some goofy problem in the past with this flag, and making it
happen only in certain places helped some problem.  I don't really
remember the cause at this point.  CVS log may show it.

--
  Bruce Momjian                        |  http://www.op.net/~candle
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Modified pg_dump & new pg_restore need testing...
Следующее
От: Philip Warner
Дата:
Сообщение: Re: Modified pg_dump & new pg_restore need testing...