This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch master updated. glibc-2.21-635-g3840aab


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  3840aabcd5b482b5e6cf5b204d1019ea0ddc9827 (commit)
      from  992f71ddd34b0caf8fb04bc99e4bab8cb7badf83 (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 -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=3840aabcd5b482b5e6cf5b204d1019ea0ddc9827

commit 3840aabcd5b482b5e6cf5b204d1019ea0ddc9827
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Wed Jul 22 23:11:10 2015 -0400

    conform/linknamespace: whitelist matherrf/matherrl
    
    glibc supports the deprecated matherr hook for math error reporting.  The
    conform tests take this into consideration and whitelist this symbol when
    running linknamespace tests.
    
    The ia64 libm code has long provided two additional hooks in this space:
    	matherrf (for floats)
    	matherrl (for long doubles)
    
    Which causes the conform tests to fail with chains that all look like:
    	[initial] __atan2 ->
    	[libm.a(e_atan2.o)] __libm_error_support ->
    	[libm.a(libm_error.o)] matherrf
    
    We can't (losslessly) redirect existing usage of these funcs to matherr
    because the structure passed in is different -- matherr uses a struct with
    doubles while matherrf/matherrl use floats and long doubles respectively.
    Plus, this has been part of the exported ABI since glibc-2.2.3, so it
    doesn't feel right to change it so late.
    
    Until we get around to obsoleting matherr entirely, whitelist these two
    additional ia64 symbols.

diff --git a/ChangeLog b/ChangeLog
index 47afb89..488768f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
 
+	* conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
+
+2015-07-23  Mike Frysinger  <vapier@gentoo.org>
+
 	* sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
 	Swap __glibc_reserved0 and sa_flags order.
 
diff --git a/conform/linknamespace.pl b/conform/linknamespace.pl
index 847d2dd..15fa613 100644
--- a/conform/linknamespace.pl
+++ b/conform/linknamespace.pl
@@ -49,9 +49,11 @@ close (STDSYMS) || die ("close $stdsyms_file: $!\n");
 # * Bug 18442: re_syntax_options wrongly brought in by regcomp and
 # used by re_comp.
 #
-# * False positive: matherr only used conditionally.
+# * False positive: matherr only used conditionally.  matherrf/matherrl are used
+# by IA64 too for the same reason.
 #
-@whitelist = qw(signgam stdin stdout stderr re_syntax_options matherr);
+@whitelist = qw(signgam stdin stdout stderr re_syntax_options matherr matherrf
+		matherrl);
 foreach my $sym (@whitelist) {
   $stdsyms{$sym} = 1;
 }

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                |    4 ++++
 conform/linknamespace.pl |    6 ++++--
 2 files changed, 8 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]