Re: enable thready safety on Mac OS X 10.3.4

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: wespvp(at)syntegra(dot)com
Cc: Keary Suska <hierophant(at)pcisys(dot)net>, Postgres General <pgsql-general(at)postgresql(dot)org>, Aaron Burghardt <aburgh(at)mac(dot)com>
Subject: Re: enable thready safety on Mac OS X 10.3.4
Date: 2004-07-06 04:06:04
Message-ID: 200407060406.i66464529610@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

wespvp(at)syntegra(dot)com wrote:
> On 6/26/04 3:01 PM, "Keary Suska" <hierophant(at)pcisys(dot)net> wrote:
>
> >> I attempted to compile 7.4.3 with enable-thread-safety but it fails and
> >> says it's not supported. My configure command was:
> >>
> >> ./configure --enable-thread-safety
> >
> > This is what I did for 10.3.4/7.4.2:
> >
> > 1. Enabled thread support in the platform template: src/template/darwin (see
> > src/tools/thread/README for info)
> >
> > 2. Configured/compiled
> >
> > 3. Ran the thread_test program that was created by compile (in
> > src/tools/thread)
> >
> > 4. Followed any recommendations output by the program
> >
> > 5. Re-configured/compiled
> >
> > Everything was fine.
>
> You shouldn't have to mess with template/darwin. Back post 7.4.2 I went
> through a number of iterations with the developers on this and it was
> working out of the box. They were in the process of rewriting the threads
> detection and configuration to be more clean and reliable.
>
> I just tried it from the CVS source and it worked fine, even after a 'make
> clean'. However, when I download 7.4.3 and try it, I get the same error as
> you. The darwin template is identical between the two. I would have
> thought all those code changes would have been incorporated in 7.4.3.
>
> I think this requires some more investigation. Mac OS X 10.3.x should be
> working off the bat.

The thread testing in 7.5 is dramatically different from 7.4 and can't
be backpatched. What should I add to template/darwin for 7.4.4?

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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Antony Paul 2004-07-06 04:22:55 Windows GUI clients
Previous Message mike g 2004-07-06 03:38:42 Re: could not access file "$libdir/plpython" when