Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-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

pgsql-ports by date

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

pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group