Re: Bug #576: Can not compile IRIX + GCC - Mailing list pgsql-bugs

From Bruce Momjian
Subject Re: Bug #576: Can not compile IRIX + GCC
Date
Msg-id 200202080453.g184rdJ14419@candle.pha.pa.us
Whole thread Raw
In response to Bug #576: Can not compile IRIX + GCC  (pgsql-bugs@postgresql.org)
List pgsql-bugs
pgsql-bugs@postgresql.org wrote:
> oota toshiya (oota@mspd.mt.nec.co.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@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

pgsql-bugs by date:

Previous
From: pgsql-bugs@postgresql.org
Date:
Subject: Bug #576: Can not compile IRIX + GCC
Next
From: pgsql-bugs@postgresql.org
Date:
Subject: Bug #577: incorect sort using order by