Re: BUG #2651: 8.2 - beta 1 does now compile with Sun Studio 11 - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #2651: 8.2 - beta 1 does now compile with Sun Studio 11
Date
Msg-id 18097.1159236134@sss.pgh.pa.us
Whole thread Raw
In response to BUG #2651: 8.2 - beta 1 does now compile with Sun Studio 11  ("Remy Beaumont" <remyb@medrium.com>)
Responses Re: BUG #2651: 8.2 - beta 1 does now compile with Sun Studio 11
List pgsql-bugs
"Remy Beaumont" <remyb@medrium.com> writes:
> 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

You need to find out why configure failed to detect that cbrt() is
available.

            regards, tom lane

pgsql-bugs by date:

Previous
From: alertbox@nngroup.com (Jakob Nielsen)
Date:
Subject: Alertbox: 6 Ways to Fix a Confused Information Architecture
Next
From: Kris Jurka
Date:
Subject: Re: BUG #2628: jdbc2