Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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

pgsql-hackers-win32 by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group