dbTalk Databases Forums  

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

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss [BUGS] BUG #1212: 8.0.0beta1 build fails with bundled cc compiler in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
PostgreSQL Bugs List
 
Posts: n/a

Default [BUGS] BUG #1212: 8.0.0beta1 build fails with bundled cc compiler - 08-11-2004 , 11:02 AM







The following bug has been logged online:

Bug reference: 1212
Logged by: R. Scott Bailey

Email address: scott.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.


---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo (AT) postgresql (DOT) org

Reply With Quote
  #2  
Old   
Tom Lane
 
Posts: n/a

Default Re: [BUGS] BUG #1212: 8.0.0beta1 build fails with bundled cc compiler - 08-11-2004 , 01:00 PM






"PostgreSQL Bugs List" <pgsql-bugs (AT) postgresql (DOT) org> writes:
Quote:
I found the following patch (relative to the postgresql-8.0.0beta1
directory) was required in order to compile successfully:
Thanks for the report --- fix committed. I wonder how we missed
ANSI-fying that function in the first place?

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.