This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/20768] [alpha] sqrt fegetenv namespace
- From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Fri, 04 Nov 2016 17:20:08 +0000
- Subject: [Bug math/20768] [alpha] sqrt fegetenv namespace
- Auto-submitted: auto-generated
- References: <bug-20768-131@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=20768
--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via 860aacdad2d52af48bc549650726b29510feaba6 (commit)
from 799131036e53c0536d0ce796e705f8dc295eeba2 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=860aacdad2d52af48bc549650726b29510feaba6
commit 860aacdad2d52af48bc549650726b29510feaba6
Author: Joseph Myers <joseph@codesourcery.com>
Date: Fri Nov 4 17:19:13 2016 +0000
Fix alpha sqrt fegetenv namespace (bug 20768).
On alpha, sqrt (a C90 function) brings in references to fegetenv
(C99), resulting in linknamespace test failures:
[initial] __sqrt -> [libm.a(w_sqrt.o)] __ieee754_sqrt ->
[libm.a(e_sqrt.o)] __feholdexcept -> [libm.a(feholdexcpt.o)] fegetenv
This patch fixes this by making __feholdexcept call __fegetenv instead
of fegetenv.
Tested for Alpha (compilation only).
[BZ #20768]
* sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
__fegetenv instead of fegetenv.
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 4 ++++
sysdeps/alpha/fpu/feholdexcpt.c | 2 +-
2 files changed, 5 insertions(+), 1 deletions(-)
--
You are receiving this mail because:
You are on the CC list for the bug.