Re: [HACKERS] Alpha initdb fixed!

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

From: Bruce Momjian <maillist@candle.pha.pa.us>
To: dwayne@mika.com (Dwayne Bailey)
Cc: pgsql-hackers@postgreSQL.org
Date: 1998-03-20T03:53:33Z
Lists: pgsql-hackers
Applied.

> 
> -----BEGIN PGP SIGNED MESSAGE-----
> 
> I've gotten 6.3 initdb to run to a successful completion on my
> Alpha running OSF/1 V3.2c.  Forget the change that I sent in
> earlier.  While I still think that there's something funky with
> that code, it doesn not need to be modifed.  Actually, the
> modifications are miniscule.  The only files that need to be
> changed are backend/main/main.c and template/alpha.
> 
> The real trick is to add -Dalpha to the CFLAGS setting.  The
> changes to main.c are only to add some extra includes to support
> some code that's suddenly being used.
> 
> The #define ASSEMBLER is to prevent most of the code of
> sys/proc.h from being included, as it ends up conflicting with
> some of the postgresql definitions.  This may or may not work on
> other versions of Digital Unix.
> 
> As far as I'm concerned, this is a hack fix.  There's still some
> underlying 32/64 bit assumtions that this is masking.  Perhaps


-- 
Bruce Momjian                          |  830 Blythe Avenue
maillist@candle.pha.pa.us              |  Drexel Hill, Pennsylvania 19026
  +  If your life is a hard drive,     |  (610) 353-9879(w)
  +  Christ can be your backup.        |  (610) 853-3000(h)