Thread: Building 8.1.11 on FC4

Building 8.1.11 on FC4

From
"beer@cmu.edu"
Date:
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

Re: Building 8.1.11 on FC4

From
Greg Smith
Date:
On Wed, 16 Jan 2008, beer@cmu.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@gregsmith.com http://www.gregsmith.com Baltimore, MD

Re: Building 8.1.11 on FC4

From
Tom Lane
Date:
"beer@cmu.edu" <beer@cmu.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