Re: [PORTS] RedHat6.0 & Alpha

Поиск
Список
Период
Сортировка
От Ryan Kirkpatrick
Тема Re: [PORTS] RedHat6.0 & Alpha
Дата
Msg-id Pine.LNX.4.10.9907271339250.2483-100000@excelsior.rkirkpat.net
обсуждение исходный текст
Ответ на Re: [PORTS] RedHat6.0 & Alpha  (Thomas Lockhart <lockhart@alumni.caltech.edu>)
Список pgsql-ports
On Tue, 27 Jul 1999, Thomas Lockhart wrote:

> > I just bounced the alpha patch over to you, Thomas.  If you like it, it
> > can be applied.
>
> Great. But I'm looking for feedback from Ryan if he has a chance to
> test it.

    Sorry, I have been a bit busy over the weekend. I did get to test
it on Friday though. The patch applied flawlessly to that day's snapshot.
Though I quickly hit a minor, but annoying snag. The configure script
detects my XLT 366 Alpha's CPU as 'alphaev5', which means that none of the
alpha conditional clauses in the makefiles get evaluated correctly, and
one ends up with a binary that gets stuck spinlocks (when using -O2 for
CFLAGS).
    I couldn't find anyway to tell make to look for alpha only at the
start of the CPU string (i.e. '$CPU =~ /^alpha.*/' in perl syntax), but
there might be one I missed. I simply ran configure, then edited
makefile.global, and changed 'alphaev5' to 'alpha' and complied as usual.
    This time it worked great! No stuck spinlocks (and -O2 was used!),
and all the regression tests, saved for rules as Uncle G. has already
mentioned.
    So, other than the CPU type detection problem, everything looks
very good. I have given postgres a decent work out, loading large data
sets (8 tables, 88k records), and then accessing via a web interface I am
writing for work, without any problems at all.
    If no one minds, I will forward Uncle G.'s patches onto some
Debian-Alpha hackers that contacted me a while back about the status of
pgsql on alphas, and see what reaction they have to them.
    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/                |
----------------------------------------------------------------------------


В списке pgsql-ports по дате отправления:

Предыдущее
От: "\\root"
Дата:
Сообщение: strange makefile
Следующее
От: "Eichert, Diana"
Дата:
Сообщение: error compiling odbc support for 6.5.1 under OpenBSD