]> git.ipfire.org Git - thirdparty/glibc.git/commit
Linux: Include <dl-auxv.h> in dl-sysdep.c only for SHARED
authorFlorian Weimer <fweimer@redhat.com>
Fri, 11 Feb 2022 18:03:04 +0000 (19:03 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Tue, 17 May 2022 06:08:52 +0000 (08:08 +0200)
commit76304dfdaf0b979fdb2797787ec75e46aea0e8b4
treee7798292412f9fb931807b030c430e422ffdc620
parent788eb21ff0deb0ef7cb203de5e4df7898ca1d82c
Linux: Include <dl-auxv.h> in dl-sysdep.c only for SHARED

Otherwise, <dl-auxv.h> on POWER ends up being included twice,
once in dl-sysdep.c, once in dl-support.c.  That leads to a linker
failure due to multiple definitions of _dl_cache_line_size.

Fixes commit d96d2995c1121d3310102afda2deb1f35761b5e6
("Revert "Linux: Consolidate auxiliary vector parsing").

(cherry picked from commit 098c795e85fbd05c5ef59c2d0ce59529331bea27)
sysdeps/unix/sysv/linux/dl-sysdep.c