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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1294588

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to