Bug #576: Can not compile IRIX + GCC

Started by PostgreSQL Bugs Listabout 24 years ago3 messagesbugs
Jump to latest
#1PostgreSQL Bugs List
pgsql-bugs@postgresql.org

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" .

Sample Code

No file was uploaded with this report

#2Bruce Momjian
bruce@momjian.us
In reply to: PostgreSQL Bugs List (#1)
Re: Bug #576: Can not compile IRIX + GCC

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
#3Luis Alberto Amigo Navarro
lamigo@atc.unican.es
In reply to: PostgreSQL Bugs List (#1)
Re: Bug #576: Can not compile IRIX + GCC

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" .

Sample Code

No file was uploaded with this report

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org

The problem is gcc not postgres, read FAQ-IRIX.
If you use MIPSPro compilers u will have no problems

I'm not sure, I don't remember if I had to do modifications, but 7.2 was
compiled with gcc 3.0