Compile Error - Spinlock support - Mailing list pgsql-hackers-win32

From Nate Plumm
Subject Compile Error - Spinlock support
Date
Msg-id E72A9DAB-B787-4B5E-973A-769202B00708@SERVER2
Whole thread Raw
Responses Re: Compile Error - Spinlock support  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Compile Error - Spinlock support  (Andrew Dunstan <andrew@dunslane.net>)
List 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@postgresql.org.
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



pgsql-hackers-win32 by date:

Previous
From: Tom Lane
Date:
Subject: Re: Compiling beta2 with openssl on XP Pro
Next
From: Tom Lane
Date:
Subject: Re: Compile Error - Spinlock support