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

BUG #2651: 8.2 - beta 1 does now compile with Sun Studio 11

From: "Remy Beaumont" <remyb(at)medrium(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #2651: 8.2 - beta 1 does now compile with Sun Studio 11
Date: 2006-09-25 14:40:38
Message-ID: 200609251440.k8PEecCh091626@wwwmaster.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-bugs
The following bug has been logged online:

Bug reference:      2651
Logged by:          Remy Beaumont
Email address:      remyb(at)medrium(dot)com
PostgreSQL version: 8.2 - beta 1
Operating system:   Solaris 10 on T2000
Description:        8.2 - beta 1 does now compile with Sun Studio 11
Details: 

When we try to compile 8.2 - beta 1 on a T2000 wth Sun Studio 11, the build
fails at the following file: 

make[5]: Entering directory
`/usr/home/remy/postgresql-8.2beta1/src/backend/utils/adt'
/opt/SUNWspro/bin/cc -Xa -xtarget=ultraT1 -fast -I../../../../src/include  
-c -o float.o float.c
"float.c", line 112: identifier redeclared: cbrt
        current : static function(double) returning double
        previous: function(double) returning double :
"/usr/include/iso/math_c99.h", line 126
cc: acomp failed for float.c
make[5]: *** [float.o] Error 2


The flags used for compiling are:  CC=/opt/SUNWspro/bin/cc
'CFLAGS=-xtarget=ultraT1 -fast'

Responses

pgsql-bugs by date

Next:From: Casey DuncanDate: 2006-09-25 18:39:55
Subject: Re: Out of memory error during large hashagg
Previous:From: Jakob NielsenDate: 2006-09-25 14:30:00
Subject: Alertbox: 6 Ways to Fix a Confused Information Architecture

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