Re: Bug #576: Can not compile IRIX + GCC

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: oota(at)mspd(dot)mt(dot)nec(dot)co(dot)jp, pgsql-bugs(at)postgresql(dot)org
Subject: Re: Bug #576: Can not compile IRIX + GCC
Date: 2002-02-08 04:53:39
Message-ID: 200202080453.g184rdJ14419@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

pgsql-bugs(at)postgresql(dot)org wrote:
> oota toshiya (oota(at)mspd(dot)mt(dot)nec(dot)co(dot)jp) reports a bug with a severity of 3
> The lower the number the more severe it is.
>
> Short Description
> Can not compile IRIX + GCC
>
> Long Description
> /src/backend/storage/lmgr/s_lock.c line 173
>
> .global tas \n\
>
> is incorrect (TYPO). MIPS assembler syntax require " .globl" .

In 7.2 I see:

#if defined(__mips__) && !defined(__sgi)
static void
tas_dummy()
{
__asm__ __volatile__(
"\
.global tas \n\
tas: \n\
.frame $sp, 0, $31 \n\

Can you tell us what OS, OS version, and assembler you are using?

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message pgsql-bugs 2002-02-08 07:25:26 Bug #577: incorect sort using order by
Previous Message pgsql-bugs 2002-02-08 04:35:09 Bug #576: Can not compile IRIX + GCC