[PATCH 0/6] Fix -Os build

Adhemerval Zanella adhemerval.zanella@linaro.org
Wed Sep 21 13:51:02 GMT 2022


This patchset fix the glibc build including tests with -Os.  I checked
with GCC 12 for all supported ABI and run a full make check for x86_64
and i686 without any regressions.

Adhemerval Zanella (5):
  posix: Suppress -Os warnings on fnmatch
  posix: Suppress -Os may be used uninitialized warnings on regexec
  rt: Initialize mq_send input on tst-mqueue{5,6}
  sunrpc: Suppress GCC -Os warning on user2netname
  x86: Fix -Os build (BZ #29576)

Martin Jansa (1):
  locale: prevent maybe-uninitialized errors with -Os [BZ #19444]

 locale/weight.h                        |  7 ++++++
 posix/fnmatch_loop.c                   | 31 ++++++++++++++++++++++++++
 posix/regexec.c                        |  6 +++++
 rt/tst-mqueue5.c                       |  2 +-
 rt/tst-mqueue6.c                       |  2 +-
 sunrpc/netname.c                       |  6 +++++
 sysdeps/x86_64/multiarch/rtld-strcpy.S | 18 +++++++++++++++
 7 files changed, 70 insertions(+), 2 deletions(-)
 create mode 100644 sysdeps/x86_64/multiarch/rtld-strcpy.S

-- 
2.34.1



More information about the Libc-alpha mailing list