Re: UnixWare on Current CVS: Success!

From: Larry Rosenman <ler(at)lerctr(dot)org>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: ohp(at)pyrenet(dot)fr, pgsql-hackers(at)postgresql(dot)org
Subject: Re: UnixWare on Current CVS: Success!
Date: 2003-08-25 02:51:54
Message-ID: 55490000.1061779914@lerlaptop.lerctr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

--On Sunday, August 24, 2003 22:49:00 -0400 Bruce Momjian
<pgman(at)candle(dot)pha(dot)pa(dot)us> wrote:

>
> OK, I now realized this code is shell script, not Makefile content.
>
> Code changed to:
>
> THREAD_CFLAGS = "$THREAD_CFLAGS -D_REENTRANT"
Ok, but we are **STILL** broke for the --enable-thread-safety flag due to
your commit
requiring all 3 *_r (gethostbyname, strerror, and getpwuid) functions, even
though all
UnixWare has is the getpwuid_r function.

Please either revert that requirement, or apply a patch to allow UnixWare
to compile with
--enable-thread-safety by making the change to src/port/thread.c to use a
HAVE_GETPWUID_R flag, and arrange for configure to set that flag.

Thanks,
LER

>
>
> -------------------------------------------------------------------------
> --
>
> Larry Rosenman wrote:
>> Didn't seem to. Did you see my posts from fri/sat on -hackers?
>>
>> I included what DID work for me.
>>
>> LER
>>
>>
>> --On Sunday, August 24, 2003 19:21:57 -0400 Bruce Momjian
>> <pgman(at)candle(dot)pha(dot)pa(dot)us> wrote:
>>
>> > Larry Rosenman wrote:
>> >> On Aug 17 2003, ohp(at)pyrenet(dot)fr wrote:
>> >>
>> >> > Did something changed on today's cvs.
>> >> >
>> >> > src/template/unixware is wrong on last line: THREAD_CFLAGS +=
>> >> > -D_REENTRANT should be THREAD_CFLAGS="$THREAD_CFLAGS -D_REENTRANT"
>> >> No it shouldn't....
>> >>
>> >> The original patch worked just fine...
>> >>
>> >> I'll look when I get back from Forum.
>> >
>> > I changed the define to be:
>> >
>> > THREAD_CFLAGS += "-D_REENTRANT"
>> >
>> > Do the quotations help?
>>
>>
>>
>> --
>> Larry Rosenman http://www.lerctr.org/~ler
>> Phone: +1 972-414-9812 E-Mail: ler(at)lerctr(dot)org
>> US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

--
Larry Rosenman http://www.lerctr.org/~ler
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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2003-08-25 03:17:07 Re: UnixWare on Current CVS: Success!
Previous Message Bruce Momjian 2003-08-25 02:49:00 Re: UnixWare on Current CVS: Success!