From: | Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | rkirkpat(at)nag(dot)cs(dot)colorado(dot)edu (Ryan Kirkpatrick) |
Cc: | pgsql-hackers(at)postgreSQL(dot)org |
Subject: | Re: [HACKERS] Linux/Alpha and pgsql.... |
Date: | 1998-04-11 01:56:32 |
Message-ID: | 199804110156.VAA01498@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Marc, would you install these as appropriate. Also, you will find that
I added to templates/linuxalpha the line:
linuxalpha:CFLAGS:-O2 -Dalpha
^^^^^^^
so the patches he supplied adding __alpha__ are not needed anymore.
This addition fixed alpha support, so it should fix alpha-linux too.
> I finally found some time to make minor patch to pgsql 6.3.1 to
> make it "sort-of-work" out of the box for Linux/Alpha. At the current
> moment, I can get it to compile, and run 'initdb' successfully. Regression
> tests are successful for the most part, with the biggest problems being in
> any dealing with floats, especially the float{4,...} tests. Overall, it
> looks as things are improving! :)
> The patches are for the two modified files only, as the changes
> were small. Mainly just replacing 'defined(linuxalpha)' with something
> that is understood '( defined(linux) && defined(__alpha__) )' by the
> compiler correctly, since linuxalpha was not getting defined anywhere, and
> the Linux/Alpha gcc does not generate the linuxalpha symbol itself.
> Appears to have been a slight oversight by some one who was adding
> Linux/Alpha support to the code. This shouldn't break any other platforms,
> with as small and simple a change as it is. Hopefully it can make it into
> 6.3.2? :)
> Also, what is the purpose of the files in
> ./src/backend/ports/linuxalpha? I can't find any reference to them
> anywhere else in the sources, and it does not appears they are even
> included in the final binary. The files themselves are pretty sparse.
> Also, if I understand the configure scripts correctly, only a
> ./src/backend/port/linux directory would be used, as linuxalpha is
> considered a subset of linux. Of course the latter directory existed in
> 6.2.x, but is now gone. I think that the former directory can follow,
> i.e. be removed as well.
> Thats all for now! As usual, any questions about these
> patches, feel free to email me. TTYL.
>
> ----------------------------------------------------------------------------
> | "For to me to live is Christ, and to die is gain." |
> | --- Philippians 1:21 (KJV) |
> ----------------------------------------------------------------------------
> | Ryan Kirkpatrick | Boulder, Colorado | rkirkpat(at)nag(dot)cs(dot)colorado(dot)edu |
> ----------------------------------------------------------------------------
> | http://www-ugrad.cs.colorado.edu/~rkirkpat/ |
> ----------------------------------------------------------------------------
>
> --8323328-875907394-892249499=:6356
> Content-Type: TEXT/PLAIN; charset=US-ASCII; name="pgsql-6.2.1.alpha.patch.4"
> Content-Transfer-Encoding: BASE64
> Content-ID: <Pine(dot)LNX(dot)3(dot)95(dot)980410180459(dot)6356B(at)stargazer>
> Content-Description:
>
> LS0tIHBvc3RncmVzcWwtNi4zLjEuYWN0dWFsL3NyYy9pbmNsdWRlL3V0aWxz
> L21lbXV0aWxzLmgJV2VkIEZlYiAyNSAyMjo0NDowOCAxOTk4DQorKysgcG9z
> dGdyZXNxbC02LjMuMS9zcmMvaW5jbHVkZS91dGlscy9tZW11dGlscy5oCUZy
> aSBBcHIgMTAgMTU6MjI6MTcgMTk5OA0KQEAgLTY3LDcgKzY3LDcgQEANCiAg
> Ki8NCiAjaWYgZGVmaW5lZChzdW4pICYmICEgZGVmaW5lZChzcGFyYykNCiAj
> ZGVmaW5lIExPTkdBTElHTihMRU4pCVNIT1JUQUxJR04oTEVOKQ0KLSNlbGlm
> IGRlZmluZWQgKGFscGhhKSB8fCBkZWZpbmVkKGxpbnV4YWxwaGEpDQorI2Vs
> aWYgZGVmaW5lZCAoYWxwaGEpIHx8ICggZGVmaW5lZChsaW51eCkgJiYgZGVm
> aW5lZChfX2FscGhhX18pKQ0KIA0KICAvKg0KICAgKiBldmVuIHRob3VnaCAi
> bG9uZyBhbGlnbm1lbnQiIHNob3VsZCByZWFsbHkgYmUgb24gOC1ieXRlIGJv
> dW5kYXJpZXMgZm9yDQo=
> --8323328-875907394-892249499=:6356
> Content-Type: TEXT/PLAIN; charset=US-ASCII; name="pgsql-6.2.1.alpha.patch.3"
> Content-Transfer-Encoding: BASE64
> Content-ID: <Pine(dot)LNX(dot)3(dot)95(dot)980410180459(dot)6356C(at)stargazer>
> Content-Description:
>
> LS0tIHBvc3RncmVzcWwtNi4zLjEuYWN0dWFsL3NyYy9iYWNrZW5kL3V0aWxz
> L2FkdC9mbG9hdC5jCVdlZCBGZWIgMjUgMjI6Mzc6MDcgMTk5OA0KKysrIHBv
> c3RncmVzcWwtNi4zLjEvc3JjL2JhY2tlbmQvdXRpbHMvYWR0L2Zsb2F0LmMJ
> RnJpIEFwciAxMCAxNToyMToxMSAxOTk4DQpAQCAtMTMyLDcgKzEzMiw3IEBA
> DQogICogdW50aWwgdGhlIGRpc3RyaWJ1dGlvbnMgYXJlIHVwZGF0ZWQuDQog
> ICoJCQkJCQkJCS0tZGptIDEyLzE2Lzk2DQogICovDQotI2lmIGRlZmluZWQo
> bGludXhhbHBoYSkgJiYgIWRlZmluZWQoVU5TQUZFX0ZMT0FUUykNCisjaWYg
> KCBkZWZpbmVkKGxpbnV4KSAmJiBkZWZpbmVkKF9fYWxwaGFfXykgKSAmJiAh
> ZGVmaW5lZChVTlNBRkVfRkxPQVRTKQ0KICNkZWZpbmUgVU5TQUZFX0ZMT0FU
> Uw0KICNlbmRpZg0KIA0K
> --8323328-875907394-892249499=:6356--
>
>
--
Bruce Momjian | 830 Blythe Avenue
maillist(at)candle(dot)pha(dot)pa(dot)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)
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 1998-04-11 01:58:11 | Re: [HACKERS] reverse file descriptor to a file name... |
Previous Message | The Hermit Hacker | 1998-04-11 00:02:10 | Re: [HACKERS] Linux/Alpha and pgsql.... |