[PATCH 0/2] More x86 build fixes

Adhemerval Zanella adhemerval.zanella@linaro.org
Tue Aug 8 12:27:53 GMT 2023


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



More information about the Libc-alpha mailing list