Results 1 to 1 of 1

Thread: NPTL support on RedHat 9

  1. #1
    bernard's Avatar
    bernard is offline ZeroC Staff
    Name: Bernard Normier
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Palm Beach Gardens, FL
    Posts
    1,294

    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 Attached Files

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. can not build ICE 3.2.1 on Redhat Linux
    By gthaker in forum Help Center
    Replies: 1
    Last Post: 12-03-2007, 01:14 PM
  2. No slice2java for Linux (no RedHat) at all
    By alvakoldo10 in forum Help Center
    Replies: 11
    Last Post: 10-19-2006, 04:56 AM
  3. problems when compile Ice2.0.0 in redhat 9
    By libaoli in forum Help Center
    Replies: 8
    Last Post: 01-09-2005, 07:40 AM
  4. Redhat Enterprise Linux (RHEL) support?
    By kent144 in forum Help Center
    Replies: 3
    Last Post: 08-07-2004, 08:19 PM
  5. I have installed Ice on RedHat 9.0
    By ccba in forum Bug Reports
    Replies: 0
    Last Post: 07-15-2003, 04:30 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •