Compile Error - Spinlock support

From: "Nate Plumm" <plummn(at)comdel(dot)net>
To: <pgsql-hackers-win32(at)postgresql(dot)org>
Subject: Compile Error - Spinlock support
Date: 2004-09-06 16:02:19
Message-ID: E72A9DAB-B787-4B5E-973A-769202B00708@SERVER2
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers-win32


Greetings,

I am trying to compile a snapshot (2004-09-05 I believe) on Windows XP. I
get the error below about spinlock support. I ran ./configure --without-zlib
and then make. Thank you all for your time!

gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes
-Wmissing-declarations -I../../../../src/include -I./src/include/port/win32
"-I../../../../src/include/port/win32" -DBUILDING_DLL -c -o rtscan.o
rtscan.c
gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes
-Wmissing-declarations -I../../../../src/include -I./src/include/port/win32
"-I../../../../src/include/port/win32" -DBUILDING_DLL -c -o rtstrat.o
rtstrat.c
c:/MinGw/mingw32/bin/ld.exe -r -o SUBSYS.o rtget.o rtproc.o rtree.o rtscan.o
rtstrat.o
make[4]: Leaving directory `/postgresql-snapshot/src/backend/access/rtree'
make -C transam SUBSYS.o
make[4]: Entering directory
`/postgresql-snapshot/src/backend/access/transam'
gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes
-Wmissing-declarations -I../../../../src/include -I./src/include/port/win32
"-I../../../../src/include/port/win32" -DBUILDING_DLL -c -o clog.o clog.c
gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes
-Wmissing-declarations -I../../../../src/include -I./src/include/port/win32
"-I../../../../src/include/port/win32" -DBUILDING_DLL -c -o transam.o
transam.c
gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes
-Wmissing-declarations -I../../../../src/include -I./src/include/port/win32
"-I../../../../src/include/port/win32" -DBUILDING_DLL -c -o varsup.o
varsup.c
gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes
-Wmissing-declarations -I../../../../src/include -I./src/include/port/win32
"-I../../../../src/include/port/win32" -DBUILDING_DLL -c -o xact.o xact.c
gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes
-Wmissing-declarations -I../../../../src/include -I./src/include/port/win32
"-I../../../../src/include/port/win32" -DBUILDING_DLL -c -o xlog.o xlog.c
In file included from ../../../../src/include/storage/spin.h:50,
from xlog.c:35:
../../../../src/include/storage/s_lock.h:543:2: #error PostgreSQL does not
have native spinlock support on this platform. To continue the compilation,
rerun configure using --disable-spinlocks. However, performance will be
poor. Please report this to pgsql-bugs(at)postgresql(dot)org(dot)
make[4]: *** [xlog.o] Error 1
make[4]: Leaving directory `/postgresql-snapshot/src/backend/access/transam'
make[3]: *** [transam-recursive] Error 2
make[3]: Leaving directory `/postgresql-snapshot/src/backend/access'
make[2]: *** [access-recursive] Error 2
make[2]: Leaving directory `/postgresql-snapshot/src/backend'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/postgresql-snapshot/src'
make: *** [all] Error 2

----------------------------
Nate Plumm
plummn _at_ comdel d0t net

Responses

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Tom Lane 2004-09-06 16:46:26 Re: Compile Error - Spinlock support
Previous Message Tom Lane 2004-09-05 19:29:36 Re: Compiling beta2 with openssl on XP Pro