Re: [HACKERS] Linux/Alpha and pgsql.... - Mailing list pgsql-hackers
From | Bruce Momjian |
---|---|
Subject | Re: [HACKERS] Linux/Alpha and pgsql.... |
Date | |
Msg-id | 199804110156.VAA01498@candle.pha.pa.us Whole thread Raw |
In response to | Linux/Alpha and pgsql.... (Ryan Kirkpatrick <rkirkpat@nag.cs.colorado.edu>) |
Responses |
Re: [HACKERS] Linux/Alpha and pgsql....
|
List | 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@nag.cs.colorado.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.LNX.3.95.980410180459.6356B@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.LNX.3.95.980410180459.6356C@stargazer> > Content-Description: > > LS0tIHBvc3RncmVzcWwtNi4zLjEuYWN0dWFsL3NyYy9iYWNrZW5kL3V0aWxz > L2FkdC9mbG9hdC5jCVdlZCBGZWIgMjUgMjI6Mzc6MDcgMTk5OA0KKysrIHBv > c3RncmVzcWwtNi4zLjEvc3JjL2JhY2tlbmQvdXRpbHMvYWR0L2Zsb2F0LmMJ > RnJpIEFwciAxMCAxNToyMToxMSAxOTk4DQpAQCAtMTMyLDcgKzEzMiw3IEBA > DQogICogdW50aWwgdGhlIGRpc3RyaWJ1dGlvbnMgYXJlIHVwZGF0ZWQuDQog > ICoJCQkJCQkJCS0tZGptIDEyLzE2Lzk2DQogICovDQotI2lmIGRlZmluZWQo > bGludXhhbHBoYSkgJiYgIWRlZmluZWQoVU5TQUZFX0ZMT0FUUykNCisjaWYg > KCBkZWZpbmVkKGxpbnV4KSAmJiBkZWZpbmVkKF9fYWxwaGFfXykgKSAmJiAh > ZGVmaW5lZChVTlNBRkVfRkxPQVRTKQ0KICNkZWZpbmUgVU5TQUZFX0ZMT0FU > Uw0KICNlbmRpZg0KIA0K > --8323328-875907394-892249499=:6356-- > > -- 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)
pgsql-hackers by date: