[Bug 1294588] [NEW] glibc: some long double math routines for PPC64 are wrong: patches

Tony Reix tony.reix at bull.net
Wed Mar 19 10:34:21 UTC 2014


Public bug reported:

Within glibc (2.19 on Ubuntu, but also on 2.17), some "long double"
routines for PPC64 are wrong: both .c and .S files exist, and .S files
are taken first though they are old and wrong. The bugs appear for some
cases (for ceill(), second double is wrong). The fix is easy: remove the
wrong .S files so that the correct .c files are used for building
libm.so  (/lib/powerpc64le-linux-gnu/libm-2.19.so).

The impacted routines are: ceill, roundl, etc.
The patches have already been integrated into glibc at sourceware.org :

Assuming GLIBC 2.19, you need these patches:
https://sourceware.org/git/?p=glibc.git;a=commit;h=374f7f61214967bb4e2257695aeeeecc2a77f369
https://sourceware.org/git/?p=glibc.git;a=commit;h=98fb27a373f37554232e0060eef1a5bb00a07eb0
https://sourceware.org/git/?p=glibc.git;a=commit;h=c7de50250367167d8c9f35594b264f6a0af8dd0c

Regards,

Tony

** Affects: pcre3 (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  glibc: some long double math routines for PPC64 are wrong: patches

Status in “pcre3” package in Ubuntu:
  New

Bug description:
  Within glibc (2.19 on Ubuntu, but also on 2.17), some "long double"
  routines for PPC64 are wrong: both .c and .S files exist, and .S files
  are taken first though they are old and wrong. The bugs appear for
  some cases (for ceill(), second double is wrong). The fix is easy:
  remove the wrong .S files so that the correct .c files are used for
  building libm.so  (/lib/powerpc64le-linux-gnu/libm-2.19.so).

  The impacted routines are: ceill, roundl, etc.
  The patches have already been integrated into glibc at sourceware.org :

  Assuming GLIBC 2.19, you need these patches:
  https://sourceware.org/git/?p=glibc.git;a=commit;h=374f7f61214967bb4e2257695aeeeecc2a77f369
  https://sourceware.org/git/?p=glibc.git;a=commit;h=98fb27a373f37554232e0060eef1a5bb00a07eb0
  https://sourceware.org/git/?p=glibc.git;a=commit;h=c7de50250367167d8c9f35594b264f6a0af8dd0c

  Regards,

  Tony

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



More information about the foundations-bugs mailing list