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

From: Rémy Beaumont <remyb(at)medrium(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #2651: 8.2 - beta 1 does now compile with Sun Studio 11
Date: 2006-09-26 12:32:13
Message-ID: 027BC1B2-DEF5-41F6-9F8E-1659AF2F9EAD@medrium.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Yes, that is the next item on my list.
I'm just trying to compile it for now on a T2000 with the best
possible optimization.

With PG 8.1.X. I saw a 30% to 40% performance increase on sorts when
compiling with Sun Studio 11 and -fast.

Rémy
On 25-Sep-06, at 22:02, Tom Lane wrote:

> "Remy Beaumont" <remyb(at)medrium(dot)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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Mussum 2006-09-26 14:21:53 Help-me
Previous Message Zdenek Kotala 2006-09-26 12:20:23 Re: BUG #2651: 8.2 - beta 1 does now compile with Sun Studio 11