public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Siddhesh Poyarekar <siddhesh@gotplt.org>
To: Florian Weimer <fweimer@redhat.com>, libc-alpha@sourceware.org
Subject: Re: [PATCH] Force building with -fno-common
Date: Fri, 9 Jul 2021 13:16:49 +0530	[thread overview]
Message-ID: <21857343-bf06-0977-9bd5-899bdae61714@gotplt.org> (raw)
In-Reply-To: <87y2ahummc.fsf@oldenburg.str.redhat.com>

On 7/8/21 3:57 PM, Florian Weimer via Libc-alpha wrote:
> As a result, is not necessary to specify __attribute__ ((nocommon))
> on individual definitions.
> 
> GCC 10 defaults to -fno-common on all architectures except ARC,
> but this change is compatible with older GCC versions and ARC, too.
> 
> Not sure if this is still appropriate at this time for glibc 2.34, but
> this commit simplifies compatibility symbol work, by reducing GCC
> version and architecture divergence.
> 
> Tested on i686-linux-gnu and x86_64-linux.  Tested with a full bootstrap
> cycle with build-many-glibc.py using the combinations GCC 8/binutils 2.32
> and GCC 7/binutils 2.33.  There are some build failures, but they appear
> to be unrelated to this change.

Carlos clarified that non-ABI changes are OK during the slushy freeze, 
but you could wait on him for additional approval.

I did a build on x86_64 to verify that the resulting binaries are 
identical (since -fno-common should be nop for gcc11) but turns out 
they're not.  I haven't yet looked at the nature of the change since 
they could be benign but it still was surprising.

Siddhesh

  reply	other threads:[~2021-07-09  7:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-08 10:27 Florian Weimer
2021-07-09  7:46 ` Siddhesh Poyarekar [this message]
2021-07-09  8:05   ` Florian Weimer
2021-07-09  8:12     ` Siddhesh Poyarekar
2021-07-09 18:05 ` Carlos O'Donell

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=21857343-bf06-0977-9bd5-899bdae61714@gotplt.org \
    --to=siddhesh@gotplt.org \
    --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).