Thread: Re: [PATCHES] Fixes for initdb on DEC Alpha

Re: [PATCHES] Fixes for initdb on DEC Alpha

From
Bruce Momjian
Date:
>
>   This message is in MIME format.  The first part should be readable text,
>   while the remaining parts are likely unreadable without MIME-aware tools.
>   Send mail to mime@docserver.cac.washington.edu for more info.
>
> --0-295419167-890168702=:27180
> Content-Type: TEXT/PLAIN; charset=US-ASCII
>
> -----BEGIN PGP SIGNED MESSAGE-----
>
> The attached two patches should be all that's required to get 6.3
> initdb running properly on a DEC Alpha.  These patches have been
> tested against versions 3.2 and 4.0 of Digital Unix.
>
> The two patched files are template/alpha and backend/main/main.c
>
> (This is my first patch submission, so be gently with me <G>)

Congratulations.  Certainly has to be put in the coming mega-patch.
Strange that the fix is so small, just some config lines, and a #define
ASSEMBLER around sys/proc.h.  Amazing.

Glad the cause wasn't some of my code additions.

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

Re: [PATCHES] Fixes for initdb on DEC Alpha

From
Dwayne Bailey
Date:
-----BEGIN PGP SIGNED MESSAGE-----

On Tue, 17 Mar 1998, Bruce Momjian wrote:

>
> Congratulations.  Certainly has to be put in the coming mega-patch.
> Strange that the fix is so small, just some config lines, and a #define
> ASSEMBLER around sys/proc.h.  Amazing.

Actually, all that my "patch" does it to enable a pre-existing
patch.  With -Dalpha, the macro LONGALIGN() is defined to aling,
not on long boundaries as you would expect, but on int
boundaries.  Once I found that, it was clear how to fix the
problem.  The comments in the header file were quite clear that
this was to prevent exactly the sorts of problems that we were
seeing.

>
> Glad the cause wasn't some of my code additions.
>

No additions at all.  Just a removal of a #define

- --
Dwayne Bailey                   + WHAT is your name? Sir Galahad
MIKA Systems, Bingham Farms, MI + WHAT is your quest? I Seek the Holy Grail
dwayne@mika.com                 + What is your favorite color?
http://www.mika.com/~dwayne     +    Blue ... no, Yelloooooooooooooooooow
            finger dwayne@mika20.mika.com for PGP Public Key

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQB1AwUBNQ71/aA2uleK7maRAQGnWwL/dJegGLZZW47G0MyBUiF8kMU1ujX+odRk
rvSiJTjuNpqKb8Kxty8srMyzOagQfggAndDLCvT2Pt4+oZcMdguj6Kx33Lv+24Xa
6mA0Mm+Y9M0lcuLNCmvf63earPTwy5I1
=ryQD
-----END PGP SIGNATURE-----