Re: cbrt() broken in AIX

From: André Volpato <andre(dot)volpato(at)ecomtecnologia(dot)com(dot)br>
To: "Dickson S(dot) Guedes" <listas(at)guedesoft(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: cbrt() broken in AIX
Date: 2009-03-05 19:47:58
Message-ID: 49B02C6E.10908@ecomtecnologia.com.br
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<pre>Dickson S. Guedes escreveu:</pre>
<blockquote
cite="mid:ae46fee10903041602x8d41379w5d724c9208c7396f(at)mail(dot)gmail(dot)com"
type="cite">
<pre wrap="">2009/3/4 Andr&eacute; Volpato <a class="moz-txt-link-rfc2396E" href="mailto:andre(dot)volpato(at)ecomtecnologia(dot)com(dot)br">&lt;andre(dot)volpato(at)ecomtecnologia(dot)com(dot)br&gt;</a>:
</pre>
<blockquote type="cite">
<pre wrap="">I&acute;m trying to install postgres 8.3.6 at AIX 5.3, and I got a declaration
error that I presume its related to this [1] thread.

Here&acute;s some info:
- Bladecenter IBM JS22 - PowerPC_POWER6 quad 4GHZ 64 bits
- AIX 5.3.0
- Postgresql 8.3.6
- gcc version 4.2.0
- GNU Make 3.80
(...)
</pre>
</blockquote>
<pre wrap=""><!---->
Here:

postgres(at)db01 $ id
uid=204(postgres) gid=1(staff)
postgres(at)db01 $ export CC="gcc"
postgres(at)db01 $ export CFLAGS="-maix64"
postgres(at)db01 $ export LDFLAGS="-Wl,-bbigtoc"
postgres(at)db01 $ export OBJECT_MODE=64
postgres(at)db01 $ export AR="ar -X64"
postgres(at)db01 $ ./configure --enable-integer-datetimes
--prefix=/srv/postgresql/8.3.6
....
postgres(at)db01 $ make
...
...

And all is done fine. Course, all above is for 64 bits compilling.

How you are trying that?

</pre>
</blockquote>
<pre>
Guedes my friend, that doesnt work either.

First, I put back only the "define my_cbrt" line in float.c, and then tryed to configure with all the flags above.

The "Undefined symbols" errors keep coming.

As Thomas pointed out, I think my AIX is missing libm.

I will try to install it and post again when I have some news.

</pre>
<pre class="moz-signature" cols="72">--

[]&acute;s, ACV</pre>
</body>
</html>

Attachment Content-Type Size
unknown_filename text/html 1.8 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jaime Casanova 2009-03-05 19:49:48 Re: Re: [BUGS] BUG #4689: Expanding the length of a VARCHAR column should not induce a table rewrite
Previous Message Kevin Grittner 2009-03-05 19:46:22 Re: Re: [BUGS] BUG #4689: Expanding the length of a VARCHAR column should not induce a table rewrite