From: | Keith Parks <emkxp01(at)mtcc(dot)demon(dot)co(dot)uk> |
---|---|
To: | hackers(at)postgresql(dot)org |
Subject: | s_lock.h problem on S/Linux |
Date: | 1998-06-20 13:06:30 |
Message-ID: | 199806201306.OAA17936@mtcc.demon.co.uk |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi hackers.
I am having problems with the new spinlock code on the SPARC linux
platform. (Latest CVSup)
The compiler doesn't seem to like the "asm" part of s_lock.h for (sparc)
Here's one of the compiles that fails.
make[3]: Entering directory `/usr/local/pgsql/src/backend/storage/ipc'
gcc -I../../../include -I../../../backend -O2 -Wall -Wmissing-prototypes
-I../.. -c spin.c -o spin.o
../../../include/storage/s_lock.h: In function `SpinAcquire':
../../../include/storage/s_lock.h:131: inconsistent operand constraints in an
`asm'
../../../include/storage/s_lock.h:131: inconsistent operand constraints in an
`asm'
../../../include/storage/s_lock.h:131: inconsistent operand constraints in an
`asm'
../../../include/storage/s_lock.h:131: inconsistent operand constraints in an
`asm'
../../../include/storage/s_lock.h: In function `SpinRelease':
../../../include/storage/s_lock.h:131: inconsistent operand constraints in an
`asm'
../../../include/storage/s_lock.h:131: inconsistent operand constraints in an
`asm'
make[3]: *** [spin.o] Error 1
Th ccsym information may be useful.
[postgres(at)sparclinux pgsql]$ src/tools/ccsym
__GNUC__=2
__GNUC_MINOR__=7
__ELF__
unix
sparc
linux
__ELF__
__unix__
__sparc__
__linux__
__unix
__sparc
__linux
system=unix
system=posix
cpu=sparc
machine=sparc
[postgres(at)sparclinux pgsql]$
Keith.
From | Date | Subject | |
---|---|---|---|
Next Message | David Gould | 1998-06-21 01:07:27 | Re: [HACKERS] s_lock.h problem on S/Linux |
Previous Message | Bruce Momjian | 1998-06-20 03:01:21 | Re: [BUGS] Re: [HACKERS] pg_dump error |