Re: Solaris ASM problem

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Kris Jurka <books(at)ejurka(dot)com>
Cc: Theo Schlossnagle <jesus(at)omniti(dot)com>, PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: Solaris ASM problem
Date: 2006-04-28 22:54:59
Message-ID: 200604282254.k3SMsx717338@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers pgsql-patches

Kris Jurka wrote:
>
>
> On Fri, 28 Apr 2006, Theo Schlossnagle wrote:
>
> > The file that uses the spinlocks:
> > /src/backend/storage/lmgr/s_lock.c
> >
> > can be compiled standalone with -DS_LOCK_TEST
> >
>
> To get the test to compile I had to link in tas.o as the attached patch
> shows. Unfortunately this doesn't work for platforms that don't have a
> tas.o, bailing out with file not found. Perhaps it's not important to fix
> this test, but I thought I'd mention it.

Fixed with the attached patch. Thanks.

--
Bruce Momjian http://candle.pha.pa.us
EnterpriseDB http://www.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

Attachment Content-Type Size
/bjm/diff text/x-diff 1.0 KB

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2006-04-29 00:51:41 pgsql: Intel compiler has a bug/misoptimization in checking for division
Previous Message Bruce Momjian 2006-04-28 22:54:31 pgsql: Fix s_lock_test to use tas.o file, if needed.

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2006-04-28 23:06:15 Re: [GENERAL] Autovacuum Logging
Previous Message Tom Lane 2006-04-28 22:22:26 Add syntax position field to Vars?

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2006-04-29 00:51:31 Re: patch to have configure check if CC is intel C compiler
Previous Message Theo Schlossnagle 2006-04-28 21:50:42 Re: Solaris ASM problem