Re: Compile/Link Error for Postgres 8.1.0 on Solaris 8

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: stange(at)rentec(dot)com
Cc: "Bhide, Rajan" <rbhide(at)starentnetworks(dot)com>, pgsql-novice(at)postgresql(dot)org
Subject: Re: Compile/Link Error for Postgres 8.1.0 on Solaris 8
Date: 2005-12-08 19:30:13
Message-ID: 15834.1134070213@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Alan Stange <stange(at)rentec(dot)com> writes:
> Bhide, Rajan wrote:
>> ./configure --without-readline --enable-thread-safety CFLAGS=-xO4
>> -D_REENTRANT -xipo -mt -lpthread
>> CC=/export/home/uxapps/workshop/SUNWspro/bin/cc

> Given that you've enabled -xipo, and the error is related to ipo, I'd
> suggest dropping that option for now.

Putting -lpthread into CFLAGS seems pretty foolish as well. If you
needed to specify that explicitly (which you do not) it would belong
in LDFLAGS --- putting it in CFLAGS is pretty certain to screw up
link order and so on. And what is -mt?

regards, tom lane

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Alan Stange 2005-12-08 19:35:43 Re: Compile/Link Error for Postgres 8.1.0 on Solaris 8
Previous Message Alan Stange 2005-12-08 18:23:39 Re: Compile/Link Error for Postgres 8.1.0 on Solaris 8