Re: Compile Error - Spinlock support
Tom Lane <[email protected]>
| Newsgroups | gmane.comp.db.postgresql.devel.win32 |
|---|---|
| Message-ID | <[email protected]> |
"Nate Plumm" <[email protected]> writes: > I am trying to compile a snapshot (2004-09-05 I believe) on Windows XP. > 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 [email protected]. There's a gcc for XP? If so, why is it failing to predefine __GNUC__ and/or __i386__ ? The only way you could get to that #error is if the predefined symbols are incomplete. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faqs/FAQ.html