From: "H.J. Lu" <hjl.tools@gmail.com>
To: Florian Weimer <fweimer@redhat.com>,
Libc-stable Mailing List <libc-stable@sourceware.org>
Cc: libc-alpha@sourceware.org
Subject: Re: [PATCH v3] elf: Also compile dl-misc.os with $(rtld-early-cflags)
Date: Thu, 25 Apr 2024 08:11:52 -0700 [thread overview]
Message-ID: <CAMe9rOqnfZDge+w+qEfa6W9H0aePGOgF0me9GgcJGoGb9c=hgQ@mail.gmail.com> (raw)
In-Reply-To: <87sez94h04.fsf@oldenburg.str.redhat.com>
On Thu, Apr 25, 2024 at 8:08 AM Florian Weimer <fweimer@redhat.com> wrote:
>
> * H. J. Lu:
>
> > Also compile dl-misc.os with $(rtld-early-cflags) to avoid
> >
> > Program received signal SIGILL, Illegal instruction.
> > 0x00007ffff7fd36ea in _dl_strtoul (nptr=nptr@entry=0x7fffffffe2c9 "2",
> > endptr=endptr@entry=0x7fffffffd728) at dl-misc.c:156
> > 156 bool positive = true;
> > (gdb) bt
> > #0 0x00007ffff7fd36ea in _dl_strtoul (nptr=nptr@entry=0x7fffffffe2c9 "2",
> > endptr=endptr@entry=0x7fffffffd728) at dl-misc.c:156
> > #1 0x00007ffff7fdb1a9 in tunable_initialize (
> > cur=cur@entry=0x7ffff7ffbc00 <tunable_list+2176>,
> > strval=strval@entry=0x7fffffffe2c9 "2", len=len@entry=1)
> > at dl-tunables.c:131
> > #2 0x00007ffff7fdb3a2 in parse_tunables (valstring=<optimized out>)
> > at dl-tunables.c:258
> > #3 0x00007ffff7fdb5d9 in __GI___tunables_init (envp=0x7fffffffdd58)
> > at dl-tunables.c:288
> > #4 0x00007ffff7fe44c3 in _dl_sysdep_start (
> > start_argptr=start_argptr@entry=0x7fffffffdcb0,
> > dl_main=dl_main@entry=0x7ffff7fe5f80 <dl_main>)
> > at ../sysdeps/unix/sysv/linux/dl-sysdep.c:110
> > #5 0x00007ffff7fe5cae in _dl_start_final (arg=0x7fffffffdcb0) at rtld.c:494
> > #6 _dl_start (arg=0x7fffffffdcb0) at rtld.c:581
> > #7 0x00007ffff7fe4b38 in _start ()
> > (gdb)
> >
> > when setting GLIBC_TUNABLES in glibc compiled with APX.
>
> Looks good.
>
> Reviewed-by: Florian Weimer <fweimer@redhat.com>
>
> Thanks,
> Florian
>
I'd like to backport it to release branches.
--
H.J.
parent reply other threads:[~2024-04-25 15:12 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <87sez94h04.fsf@oldenburg.str.redhat.com>]
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='CAMe9rOqnfZDge+w+qEfa6W9H0aePGOgF0me9GgcJGoGb9c=hgQ@mail.gmail.com' \
--to=hjl.tools@gmail.com \
--cc=fweimer@redhat.com \
--cc=libc-alpha@sourceware.org \
--cc=libc-stable@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).