Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackerspgsql-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.


In response to

pgsql-hackers by date

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

pgsql-patches by date

Next:From: Nick GorhamDate: 2000-06-12 05:58:19
Subject: Re: odbc patches
Previous:From: Bruce MomjianDate: 2000-06-12 04:02:31
Subject: pg_shadow change

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group