public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Florian Weimer <fweimer@redhat.com>
To: Joseph Myers <joseph@codesourcery.com>
Cc: Szabolcs Nagy <szabolcs.nagy@arm.com>,
	nd@arm.com, libc-alpha@sourceware.org
Subject: Re: Fix mcontext_t sigcontext namespace (bug 21457)
Date: Tue, 27 Jun 2017 18:41:00 -0000	[thread overview]
Message-ID: <69c095f4-da8e-81c4-88ce-16c47d4263b6@redhat.com> (raw)
In-Reply-To: <alpine.DEB.2.20.1706271555470.18823@digraph.polyomino.org.uk>

On 06/27/2017 05:56 PM, Joseph Myers wrote:
> On Tue, 27 Jun 2017, Florian Weimer wrote:
> 
>> On 06/27/2017 05:27 PM, Szabolcs Nagy wrote:
>>
>>>> For some previous patches in this series, changing stack_t and ucontext_t, 
>>>> Florian checked there were no affected mangled names in Fedora, as 
>>>> evidence for such problems being rare.  Such a check might be worthwhile 
>>>> here (remembering that what is being looked for is architecture-specific, 
>>>> but on x86_64 / x86 the mangled name is already mcontext_t and would not 
>>>> change because there aren't namespace issues there).
>>>>
>>>
>>> Florian, if you can check, then please do.
>>
>> What's the old mangled name I would have to look for?  sigcontext?
> 
> On x86_64 and x86, it's mcontext_t (and won't change).  On AArch64, it's 
> sigcontext.

Only one package is affected, the Dolphin emulator (we have version 5.0
in Fedora).  It uses SContext as typedef for mcontext_t.  All symbols
are definitions, and there are no references.  I assume they are all
accidental exports, so this program would not be affected by the
mangling change.

Singular (a “Computer Algebra System for polynomial computations”) uses
a sigcontext type as well, but again only in a definition.  But this
happens on i386 (where it even brings its own definition) and x86-64,
and mcontext_t is not used, so it's not related.

I don't know if the harmless mangling change within Dolphin should be
considered a blocker.  Probably not.  But in general, I agree with the
sentiment that POSIX conformance is usually not sufficient grounds for
ABI breakage (or deviation from kernel-defined data structure layouts).

Thanks,
Florian

      reply	other threads:[~2017-06-27 18:41 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-20 17:53 Joseph Myers
2017-06-26 11:12 ` Ping " Joseph Myers
2017-06-26 21:06 ` Zack Weinberg
2017-06-26 22:26   ` Joseph Myers
2017-06-29 19:51     ` Joseph Myers
2017-06-30 15:59       ` Szabolcs Nagy
2017-07-21 20:36       ` Chris Metcalf
2017-06-27 11:41   ` Joseph Myers
2017-06-27 13:11     ` Carlos O'Donell
2017-06-27 13:32       ` Joseph Myers
2017-06-27 14:43 ` Szabolcs Nagy
2017-06-27 15:11   ` Joseph Myers
2017-06-27 15:28     ` Szabolcs Nagy
2017-06-27 15:53       ` Florian Weimer
2017-06-27 15:56         ` Joseph Myers
2017-06-27 18:41           ` Florian Weimer [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=69c095f4-da8e-81c4-88ce-16c47d4263b6@redhat.com \
    --to=fweimer@redhat.com \
    --cc=joseph@codesourcery.com \
    --cc=libc-alpha@sourceware.org \
    --cc=nd@arm.com \
    --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).