public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Florian Weimer <fweimer@redhat.com>
To: Carlos O'Donell <carlos@redhat.com>
Cc: Carlos O'Donell via Libc-alpha <libc-alpha@sourceware.org>,
	 "Daniel Walker (danielwa)" <danielwa@cisco.com>,
	 Pedro Alves <palves@redhat.com>,
	"Jeremy Stenglein (jstengle)" <jstengle@cisco.com>,
	"xe-linux-external(mailer list)" <xe-linux-external@cisco.com>
Subject: Re: [RFC PATCH 0/3] implement dlmopen hooks for gdb
Date: Tue, 22 Sep 2020 20:44:37 +0200	[thread overview]
Message-ID: <87r1qttzvu.fsf@oldenburg2.str.redhat.com> (raw)
In-Reply-To: <4b05c127-573a-2e9b-1147-18f827bfd07c@redhat.com> (Carlos O'Donell's message of "Tue, 22 Sep 2020 14:41:17 -0400")

* Carlos O'Donell:

> On 9/22/20 2:04 PM, Florian Weimer wrote:
>> * Carlos O'Donell:
>> 
>>>> No, unlike GLIBC_PRIVATE, you can assume that if a GLIBC_DEBUG symbol is
>>>> there (and perhaps has the documented size), it has the documented
>>>> semantics.  But you can't assume that it is present.
>>>>
>>>> The semantics of GLIBC_PRIVATE symbols can change arbitrarily, even
>>>> between builds.
>>>
>>> Yes, absolutely, I agree completely, for it to be useful the semantics
>>> have to be:
>>>
>>> - If you detect a given symbol foo@GLIBC_DEBUG, then the feature is
>>>   present and has the semantics you expect.
>>>
>>> - If you want new semantics then you need to make a foo2@GLIBC_DEBUG
>>>   with the new semantics.
>>>
>>> What are the runtime semantics of the symbol? How do you access it?
>> 
>> That obviously depends on the symbol?  Sorry, I don't quite understand
>> these questions.
>
> You noted "not intended to be used for run-time linking?"
>
> Could you expand on what you're thinking there?

If there are no versioned dependencies on the symbol at the ELF level,
then the issues that require some distributions to backport whole symbol
sets do not apply.  The exact contents of the GLIBC_DEBUG symbol set
does not matter than.

Thanks,
Florian
-- 
Red Hat GmbH, https://de.redhat.com/ , Registered seat: Grasbrunn,
Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Charles Cachera, Brian Klemm, Laurie Krebs, Michael O'Neill


  reply	other threads:[~2020-09-22 18:44 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-26 19:32 Daniel Walker
2020-06-26 21:17 ` Carlos O'Donell
2020-07-23 18:40   ` Daniel Walker (danielwa)
2020-07-23 21:20     ` Carlos O'Donell
2020-09-16 16:18       ` Daniel Walker (danielwa)
2020-09-17 12:52         ` Carlos O'Donell
2020-09-17 12:59           ` Florian Weimer
2020-09-17 13:53             ` Carlos O'Donell
2020-09-18 15:35               ` Daniel Walker (danielwa)
2020-09-18 15:40                 ` Florian Weimer
2020-09-21 20:02                   ` Daniel Walker (danielwa)
2021-07-28 18:33                   ` Daniel Walker
2021-07-28 18:48                     ` H.J. Lu
2020-09-17 13:52           ` Carlos O'Donell
2020-09-22 17:06       ` Florian Weimer
2020-09-22 17:28         ` Carlos O'Donell
2020-09-22 17:37           ` Florian Weimer
2020-09-22 17:59             ` Carlos O'Donell
2020-09-22 18:04               ` Florian Weimer
2020-09-22 18:41                 ` Carlos O'Donell
2020-09-22 18:44                   ` Florian Weimer [this message]
2020-09-22 18:46                     ` Carlos O'Donell
2020-09-22 18:17               ` Andreas Schwab
2020-09-22 19:13                 ` Carlos O'Donell
2020-06-26 21:30 ` Florian Weimer
2020-06-27  1:10   ` Daniel Walker (danielwa)
2020-07-02 13:54     ` Conan Huang (conhuang)

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=87r1qttzvu.fsf@oldenburg2.str.redhat.com \
    --to=fweimer@redhat.com \
    --cc=carlos@redhat.com \
    --cc=danielwa@cisco.com \
    --cc=jstengle@cisco.com \
    --cc=libc-alpha@sourceware.org \
    --cc=palves@redhat.com \
    --cc=xe-linux-external@cisco.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).