Re: [HACKERS] threads stuff/UnixWare - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: [HACKERS] threads stuff/UnixWare
Date
Msg-id 200405132352.i4DNqua24111@candle.pha.pa.us
Whole thread Raw
In response to Re: [HACKERS] threads stuff/UnixWare  (Larry Rosenman <ler@lerctr.org>)
List 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@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] threads stuff/UnixWare
Next
From: Larry Rosenman
Date:
Subject: Re: [HACKERS] threads stuff/UnixWare