Re: Compile Error - Spinlock support
От | Tom Lane |
---|---|
Тема | Re: Compile Error - Spinlock support |
Дата | |
Msg-id | 14908.1094489186@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Compile Error - Spinlock support ("Nate Plumm" <plummn@comdel.net>) |
Список | pgsql-hackers-win32 |
"Nate Plumm" <plummn@comdel.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@postgresql.org. 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
В списке pgsql-hackers-win32 по дате отправления: