[Bug 1414819] Re: Enable glibc to take advantage of HTM on Ubuntu 15.04

Launchpad Bug Tracker 1414819 at bugs.launchpad.net
Sat Mar 21 21:51:07 UTC 2015


This bug was fixed in the package glibc - 2.21-0ubuntu2

---------------
glibc (2.21-0ubuntu2) vivid; urgency=medium

  * debian/patches/powerpc/cvs-ppc-sqrt.diff: Fix sqrt() on powerpc.
  * debian/patches/powerpc/cvs-ppc-sqrtf.diff: Likewise for sqrtf().
  * debian/patches/powerpc/cvs-ppc-pow.diff: Likewise for pow().
  * debian/patches/powerpc/cvs-ppc-feraiseexcept.diff: Fix inline
    feraiseexcept and feclearexcept macro input conversion on PPC.
  * debian/patches/any/submitted-longdouble.diff: Refresh for above.
  * debian/patches/any/local-disable-test-tgmath2.diff: Likewise.
  * debian/patches/any/cvs-logbl-accuracy.diff: Fix ldbl-128ibm logbl.
  * debian/patches/powerpc/local-math-logb.diff: Refresh and move to
    debian/patches/any/local-math-logb.diff, as it's not PPC-specific.
  * debian/patches/any/cvs-localplt-new-readelf.diff: Preemptively
    fix localplt test breakage with binutils 2.26 before it lands.
  * debian/patches/any/cvs-make-typo.diff: Fix typo in elf/Makefile.
  * debian/patches/powerpc/cvs-power7-strncpy.diff: Optimize strncpy
    for POWER7 drastically (10-70%) on strings longer than 16 chars.
  * debian/patches/powerpc/cvs-ppc-tabort-le.diff: Fix TABORT encoding
    when building on toolchains without HTM support (no-op on gcc-4.9)
  * debian/patches/arm/cvs-arm-sfi_breg.diff: Fix LDR_GLOBAL macro.
  * debian/patches/arm/cvs-memcpy-memmove-always-bx.diff: Fix memcpy
    and memmove for the ARM_ALWAYS_BX class of hardware like ArmadaXP.
 -- Adam Conrad <adconrad at ubuntu.com>   Fri, 20 Mar 2015 15:19:40 -0600

** Changed in: glibc (Ubuntu)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to glibc in Ubuntu.
https://bugs.launchpad.net/bugs/1414819

Title:
  Enable glibc to take advantage of HTM on Ubuntu 15.04

Status in glibc package in Ubuntu:
  Fix Released

Bug description:
  This Feature request is to track Ubuntu's glibc to take advatnage of
  Hardware Transactional memory on Ubuntu 15.04.

  Adhmerval is porting eglibc threads mechanism to use hardware
  transactional memory, and this is a feature we want to have on Ubuntu.

  Bugs:
  https://bugs.launchpad.net/tasty-taco/+bug/1328210 (HTM exploitation on GLIBC)

  Patches upstream:
  https://sourceware.org/ml/libc-alpha/2014-08/msg00409.html
  https://sourceware.org/ml/libc-alpha/2014-08/msg00410.html
  https://sourceware.org/ml/libc-alpha/2014-08/msg00411.html
  https://sourceware.org/ml/libc-alpha/2014-08/msg00412.html

  I updated the IBM 2.20 branch (used for AT8) with the lock elision
  patches [1], with the IDs:

  powerpc: Add the lock elision using HTM - 1d45200a803939be3316b7ddf442906d544e9d43
  powerpc: Add adaptive elision to rwlocks - 0f7cecb9cf4b370c3d72f67e048bb07e238cf110
  powerpc: abort transaction in syscalls - 1d19c9bc0dabb1d10c07cf4eec063f9da8406c2f

  It should apply cleanly on a 2.20 tree.  Also, to enable it you need
  to explicit configure the build with

  --enable-lock-elision=yes

  [1]
  https://sourceware.org/git/?p=glibc.git;a=shortlog;h=refs/heads/ibm/2.20/master

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1414819/+subscriptions



More information about the foundations-bugs mailing list