Re: [PORTS] RedHat6.0 & Alpha

Bruce Momjian <maillist@candle.pha.pa.us>

From: Bruce Momjian <maillist@candle.pha.pa.us>
To: Uncle George <gatgul@voicenet.com>
Cc: Thomas Lockhart <lockhart@alumni.caltech.edu>, Ryan Kirkpatrick <rkirkpat@nag.cs.colorado.edu>, pgsql-ports@postgreSQL.org
Date: 1999-07-22T18:29:14Z
Lists: pgsql-hackers
> Ok,
>     I would have liked to have seen the fix to typedef time_t AbsoluteTime in
> nabstime.h, rather than this, but i guess its some movement :-/

It is on our list.  Too late to get that into 6.5.1:

 * Make Absolutetime/Relativetime int4 because time_t can be int8 on some ports

> As per ur request, I am sending u ( bruce) my changed *.[ch] files from the
> July 20 source ( they are not diffs ) . All the regressions tests work except
> for geometry ( precision ? ) and Rules ( of which i will follow up (later)
> with a question.

I will not accept non-diff files.  See tools/make_diff or use cvs diff.
Is this the kind of Alpha support I get?  :-;


>     I u folks got any questions please let me know, As i'm sure that you will
> have some.
> 
> Regarding the Test&set problems, u have to compile spin.c with -fno-inline.
> i'd give u a makefile but i'm not sure how u folks are handling the
>     ifeq ($(OS), linux )
>     ifeq ($(CPU), alpha )
>         spin.o:    spin.c
>             $(CC) $(CFLAGS) -c -fno-inline spin.c -o spin.o
>     endif
>     endif
> 
>     I'm using -O3, and seems happy
> gat

I have added to backend/storage/ipc/Makefile:

	# seems to be required 1999/07/22 bjm
	ifeq ($(CPU),alpha)
	ifeq ($(CC), gcc)
	CFLAGS+= -fno-inline
	endif
	ifeq ($(CC), egcs)
	CFLAGS+= -fno-inline
	endif
	endif


-- 
  Bruce Momjian                        |  http://www.op.net/~candle
  maillist@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