Building 8.1.11 on FC4

Lists: pgsql-general
From: "beer(at)cmu(dot)edu" <beer(at)cmu(dot)edu>
To: pgsql-general(at)postgresql(dot)org
Subject: Building 8.1.11 on FC4
Date: 2008-01-16 15:02:23
Message-ID: 7916966e0801160702je83b042ie64a83d98a2f6808@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

Good morning everyone!

As you may have guessed from previous posts, i just recently migrated my
main database server from 7.4.x to 8.1.11. This part went pretty smoothly.
:)

One of the client machines in my architecture is a Fedora Core 4 box. I
unfortunately cannot change this so I had to build 8.1.11 packages. When I
was building the packages it would fail unless I passed 'pgfts 0'.

Of course now, I am running into deadlock issues that never existed before.
There have been no code changes and the behavior of the code seems to
suggest to me that threads may be the issue.

Has anyone actually built 8.1.x on FC4? My guess is that I just need a
little trick to force rpmbuild to finish successfully with thread safe
enabled but it has been suggested that perhaps FC4 is not capable of being
thread safe. So if anyone could offer any advice that might help me sort
this out, I would truly appreciate it.

TIA

-bill


From: Greg Smith <gsmith(at)gregsmith(dot)com>
To: "beer(at)cmu(dot)edu" <beer(at)cmu(dot)edu>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Building 8.1.11 on FC4
Date: 2008-01-16 15:50:32
Message-ID: Pine.GSO.4.64.0801161041070.16621@westnet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

On Wed, 16 Jan 2008, beer(at)cmu(dot)edu wrote:

> it has been suggested that perhaps FC4 is not capable of being
> thread safe.

FC4 deprecated use of Linux Threads in preference to the Native POSIX
Thread Library, and I wouldn't be surprised to find that transition wasn't
perfect (welcome to 2005's bugs on a release that was obsolete in 9
months). There are instructions for using the older library at
http://docs.fedoraproject.org/release-notes/fc4/#sn-nptl and that one may
work better for you. Alternately, you might be able to upgrade to a later
NPTL version.

--
* Greg Smith gsmith(at)gregsmith(dot)com http://www.gregsmith.com Baltimore, MD


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "beer(at)cmu(dot)edu" <beer(at)cmu(dot)edu>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Building 8.1.11 on FC4
Date: 2008-01-16 16:33:43
Message-ID: 24556.1200501223@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

"beer(at)cmu(dot)edu" <beer(at)cmu(dot)edu> writes:
> One of the client machines in my architecture is a Fedora Core 4 box. I
> unfortunately cannot change this so I had to build 8.1.11 packages. When I
> was building the packages it would fail unless I passed 'pgfts 0'.

Fail how? I've never had to disable pgfts in any Fedora release.

regards, tom lane