public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/2] _ISOMAC testsuite round N
@ 2017-03-22 12:55 Zack Weinberg
  2017-03-22 12:55 ` [PATCH 1/2] Remove _IO_MTSAFE_IO from public headers Zack Weinberg
                   ` (2 more replies)
  0 siblings, 3 replies; 17+ messages in thread
From: Zack Weinberg @ 2017-03-22 12:55 UTC (permalink / raw)
  To: libc-alpha

The main change from the previous iteration of this patch, is that I
have (hopefully) made there be no visible difference in libio.h for
external users.  It defines all the same _IO_ thingies that it always
has, with the same definitions.  Patch #1 still needs a very careful
going-over by people who remember what the original goals of libio
were and know what external users there might still be, though.

Also, the Makefile adjustments in patch #2 have been updated for
Thorsten's work on deprecating SunRPC.

zw

Zack Weinberg (2):
  Remove _IO_MTSAFE_IO from public headers.
  Suppress internal declarations for most of the testsuite.

 Makeconfig                                     |  3 +-
 Makefile                                       |  4 +-
 Makerules                                      | 55 ++++++++++----
 Rules                                          | 18 ++---
 benchtests/strcoll-inputs/filelist#en_US.UTF-8 |  1 -
 config.h.in                                    | 11 ---
 elf/Makefile                                   | 58 ++++++++-------
 elf/tst-env-setuid-tunables.c                  |  6 ++
 extra-modules.mk                               |  9 ---
 include/errno.h                                |  2 +-
 include/libc-symbols.h                         | 62 +++++++++++-----
 include/libio.h                                | 25 ++++---
 include/math.h                                 |  5 ++
 include/stdio.h                                |  7 +-
 include/stdlib.h                               |  4 --
 include/string.h                               | 10 +--
 include/time.h                                 |  4 --
 include/unistd.h                               |  3 -
 include/wchar.h                                |  2 -
 inet/Makefile                                  |  7 +-
 inet/tst-checks-posix.c                        |  1 -
 intl/tst-gettext2.c                            |  2 +
 libio/libio.h                                  | 31 ++++----
 malloc/Makefile                                |  6 +-
 math/test-signgam-finite-c99.c                 |  1 -
 math/test-signgam-main.c                       |  1 -
 misc/Makefile                                  |  5 +-
 misc/sys/cdefs.h                               |  3 +
 nptl/Makefile                                  | 31 ++++----
 nss/Makefile                                   |  4 +-
 posix/Makefile                                 | 11 +--
 stdlib/Makefile                                | 17 +++--
 stdlib/tst-strtod.c                            | 64 +----------------
 stdlib/tst-strtod1i.c                          | 83 +++++++++++++++++++++
 stdlib/tst-strtod5.c                           | 74 +++++++++----------
 stdlib/tst-strtod5i.c                          | 99 ++++++++++++++++++++++++++
 string/test-string.h                           | 12 ++++
 string/test-strstr.c                           |  1 +
 sunrpc/Makefile                                |  3 +-
 sysdeps/generic/stdio-lock.h                   |  1 +
 sysdeps/ia64/fpu/libm-symbols.h                |  2 +-
 sysdeps/m68k/m680x0/fpu/bits/mathinline.h      | 15 ++--
 sysdeps/nptl/stdio-lock.h                      |  1 +
 sysdeps/powerpc/Makefile                       |  2 +-
 sysdeps/unix/sysv/linux/Makefile               |  3 +-
 sysdeps/x86_64/fpu/Makefile                    |  8 +++
 sysdeps/x86_64/fpu/math-tests-arch.h           |  8 +--
 sysdeps/x86_64/multiarch/test-multiarch.c      |  2 +-
 48 files changed, 496 insertions(+), 291 deletions(-)
 delete mode 100644 extra-modules.mk
 create mode 100644 stdlib/tst-strtod1i.c
 create mode 100644 stdlib/tst-strtod5i.c

-- 
2.11.0

^ permalink raw reply	[flat|nested] 17+ messages in thread
* [PATCH 0/2] Revised _ISOMAC testsuite patches
@ 2017-03-08 16:30 Zack Weinberg
  2017-03-08 16:35 ` [PATCH 2/2] Suppress internal declarations for most of the testsuite Zack Weinberg
  0 siblings, 1 reply; 17+ messages in thread
From: Zack Weinberg @ 2017-03-08 16:30 UTC (permalink / raw)
  To: GNU C Library

[-- Attachment #1: Type: text/plain, Size: 1138 bytes --]

Here are a revised pair of patches to run most of the testsuite in
_ISOMAC mode.

The first one eliminates _IO_MTSAFE_IO from the public headers; this
wants to be reviewed independently due to the potential consequences for
very old code that actually uses <libio.h>, e.g. GCC 2.95 was mentioned
in an earlier thread.

The second patch is the meat of the change.  I have done as much prep
work as I think is safe in already-committed patches; I don't think it
makes sense to try to break it up any further.  I can't guarantee I have
addressed all of the reviewers' comments on the previous iteration,
please read carefully.

What I *have* done is compare stripped installation trees before and
after each patch.  The attached tarball contains two files of
`diffoscope --html` output.  "install-01.html" compares before and after
the _IO_MTSAFE_IO change, "install-12.html" compares before and after
the _ISOMAC-testsuite change.  I'm pleased to report that in both cases,
there are no changes other than the expected change to the headers and a
build timestamp change in nscd.  (Note: diffoscope was patched to ignore
mtime changes.)

zw

[-- Attachment #2: installed-stripped-libs-comparison.tar.gz --]
[-- Type: application/gzip, Size: 16408 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2017-05-09 11:25 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-22 12:55 [PATCH 0/2] _ISOMAC testsuite round N Zack Weinberg
2017-03-22 12:55 ` [PATCH 1/2] Remove _IO_MTSAFE_IO from public headers Zack Weinberg
2017-04-06 20:29   ` Adhemerval Zanella
2017-04-06 20:41     ` Zack Weinberg
2017-04-06 21:30       ` Adhemerval Zanella
2017-04-06 22:06         ` Florian Weimer
2017-04-07 14:46           ` Adhemerval Zanella
2017-03-22 12:55 ` [PATCH 2/2] Suppress internal declarations for most of the testsuite Zack Weinberg
2017-05-08 14:02   ` Andreas Schwab
2017-05-08 20:02     ` Zack Weinberg
2017-05-09  7:57       ` Andreas Schwab
2017-05-09 11:25         ` Zack Weinberg
2017-04-06 16:12 ` [PATCH 0/2] _ISOMAC testsuite round N Zack Weinberg
2017-04-17 14:31   ` Zack Weinberg
2017-05-01 11:24     ` Zack Weinberg
2017-05-08 13:23       ` Zack Weinberg
  -- strict thread matches above, loose matches on Subject: below --
2017-03-08 16:30 [PATCH 0/2] Revised _ISOMAC testsuite patches Zack Weinberg
2017-03-08 16:35 ` [PATCH 2/2] Suppress internal declarations for most of the testsuite Zack Weinberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).