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

Re: [HACKERS] UnixWare/CVS Tip/initdb.c needs to use

From: Larry Rosenman <ler(at)lerctr(dot)org>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: [HACKERS] UnixWare/CVS Tip/initdb.c needs to use
Date: 2004-03-19 15:57:30
Message-ID: (view raw or whole thread)
Lists: pgsql-hackerspgsql-patches

--On Friday, March 19, 2004 10:55:53 -0500 Bruce Momjian 
<pgman(at)candle(dot)pha(dot)pa(dot)us> wrote:

> Larry Rosenman wrote:
>> > I'll ask the compiler guys, but I suspect we're going to have to do it
>> > this way.
>> >
>>  From the Compiler Guys:
>>  The a.out (not any library) should be linked with -Kpthread (not
>> -lpthread).
>> This will force libthread to be linked in the right order relative to
>> libc, libC, networking libraries, etc.
>> In other words, the entire application either is or is not linked with
>> threads; it's not a property of an individual library.
>> SO, IF we are using the threads flags, we need to use them on ALL
>> libpq-using programs, ours or the users.
>> Not surprising.
> Is this problem with just the native compiler, or gcc too?  Are enough
> other platforms going to have this problem or do I make a
> platform-specific hack for this?
GCC too, as it uses the native libraries.  I am NOT familiar enough with
the other platforms to answer the question.


> --
>   Bruce Momjian                        |
>   pgman(at)candle(dot)pha(dot)pa(dot)us               |  (610) 359-1001
>   +  If your life is a hard drive,     |  13 Roberts Road
>   +  Christ can be your backup.        |  Newtown Square, Pennsylvania
> 19073

Larry Rosenman           
Phone: +1 972-414-9812                 E-Mail: ler(at)lerctr(dot)org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

In response to

pgsql-hackers by date

Next:From: Denis KhabasDate: 2004-03-19 16:07:15
Subject: Bad timestamp external representation
Previous:From: Bruce MomjianDate: 2004-03-19 15:55:53
Subject: Re: [HACKERS] UnixWare/CVS Tip/initdb.c needs to use threads

pgsql-patches by date

Next:From: Robert TreatDate: 2004-03-19 16:19:05
Subject: Re: FAQ updates
Previous:From: Bruce MomjianDate: 2004-03-19 15:56:25
Subject: Re: FAQ updates

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