Re: [HACKERS] threads stuff/UnixWare

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Larry Rosenman <ler(at)lerctr(dot)org>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Zeugswetter Andreas SB SD <ZeugswetterA(at)spardat(dot)at>, PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: [HACKERS] threads stuff/UnixWare
Date: 2004-05-13 23:52:56
Message-ID: 200405132352.i4DNqua24111@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

\Larry Rosenman wrote:
> > This is required because once you link with a library that uses threads,
> > all references to that library have to use thread flags.
>
>
> I manually added that patch, and re-did configure, et al from a gmake
> maintainer-clean, and we still die at initdb:
>
> cc -O -Kinline initdb.o exec.o -L../../../src/interfaces/libpq -lpq
> -L../../../src/port -L/usr/local/lib -Wl,-R/usr/local/pgsql/lib -lz
> -lreadline -ltermcap -lresolv -lgen -lld -lsocket -lnsl -ldl -lm -lpgport
> -o initdb

OK, we need to see -Kpthread in that compile line. Would you look at
Makefile.global at where I add the thread flags to see why isn't
working.

--
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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Larry Rosenman 2004-05-13 23:53:08 Re: [HACKERS] threads stuff/UnixWare
Previous Message Tom Lane 2004-05-13 23:46:00 Re: [HACKERS] threads stuff/UnixWare

Browse pgsql-patches by date

  From Date Subject
Next Message Larry Rosenman 2004-05-13 23:53:08 Re: [HACKERS] threads stuff/UnixWare
Previous Message Tom Lane 2004-05-13 23:46:00 Re: [HACKERS] threads stuff/UnixWare