From: | Unprivileged user <nobody> |
---|---|
To: | pgsql-ports(at)postgresql(dot)org |
Subject: | Port Bug Report: buf_init.c does not compile (spin lock problem?) |
Date: | 1999-06-17 16:01:08 |
Message-ID: | 199906171601.MAA52218@hub.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-ports |
============================================================================
POSTGRESQL BUG REPORT TEMPLATE
============================================================================
Your name : Stphane Bortzmeyer
Your email address : bortzmeyer(at)pasteur(dot)fr
Category : install: compile
Severity : critical
Summary: buf_init.c does not compile (spin lock problem?)
System Configuration
--------------------
Operating System : Digital Unix 4.0E (Rev. 1091)
PostgreSQL version : 6.5
Compiler used : egcs 1.1.2 (2.91.66)
Hardware:
---------
Alpha
Versions of other tools:
------------------------
GNU Make version 3.77
flex version 2.5.4
--------------------------------------------------------------------------
Problem Description:
--------------------
gcc -I../../../include -I../../../backend -DNOFIXADE -Wall -Wmissing-prototypes -I../.. -c buf_init.c -o buf_init.o
In file included from /usr/local/lib/gcc-lib/alphaev56-dec-osf4.0e/egcs-2.91.66/include/stdarg.h:36,
from ../../../include/c.h:52,
from ../../../include/postgres.h:42,
from buf_init.c:20:
/usr/local/lib/gcc-lib/alphaev56-dec-osf4.0e/egcs-2.91.66/include/va-alpha.h:36: warning: redefinition of `va_list'
/usr/local/lib/gcc-lib/alphaev56-dec-osf4.0e/egcs-2.91.66/include/va_list.h:7: warning: `va_list' previously declared here
../../../include/storage/s_lock.h: In function `tas':
In file included from buf_init.c:29:
../../../include/storage/s_lock.h:104: aggregate value used where an integer was expected
buf_init.c: In function `InitBufferPool':
buf_init.c:219: incompatible types in assignment
buf_init.c:220: incompatible types in assignment
make[3]: *** [buf_init.o] Error 1
Line 219 and 220 are :
#ifdef HAS_TEST_AND_SET
S_INIT_LOCK(&(buf->io_in_progress_lock));
S_INIT_LOCK(&(buf->cntx_lock));
#endif
--------------------------------------------------------------------------
Test Case:
----------
make
--------------------------------------------------------------------------
Solution:
---------
--------------------------------------------------------------------------
From | Date | Subject | |
---|---|---|---|
Next Message | Rob Fargher | 1999-06-17 16:24:21 | Postmaster from 6.5 won't run on Linux 2.2.9 |
Previous Message | Unprivileged user | 1999-06-17 13:59:49 | Port Bug Report: libpq result->fsize returns -1 for type CHAR |