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: [2.23 PATCH] Desupport regexp.h (bug 18681)


On Mon, Aug 17, 2015 at 11:08 AM, Zack Weinberg <zackw@panix.com> wrote:
> Just now I did this again and also ran `git clean -dxf` in the source
> tree (which deleted only editor backups) and -- this is a little weird
> -- it compiles without complaint, but the VERSION_libc_GLIBC_2_xx
> #defines in abi-versions.h only go up to 2_22.

I take that back.  I *am* getting the same warning as Stefan, it just
didn't cause a build failure and scrolled off the top of my terminal.
The misc/Versions change suggested by Mike does cure the problem, so
here is a properly formatted patch.

zw
	* misc/Versions: Add empty GLIBC_2.23 stanza, to prevent
	undefined macro warnings in regexp.c.

---
 misc/Versions | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/misc/Versions b/misc/Versions
index 534d1a3..671f487 100644
--- a/misc/Versions
+++ b/misc/Versions
@@ -149,6 +149,9 @@ libc {
   GLIBC_2.16 {
     __getauxval; getauxval;
   }
+  GLIBC_2.23 {
+    # SHLIB_COMPAT(GLIBC_2_0, GLIBC_2_23) used in regexp.c
+  }
   GLIBC_PRIVATE {
     __madvise;
     __mktemp;
-- 
2.5.0


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