From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Larry Rosenman <ler(at)lerctr(dot)org> |
Cc: | pgsql-patches(at)postgresql(dot)org |
Subject: | Re: [HACKERS] UnixWare/CVS Tip/initdb.c needs to use threads |
Date: | 2004-03-19 15:55:53 |
Message-ID: | 200403191555.i2JFtre23253@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-patches |
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?
--
Bruce Momjian | http://candle.pha.pa.us
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
From | Date | Subject | |
---|---|---|---|
Next Message | Larry Rosenman | 2004-03-19 15:57:30 | Re: [HACKERS] UnixWare/CVS Tip/initdb.c needs to use |
Previous Message | Tom Lane | 2004-03-19 15:49:30 | Re: COPY formatting |
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2004-03-19 15:56:25 | Re: FAQ updates |
Previous Message | Larry Rosenman | 2004-03-19 15:47:57 | Re: [HACKERS] UnixWare/CVS Tip/initdb.c needs to use |