Re: Linux templates

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>, pgsql-ports(at)postgresql(dot)org
Subject: Re: Linux templates
Date: 2000-07-01 21:17:26
Message-ID: 200007012117.RAA13721@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-ports

[ 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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2000-07-01 21:23:53 Re: Modified pg_dump & new pg_restore need testing...
Previous Message Bruce Momjian 2000-07-01 21:15:39 Re: Modified pg_dump & new pg_restore need testing...

Browse pgsql-ports by date

  From Date Subject
Next Message Peter Eisentraut 2000-07-01 21:24:04 Re: Building 7.1 under Linux for S/390
Previous Message Tran, Jantz C 2000-06-30 20:46:01 PostgreSQL on IA-64?