This is the mail archive of the libc-alpha@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]

Re: math build regression


From: Richard Henderson <rth@twiddle.net>
Date: Fri, 09 Mar 2012 13:59:27 -0800

> On 03/09/12 13:27, Roland McGrath wrote:
>>> My interpretation is that Richard's changes make it such that every
>>> arch must now supply a math_private.h file.
>>>
>>> No such requirement existed previously, and sparc has never had one.
>> 
>> I think that just means we need an include/math_private.h that
>> #include's <math/math_private.h>.
> 
> Hmm.  I thought -I. (i.e. the math subdir) was at the end of the search list.
> Oh, I see, Dave's error is from the iconv subdir.  Yeah, something under
> the toplevel include seems like the best solution.

I just committed the following:

--------------------
[PATCH] Fix sparc build after recent math changes.

	* include/math_private.h: New file.
---
 ChangeLog              |    4 ++++
 include/math_private.h |    1 +
 2 files changed, 5 insertions(+), 0 deletions(-)
 create mode 100644 include/math_private.h

diff --git a/ChangeLog b/ChangeLog
index 1fed786..4cdf4f5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2012-03-09  David S. Miller  <davem@davemloft.net>
+
+	* include/math_private.h: New file.
+
 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
 
 	* sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
diff --git a/include/math_private.h b/include/math_private.h
new file mode 100644
index 0000000..cb71baf
--- /dev/null
+++ b/include/math_private.h
@@ -0,0 +1 @@
+#include <math/math_private.h>
-- 
1.7.6.401.g6a319


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