From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1791) id 9938D385801A; Wed, 10 Nov 2021 02:24:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9938D385801A Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Adhemerval Zanella To: glibc-cvs@sourceware.org Subject: [glibc] Fix build a chec failures after b05fae4d8e34 X-Act-Checkin: glibc X-Git-Author: Adhemerval Zanella X-Git-Refname: refs/heads/master X-Git-Oldrev: b05fae4d8e34604a72ee36d2d3164391b76fcf0b X-Git-Newrev: 824dd3ec4922fbb9a34c62f4829e7817cc60e29a Message-Id: <20211110022406.9938D385801A@sourceware.org> Date: Wed, 10 Nov 2021 02:24:06 +0000 (GMT) X-BeenThere: glibc-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2021 02:24:06 -0000 https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=824dd3ec4922fbb9a34c62f4829e7817cc60e29a commit 824dd3ec4922fbb9a34c62f4829e7817cc60e29a Author: Adhemerval Zanella Date: Tue Nov 9 22:55:13 2021 -0300 Fix build a chec failures after b05fae4d8e34 The include cleanup on dl-minimal.c removed too much for some targets. Also for Hurd, __sbrk is removed from localplt.data now that tunables allocated memory through mmap. Checked with a build for all affected architectures. Diff: --- elf/dl-minimal.c | 2 ++ sysdeps/mach/hurd/i386/localplt.data | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/elf/dl-minimal.c b/elf/dl-minimal.c index 152192d451..04ac1557e8 100644 --- a/elf/dl-minimal.c +++ b/elf/dl-minimal.c @@ -23,6 +23,8 @@ #include #include <_itoa.h> #include +#include +#include /* The rtld startup code calls __rtld_malloc_init_stubs after the diff --git a/sysdeps/mach/hurd/i386/localplt.data b/sysdeps/mach/hurd/i386/localplt.data index 47fbe1e2a7..fdff008abd 100644 --- a/sysdeps/mach/hurd/i386/localplt.data +++ b/sysdeps/mach/hurd/i386/localplt.data @@ -35,7 +35,6 @@ ld.so: __access ld.so: __access_noerrno ld.so: __getpid ld.so: __getcwd -ld.so: __sbrk ld.so: _exit ? ld.so: abort ld.so: _hurd_intr_rpc_mach_msg