Go Back   ZeroC Forums > Patches

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 01-01-2004
bernard's Avatar
bernard bernard is offline
ZeroC Staff
 
Name: Bernard Normier
Organization: ZeroC, Inc.
Project: Ice
 
Join Date: Feb 2003
Location: Palm Beach Gardens, FL
Posts: 761
NPTL support on RedHat 9

The Native POSIX Thread Library (NPTL) is a major threading improvement on Linux, available on RedHat 9 and other recent Linux distributions (Fedora, RedHat Enterprise 3 and probably more).

Unfortunately Ice did not support NPTL ... until today.

In the latest Ice release (1.2), libraries are not linked to libpthread. This causes very puzzling problems (hangs) when using NPTL. Here is the explanation:
http://sources.redhat.com/ml/libc-ha.../msg00002.html

This glibc bug is fixed in the most recent RedHat 9 glibc packages available from RedHat (2.3.2-27.9.7 released in November), so in order to use Ice 1.2 with NTPL you can either:
- upgrade your glibc, glibc-common and glibc-devel packages to get this fix
or
- apply the attached patch to your <ice home>/config/Make.rules.Linux
Assuming you've put patch.txt in your home directory:
% cd <ice-home>/config/Make.rules.Linux
% patch -p0 < ~/patch.txt

This is a build-time (really link-time) issue, so once you've upgraded your glibc and/or patched your Make.rules.Linux, you need to rebuild Ice in order to get a NPTL-compatible Ice build.
Once properly built, Ice works with the NPTL from any RH9 glibc revision; of course we recommend to upgrade to the latest kernel and glibc to get the latest runtime fixes, in particular NPTL fixes.

Finally, IceJ also works with NPTL, provided you use Java 1.4.2 or later. Java 1.4.2 is the first NPTL-compatible JVM.

Best regards,
Bernard
Attached Files
File Type: txt patch.txt (463 Bytes, 300 views)
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
No slice2java for Linux (no RedHat) at all alvakoldo10 Help Center 11 10-19-2006 04:56 AM
Build error in Redhat Linux 9.0 wuqiu Help Center 10 05-16-2006 10:39 PM
problems when compile Ice2.0.0 in redhat 9 libaoli Help Center 8 01-09-2005 07:40 AM
Redhat Enterprise Linux (RHEL) support? kent144 Help Center 3 08-07-2004 08:19 PM
I have installed Ice on RedHat 9.0 ccba Bug Reports 0 07-15-2003 04:30 AM


All times are GMT -4. The time now is 02:59 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.