BUG #1212: 8.0.0beta1 build fails with bundled cc compiler

From: "PostgreSQL Bugs List" <pgsql-bugs(at)postgresql(dot)org>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #1212: 8.0.0beta1 build fails with bundled cc compiler
Date: 2004-08-11 14:39:07
Message-ID: 20040811143907.953B15A10CD@www.postgresql.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 1212
Logged by: R. Scott Bailey

Email address: scott(dot)bailey(at)eds(dot)com

PostgreSQL version: 7.5 Dev

Operating system: Tru64 UNIX V5.1B

Description: 8.0.0beta1 build fails with bundled cc compiler

Details:

I just pulled down the 8.0.0beta1 release and built it on my Alphaserver
4100 running Tru64 V5.1B. I was using the bundled C compiler, which reports
itself thus:

# cc -V
Compaq C V6.5-011 on Compaq Tru64 UNIX V5.1B (Rev. 2650)
Compiler Driver V6.5-003 (sys) cc Driver

I found the following patch (relative to the postgresql-8.0.0beta1
directory) was required in order to compile successfully:

--- src/timezone/zic.c.orig 2004-08-08 01:19:44.000000000 -0400
+++ src/timezone/zic.c 2004-08-10 17:34:00.000000000 -0400
@@ -134,7 +134,7 @@
static int itsabbr(const char *abbr, const char *word);
static int itsdir(const char *name);
static int lowerit(int c);
-static char *memcheck(char *tocheck);
+static char *memcheck(char *const tocheck);
static int mkdirs(char *filename);
static void newabbr(const char *abbr);
static long oadd(long t1, long t2);

After making this change, the build succeeded and all 96 regression tests
passed.

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Michael Fuhr 2004-08-11 14:43:19 Re: 8.0.0beta1: make check fails on solaris8
Previous Message Tom Lane 2004-08-11 14:34:24 Re: 8.0.0beta1: make check fails on solaris8