about summary refs log tree commit diff
path: root/sysdeps/s390/Makefile
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2023-02-17 17:23:50 +0000
committerJoseph Myers <joseph@codesourcery.com>2023-02-17 17:23:50 +0000
commit609054152fd77c9b572bb04c4af2f8da1ed0c86e (patch)
tree53e6a94f2fe067eb3ac910398df633aead80b4bc /sysdeps/s390/Makefile
parent26c176950909d60ac2a392cf9fce70eabd75f79e (diff)
downloadglibc-609054152fd77c9b572bb04c4af2f8da1ed0c86e.tar.gz
glibc-609054152fd77c9b572bb04c4af2f8da1ed0c86e.tar.xz
glibc-609054152fd77c9b572bb04c4af2f8da1ed0c86e.zip
Fix ifunc-impl-list.c build for s390
Builds for s390 recently started failing with:

../sysdeps/s390/multiarch/ifunc-impl-list.c: In function '__libc_ifunc_impl_list':
../sysdeps/s390/multiarch/ifunc-impl-list.c:83:21: error: unused variable 'dl_hwcap' [-Werror=unused-variable]
   83 |   unsigned long int dl_hwcap = features->hwcap;
      |                     ^~~~~~~~

https://sourceware.org/pipermail/libc-testresults/2023q1/010855.html

Add __attribute__ ((unused)) as already done for another variable
there.

Tested with build-many-glibcs.py (compilers and glibcs) for
s390x-linux-gnu and s390-linux-gnu.

Note: s390x-linux-gnu-O3 started failing with a different error
earlier; that problem may still need to be fixed after this fix is in.

https://sourceware.org/pipermail/libc-testresults/2023q1/010829.html
Diffstat (limited to 'sysdeps/s390/Makefile')
0 files changed, 0 insertions, 0 deletions