public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Florian Weimer <fweimer@redhat.com>
To: "Gabriel F. T. Gomes" <gabrielftg@linux.ibm.com>
Cc: GNU C Library <libc-alpha@sourceware.org>
Subject: Re: Legacy _IO_* symbols and Flaot128 transition
Date: Fri, 29 Jun 2018 15:29:00 -0000	[thread overview]
Message-ID: <1d310ac2-64f8-21d7-3bc5-2ddfa871f348@redhat.com> (raw)
In-Reply-To: <20180629122600.1062b3bc@tereshkova>

On 06/29/2018 05:26 PM, Gabriel F. T. Gomes wrote:
> On Fri, 29 Jun 2018, Florian Weimer wrote:
> 
>> libio exports a bunch of symbols for historic reasons:
>>
>> _IO_fprintf
>> _IO_printf
>> _IO_sprintf
>> _IO_sscanf
>> _IO_vfprintf
>> _IO_vfscanf
>> _IO_vsprintf
>>
>> These aren't compat symbols yet, but will not be in installed headers
>> for glibc 2.28.  Zack's cleanup patches only turns _IO_vfscanf into a
>> compat symbol (in “Add __vfscanf_internal and __vfwscanf_internal with
>> flags arguments.”).
>>
>> I think we should turn all of them into compat symbols and drop their
>> compatibility wrappers from nldbl_nonshared.a, and avoid adding
>> binary128 compatibility wrappers for them.
> 
> Should they be turned into compat symbols *because* they won't be
> installed headers (and we don't want new user code linking against them)?
> Or is there something else to it?

No, it's just a cleanup, and to clarify what's necessary for future work.

I also want to add some minimal test for libnldbl_nonshared.a, and 
reducing its size helps with that.  (I'm aware that on ppc64, the 
current toolchain doesn't support long double as double anymore, but I 
can just lie to the compiler and use double instead, I guess.)

> As for binary128 compatibility wrappers for them, I agree (I haven't
> created these on my branch, so this should already be in sync with your
> suggestions).

Good to know.

Florian

  reply	other threads:[~2018-06-29 15:29 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-29 14:49 Florian Weimer
2018-06-29 15:26 ` Gabriel F. T. Gomes
2018-06-29 15:29   ` Florian Weimer [this message]
2018-06-29 17:15     ` Joseph Myers
2018-07-02  7:22       ` Florian Weimer

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=1d310ac2-64f8-21d7-3bc5-2ddfa871f348@redhat.com \
    --to=fweimer@redhat.com \
    --cc=gabrielftg@linux.ibm.com \
    --cc=libc-alpha@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).