Re: 64-bit pgsql - Mailing list pgsql-hackers
From | Jeroen Ruigrok/asmodai |
---|---|
Subject | Re: 64-bit pgsql |
Date | |
Msg-id | 20030905194115.GQ42098@nexus.ninth-circle.org Whole thread Raw |
In response to | Re: 64-bit pgsql (Jeroen Ruigrok/asmodai <asmodai@wxs.nl>) |
Responses |
Re: 64-bit pgsql
(Bruce Momjian <pgman@candle.pha.pa.us>)
Re: 64-bit pgsql (Bruce Momjian <pgman@candle.pha.pa.us>) |
List | pgsql-hackers |
-On [20030905 20:52], Tom Lane (tgl@sss.pgh.pa.us) wrote: >Alternatively, find out what symbols your compiler predeclares. >If my theory is right then your pg_config_os.h file is failing to >define HAS_TEST_AND_SET; why? Indeed, pg_config_os.h does not set anything for __ia64__. When I added definitions for Itanium and Opteron to the src/include/port/freebsd.h (attached) I get the following: Opteron: gmake[4]: Entering directory `/h/scratch/asmodai/postgresql-snapshot/src/backend/access/transam' gcc -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/include -c -o clog.o clog.c gcc -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/include -c -o transam.o transam.c gcc -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/include -c -o varsup.o varsup.c gcc -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/include -c -o xact.o xact.c gcc -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/include -c -o xlog.o xlog.c {standard input}: Assembler messages: {standard input}:7886: Error: Incorrect register `%eax' used with `b' suffix gmake[4]: *** [xlog.o] Error 1 Itanium: gmake[4]: Entering directory `/q/scratch/asmodai/postgresql-snapshot/src/backend/access/transam' gcc -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/include -c -o clog.o clog.c gcc -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/include -c -o transam.o transam.c gcc -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/include -c -o varsup.o varsup.c gcc -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/include -c -o xact.o xact.c gcc -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/include -c -o xlog.o xlog.c ../../../../src/include/storage/s_lock.h: In function `tas': ../../../../src/include/storage/s_lock.h:125: error: inconsistent operand constraints in an `asm' gmake[4]: *** [xlog.o] Error 1 On the Alpha box I get 10 out of 92 regression tests failed, see http://www.in-nomine.org/~asmodai/regressions.diff I see some are due to locks failed, but it had as much semaphores available as the other boxes (or as little) and could go through the entire initdb routine. -- Jeroen Ruigrok van der Werven <asmodai(at)wxs.nl> / asmodai PGP fingerprint: 2D92 980E 45FE 2C28 9DB7 9D88 97E6 839B 2EAC 625B http://www.tendra.org/ | http://www.in-nomine.org/~asmodai/diary/ The wisdom of the wise, and the experience of ages, may be preserved by quotations...
Attachment
pgsql-hackers by date: