public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: "Gabriel F. T. Gomes" <gabriel@inconstante.net.br>
To: Florian Weimer <fweimer@redhat.com>
Cc: <libc-alpha@sourceware.org>
Subject: Re: [PATCH 1/6] ldbl-128ibm-compat: Add regular character printing functions
Date: Thu, 15 Aug 2019 18:30:00 -0000	[thread overview]
Message-ID: <20190815153021.40983ca5@tereshkova> (raw)
In-Reply-To: <87wofgdl5s.fsf@oldenburg2.str.redhat.com>

On Wed, 14 Aug 2019, Florian Weimer wrote:

>* Gabriel F. T. Gomes:
>
>> diff --git a/sysdeps/ieee754/ldbl-128ibm-compat/Makefile b/sysdeps/ieee754/ldbl-128ibm-compat/Makefile
>> index 412beb5b5c..102973add9 100644
>> --- a/sysdeps/ieee754/ldbl-128ibm-compat/Makefile
>> +++ b/sysdeps/ieee754/ldbl-128ibm-compat/Makefile  
>
>> +# The following rule ensures that the string conversion routines will
>> +# always be built in IBM long double mode, with additional support for
>> +# IEEE binary128, through the use of -mabi=ibmlongdouble and -mfloat128.
>> +ldbl-ibm128-files := $(objpfx)test-%-ibm128^ \
>> +		     $(foreach r,$(ldbl-extra-routines),$(objpfx)$(r)^) \
>> +		     $(foreach r,$(ldbl-extra-routines),$(objpfx)$(r)-internal^)
>> +obj-suf-foreach = $(foreach suf,$(all-object-suffixes),$(subst ^,$(suf),$(1)))  
>
>Why isn't the assignment to obj-suf-foreach dead?

Oh!  There's a hunk missing in this patch.  It should have the following
extra statement:

+$(call obj-suf-foreach,$(ldbl-ibm128-files)): \
+  sysdep-CFLAGS += -mabi=ibmlongdouble

I accidentally removed it when preparing the patch for submission.  Sorry
and thanks for catching it.

It does not affect the test results because there's nothing currently
adding -mabi=ieeelongdouble to the build of powerpc64le files.  Anyway,
I'll reinstate this hunk locally, because it makes it clear *and explicit*
that these files must be built with -mabi=ibmlongdouble, regardless of
what becomes the default (if the default changes).

>Shouldn't this patch have abilist updates?

I kept the abilist change in the last commit on the branch [1] I mentioned
in the cover letter.  In that commit, this sysdeps directory
(ldbl-128ibm-compat) gets actually added to the Implies list.

The idea behind this decision is that the header redirections in our
installed headers (e.g.: stdio-ldbl.h) is implemented in a way that it
works for all functions or for none, so, I'm adding the functions to the
repository now (and testing with the development branch), but actually
enabling them only happens in the last commit.

[1] https://sourceware.org/git/?p=glibc.git;a=shortlog;h=refs/heads/gabriel/powerpc-ieee128-printscan

  reply	other threads:[~2019-08-15 18:30 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-09 18:32 [PATCH 0/6] IEEE long double printf and friends for powerpc64le Gabriel F. T. Gomes
2019-08-09 18:32 ` [PATCH 2/6] ldbl-128ibm-compat: Add wide character printing functions Gabriel F. T. Gomes
2019-08-09 18:32 ` [PATCH 1/6] ldbl-128ibm-compat: Add regular " Gabriel F. T. Gomes
2019-08-14 11:46   ` Florian Weimer
2019-08-15 18:30     ` Gabriel F. T. Gomes [this message]
2019-09-02 14:03       ` Gabriel F. T. Gomes
2019-09-02 14:28         ` Florian Weimer
2019-09-02 15:12           ` Gabriel F. T. Gomes
2019-08-09 18:32 ` [PATCH 6/6] ldbl-128ibm-compat: Test positional arguments Gabriel F. T. Gomes
2019-08-09 18:32 ` [PATCH 4/6] ldbl-128ibm-compat: Add wide character, fortified printing functions Gabriel F. T. Gomes
2019-08-09 18:32 ` [PATCH 3/6] ldbl-128ibm-compat: Add regular " Gabriel F. T. Gomes
2019-08-09 18:32 ` [PATCH 5/6] ldbl-128ibm-compat: Test double values Gabriel F. T. Gomes
2019-09-02 14:15 ` Ping. Re: [PATCH 0/6] IEEE long double printf and friends for powerpc64le Gabriel F. T. Gomes

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=20190815153021.40983ca5@tereshkova \
    --to=gabriel@inconstante.net.br \
    --cc=fweimer@redhat.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).