public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Carlos Seo <carlos.seo@linaro.org>
To: Szabolcs Nagy <szabolcs.nagy@arm.com>
Cc: GLIBC <libc-alpha@sourceware.org>
Subject: Re: [RFC] Fix static-only build of glibc [BZ #20845]
Date: Mon, 15 Mar 2021 12:24:30 -0300	[thread overview]
Message-ID: <528FC356-5DF7-4D8D-B33E-C1EC843D5B2D@linaro.org> (raw)
In-Reply-To: <20210315142258.GB4427@arm.com>



> On 15 Mar 2021, at 11:22, Szabolcs Nagy <szabolcs.nagy@arm.com> wrote:
> 
> The 03/09/2021 17:59, Carlos Eduardo Seo via Libc-alpha wrote:
>> The following patch fixes the build when configuring with '--disable-shared'.
> ...
>> diff --git a/sysdeps/unix/sysv/linux/aarch64/Makefile b/sysdeps/unix/sysv/linux/aarch64/Makefile
>> index 3f22f71bef..41b284df17 100644
>> --- a/sysdeps/unix/sysv/linux/aarch64/Makefile
>> +++ b/sysdeps/unix/sysv/linux/aarch64/Makefile
>> @@ -1,9 +1,7 @@
>> ifeq ($(subdir),elf)
>> -ifeq ($(build-shared),yes)
>> # This is needed for DSO loading from static binaries.
>> sysdep-dl-routines += dl-static
>> endif
>> -endif
>> 
>> ifeq ($(subdir),misc)
>> sysdep_headers += sys/elf.h
> 
> this one is ok to fix separately:
> 
> dl-static.o defines _dl_static_init which is used for static linking.
> 
> (i think the same problem in other targets can be fixed together,
> this is a fairly obvious change.)

OK, I'll send a patch for this separately later today.

      reply	other threads:[~2021-03-15 15:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-09 20:59 Carlos Eduardo Seo
2021-03-09 21:33 ` Joseph Myers
2021-03-15 13:42 ` Florian Weimer
2021-03-15 15:25   ` Carlos Seo
2021-03-15 14:22 ` Szabolcs Nagy
2021-03-15 15:24   ` Carlos Seo [this message]

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=528FC356-5DF7-4D8D-B33E-C1EC843D5B2D@linaro.org \
    --to=carlos.seo@linaro.org \
    --cc=libc-alpha@sourceware.org \
    --cc=szabolcs.nagy@arm.com \
    /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).