Linux templates - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Linux templates
Date
Msg-id Pine.LNX.4.21.0007012021400.13037-100000@localhost.localdomain
Whole thread Raw
Responses Re: Linux templates
List pgsql-hackers
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

(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.)

--
Peter Eisentraut                  Sernanders väg 10:115
peter_e@gmx.net                   75262 Uppsala
http://yi.org/peter-e/            Sweden


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Modified pg_dump & new pg_restore need testing...
Next
From: Bruce Momjian
Date:
Subject: Re: Modified pg_dump & new pg_restore need testing...