From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Thread code not vpath-safe |
Date: | 2004-04-26 19:09:48 |
Message-ID: | 200404261909.i3QJ9mP09847@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
OK, I worked with Alvaro via IM and it is fixed now.
---------------------------------------------------------------------------
Alvaro Herrera wrote:
> On Mon, Apr 26, 2004 at 01:15:13PM -0400, Bruce Momjian wrote:
> > Alvaro Herrera wrote:
> > > The thread testing program is not nice to a vpath build. I see this
> > > error:
>
> > > (Basically what I'm doing is create an empty directory, cd to it and
> > > then call ../sourcedir/configure --enable-thread-safety)
> >
> > I tried and couldn't get it to fail.
>
> Whoa, seems I'm the irreproducible-bug-reporter now :-(
>
> > Do you have this line at the bottom of configure.in:
> >
> > if ! $srcdir/src/tools/thread/thread_test >&5
>
> Yes:
>
> if ! $srcdir/src/tools/thread/thread_test >&5
> then rm -f $srcdir/src/Makefile.global
> echo "no"
> echo
> $srcdir/src/tools/thread/thread_test
> echo
> AC_MSG_ERROR([Thread test program failed. Your platform is not thread-safe.])
> fi
>
>
> I tried it with:
>
> mkdir /tmp/thr
> cd /tmp/thr
> ~/CVS/pgsql/source/00orig/configure --enable-thread-safety
>
> [lots of output, and then:]
> checking for gmake... gmake
> checking thread safety of required library functions... Makefile:13: ../../../src/Makefile.global: No such file or directory
> gmake: *** No rule to make target `../../../src/Makefile.global'. Stop.
> configure: error: Can not clean thread test directory.
>
> --
> Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
> "No necesitamos banderas
> No reconocemos fronteras" (Jorge Gonz?lez)
>
--
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 | Bruce Momjian | 2004-04-26 19:19:21 | Re: signal 11 on AIX: 7.4.2 |
Previous Message | Merlin Moncure | 2004-04-26 19:04:52 | Re: FW: getting a crash during initdb |