Re: Compile Error - Spinlock support

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Nate Plumm" <plummn(at)comdel(dot)net>
Cc: pgsql-hackers-win32(at)postgresql(dot)org
Subject: Re: Compile Error - Spinlock support
Date: 2004-09-06 16:46:26
Message-ID: 14908.1094489186@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers-win32

"Nate Plumm" <plummn(at)comdel(dot)net> 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 pgsql-bugs(at)postgresql(dot)org(dot)

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

In response to

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Daniel Schuchardt 2004-09-06 17:02:09 Re: Installation on Windows XP Home
Previous Message Nate Plumm 2004-09-06 16:02:19 Compile Error - Spinlock support