|
|
|
||||||
|
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 |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
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 |