public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/2] More x86 build fixes
@ 2023-08-08 12:27 Adhemerval Zanella
  2023-08-08 12:27 ` [PATCH 1/2] x86_64: Fix build with --disable-multiarch (BZ 30721) Adhemerval Zanella
  2023-08-08 12:27 ` [PATCH 2/2] i686: Fix build with --disable-multiarch Adhemerval Zanella
  0 siblings, 2 replies; 6+ messages in thread
From: Adhemerval Zanella @ 2023-08-08 12:27 UTC (permalink / raw)
  To: libc-alpha, Andreas K . Huettel

The BZ#30721 [1] shows an issue with --disable-multiarch
and --enable-fortify-source, where some x86 optimized routines do not
properly add internal foritfy wrapper hidden definitions.

I also checked some more options: default and --disable-multi-arch
plus default, --disable-default-pie, --enable-fortify-source={2,3},
and --enable-fortify-source={2,3} with --disable-default-pie.

And I also tested with different architectures that also have multiarch
implementation: armv7a, aarch64, i686, s390x, powerpc (power4),
powerpc64le, and sparc64.  The i686 also shows build failures for some
configurations.

Adhemerval Zanella (2):
  x86_64: Fix build with --disable-multiarch (BZ 30721)
  i686: Fix build with --disable-multiarch

 sysdeps/i386/i686/memcpy.S                | 2 +-
 sysdeps/i386/i686/mempcpy.S               | 2 +-
 sysdeps/i386/i686/multiarch/memcpy_chk.c  | 2 ++
 sysdeps/i386/i686/multiarch/memmove_chk.c | 2 ++
 sysdeps/i386/i686/multiarch/mempcpy_chk.c | 2 ++
 sysdeps/i386/i686/multiarch/memset_chk.c  | 2 ++
 sysdeps/x86_64/memcpy.S                   | 2 +-
 sysdeps/x86_64/memmove.S                  | 3 +++
 sysdeps/x86_64/memset.S                   | 1 +
 9 files changed, 15 insertions(+), 3 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2023-08-08 21:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-08 12:27 [PATCH 0/2] More x86 build fixes Adhemerval Zanella
2023-08-08 12:27 ` [PATCH 1/2] x86_64: Fix build with --disable-multiarch (BZ 30721) Adhemerval Zanella
2023-08-08 16:00   ` Andreas K. Huettel
2023-08-08 21:16   ` Siddhesh Poyarekar
2023-08-08 12:27 ` [PATCH 2/2] i686: Fix build with --disable-multiarch Adhemerval Zanella
2023-08-08 21:59   ` Siddhesh Poyarekar

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).