From: Andreas Schwab <schwab-Td1EMuHUCqxL1ZNQvxDV9g@public.gmane.org>
To: Thomas Schwinge <thomas-qD8j1LwMmJjtCj0u4l0SBw@public.gmane.org>
Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
Jakub Jelinek <jakub-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>,
gcc-/MQLu3FmUzdAfugRpC6u6w@public.gmane.org,
linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
gcc-patches-/MQLu3FmUzdAfugRpC6u6w@public.gmane.org,
libc-alpha-9JcytcrH/bA+uJoB2kUjGw@public.gmane.org
Subject: Re: abort might not flush all open streams before process termination
Date: Wed, 07 Oct 2015 12:18:45 +0200 [thread overview]
Message-ID: <mvma8rv6kxm.fsf@hawking.suse.de> (raw)
In-Reply-To: <871td7ouju.fsf-clhehnSHAb8h2wMQzzS6eAmar9SRMdY1rE5yTffgRl4@public.gmane.org> (Thomas Schwinge's message of "Wed, 7 Oct 2015 12:13:41 +0200")
Thomas Schwinge <thomas-qD8j1LwMmJjtCj0u4l0SBw@public.gmane.org> writes:
> On Tue, 06 Oct 2015 13:55:00 +0200, Andreas Schwab <schwab-Td1EMuHUCqxL1ZNQvxDV9g@public.gmane.org> wrote:
>> Thomas Schwinge <thomas-qD8j1LwMmJjtCj0u4l0SBw@public.gmane.org> writes:
>>
>> > | The two regressed test cases use __builtin_printf instead of fprintf to
>> > | stderr, but as far as I know, abort is to flush all open streams before
>> > | process termination?
>>
>> It can't, since abort must be async-signal-safe.
>
> It's still surprising to me that the message written to stderr is lost in
> your aarch64-suse-linux-gnu configuration (only): from a quick look,
> (current) glibc's stdlib/abort.c tries to actually close/flush all open
> streams before process termination.
This is <https://sourceware.org/bugzilla/show_bug.cgi?id=15436>.
Andreas.
--
Andreas Schwab, schwab-Td1EMuHUCqxL1ZNQvxDV9g@public.gmane.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2015-10-07 10:18 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <560e717f.+EOSyvrXa02mQ6Bg%schwab@linux-m68k.org>
[not found] ` <87twq4p9f4.fsf@kepler.schwinge.homeip.net>
[not found] ` <mvmlhbg8e0g.fsf@hawking.suse.de>
[not found] ` <87oagcp6kc.fsf@kepler.schwinge.homeip.net>
[not found] ` <mvm612k8b57.fsf@hawking.suse.de>
2015-10-07 10:13 ` abort might not flush all open streams before process termination (was: aarch64-suse-linux-gnu: libgomp.oacc-c-c++-common/abort-1.c, libgomp.oacc-c-c++-common/abort-3.c FAILs) Thomas Schwinge
[not found] ` <871td7ouju.fsf-clhehnSHAb8h2wMQzzS6eAmar9SRMdY1rE5yTffgRl4@public.gmane.org>
2015-10-07 10:18 ` Andreas Schwab [this message]
2015-10-26 16:28 ` Thomas Schwinge
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=mvma8rv6kxm.fsf@hawking.suse.de \
--to=schwab-td1emuhucqxl1znqvxdv9g@public.gmane.org \
--cc=gcc-/MQLu3FmUzdAfugRpC6u6w@public.gmane.org \
--cc=gcc-patches-/MQLu3FmUzdAfugRpC6u6w@public.gmane.org \
--cc=jakub-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
--cc=libc-alpha-9JcytcrH/bA+uJoB2kUjGw@public.gmane.org \
--cc=linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=thomas-qD8j1LwMmJjtCj0u4l0SBw@public.gmane.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 NNTP newsgroup(s).