public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Adhemerval Zanella <azanella@sourceware.org>
To: glibc-cvs@sourceware.org
Subject: [glibc] Fix build a chec failures after b05fae4d8e34
Date: Wed, 10 Nov 2021 02:24:06 +0000 (GMT)	[thread overview]
Message-ID: <20211110022406.9938D385801A@sourceware.org> (raw)

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=824dd3ec4922fbb9a34c62f4829e7817cc60e29a

commit 824dd3ec4922fbb9a34c62f4829e7817cc60e29a
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
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 <dl-sym-post.h>
 #include <_itoa.h>
 #include <dl-minimal-malloc.h>
+#include <stdio.h>
+#include <unistd.h>
 
 
 /* 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


                 reply	other threads:[~2021-11-10  2:24 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211110022406.9938D385801A@sourceware.org \
    --to=azanella@sourceware.org \
    --cc=glibc-cvs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).