s_lock.h problem on S/Linux
От | Keith Parks |
---|---|
Тема | s_lock.h problem on S/Linux |
Дата | |
Msg-id | 199806201306.OAA17936@mtcc.demon.co.uk обсуждение исходный текст |
Ответы |
Re: [HACKERS] s_lock.h problem on S/Linux
|
Список | 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@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@sparclinux pgsql]$ Keith.
В списке pgsql-hackers по дате отправления: