Re: PostgreSQL v7.1.3 fails to build on Irix 6.5.13m

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: jeremy(at)wundt(dot)psychiatry(dot)uiowa(dot)edu (H Jeremy Bockholt)
Cc: pgsql-ports(at)postgresql(dot)org
Subject: Re: PostgreSQL v7.1.3 fails to build on Irix 6.5.13m
Date: 2001-11-05 18:05:45
Message-ID: 23087.1004983545@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-ports

jeremy(at)wundt(dot)psychiatry(dot)uiowa(dot)edu (H Jeremy Bockholt) writes:
> I'm using gmake 3.79.1 and gcc version 2.95.2
> on a MIPS R10000 CPU

> everything looks good until:
> gcc -Wall -Wmissing-prototypes -Wmissing-declarations
> -I../../../../src/include -U_NO_XOPEN4 -c -o s_lock.o s_lock.c
> s_lock.c: In function `s_lock':
> s_lock.c:134: warning: passing arg 1 of pointer to function discards
> qualifiers from pointer target type
> s_lock.c: At top level:
> s_lock.c:234: warning: `tas_dummy' defined but not used
> as: Error: /var/tmp/ccZzS08c.s, line 421: undefined assembler
> operation: .global
> .global tas
> gmake[4]: *** [s_lock.o] Error 1

Hm. Looks like you are not using the same assembler that the other
people who have built on MIPS machines use. Try looking at the output
of "gcc -S" on some program to see what syntax it's emitting. If you're
lucky it'll just be some trivial difference like ".global" vs ".globl".
If the differences are too extensive to figure out, you'll probably
need to reconfigure your gcc setup: either start using gas (GNU as)
for the assembly step, or stop using it and use the vendor's as,
whichever you're not doing now.

What is the OS platform involved here, anyway?

regards, tom lane

In response to

Browse pgsql-ports by date

  From Date Subject
Next Message H Jeremy Bockholt 2001-11-06 00:02:13 Re: PostgreSQL v7.1.3 fails to build on Irix 6.5.13m
Previous Message H Jeremy Bockholt 2001-11-02 22:55:23 PostgreSQL v7.1.3 fails to build on Irix 6.5.13m