Re: [HACKERS] Re: Hack to make postgres compile on Dec 4.0f with GCC

From: Adriaan Joubert <a(dot)joubert(at)albourne(dot)com>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Michael Richards <miker(at)fastmail(dot)ca>, pgsql-patches(at)postgreSQL(dot)org, pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] Re: Hack to make postgres compile on Dec 4.0f with GCC
Date: 2000-06-12 05:15:18
Message-ID: 394471E6.83E067BF@albourne.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Bruce Momjian wrote:

> Can someone make a suggestion here?
>
> > Hi.
> >
> > Here is a patch I hacked together. I didn't understand the TAS thing, and
> > it appeared to be the cause of the problem. I hacked the code up by
> > commenting out the assembly TAS provided and inserting the semaphore
> > macros for the non-gcc alpha version. Perhaps someone with expertise in
> > this area could assist in fixing the provided TAS.

Yep, Arrigo looked at the TAS code for Alpha-Linux (it is commented out for
DEC Unix) and came to the conclusion that it probably only worked on specific
configurations and definitely not on multi-processor machines. He has been
trying to write the code himself, but it turns out to be extraordinarily hard
to get this working properly on Alpha (espec. multi-processor machines). I
believe he is currently trying to interest somebody in Digital in this
problem. Until a proper solution has been found, it is probably safer to just
stick to the semaphores.

Adriaan

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Karel Zak 2000-06-12 08:44:07 Re: pg_dumplo, thanks :) (fwd)
Previous Message Denis Perchine 2000-06-12 05:05:27 Serial reads & lseek calls.

Browse pgsql-patches by date

  From Date Subject
Next Message Nick Gorham 2000-06-12 05:58:19 Re: odbc patches
Previous Message Bruce Momjian 2000-06-12 04:02:31 pg_shadow change