public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] Add a comment for --enable-initfini-array [BZ #27945]
@ 2021-11-08 15:50 H.J. Lu
  2021-11-08 15:57 ` Florian Weimer
  0 siblings, 1 reply; 2+ messages in thread
From: H.J. Lu @ 2021-11-08 15:50 UTC (permalink / raw)
  To: libc-alpha; +Cc: Joseph Myers

Document that --enable-initfini-array is enabled by default in GCC 12,
which can be removed when GCC 12 becomes the minimum requirement.
---
 scripts/build-many-glibcs.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/scripts/build-many-glibcs.py b/scripts/build-many-glibcs.py
index aa27a349b6..61b9854e73 100755
--- a/scripts/build-many-glibcs.py
+++ b/scripts/build-many-glibcs.py
@@ -1450,7 +1450,9 @@ class Config(object):
         # checking support.  libcilkrts does not support GNU/Hurd (and
         # has been removed in GCC 8, so --disable-libcilkrts can be
         # removed once glibc no longer supports building with older
-        # GCC versions).
+        # GCC versions).  --enable-initfini-array is enabled by default
+        # in GCC 12, which can be removed when GCC 12 becomes the
+        # minimum requirement.
         cfg_opts = list(self.gcc_cfg)
         cfg_opts += ['--enable-initfini-array']
         cfg_opts += ['--disable-libssp', '--disable-libcilkrts']
-- 
2.33.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] Add a comment for --enable-initfini-array [BZ #27945]
  2021-11-08 15:50 [PATCH] Add a comment for --enable-initfini-array [BZ #27945] H.J. Lu
@ 2021-11-08 15:57 ` Florian Weimer
  0 siblings, 0 replies; 2+ messages in thread
From: Florian Weimer @ 2021-11-08 15:57 UTC (permalink / raw)
  To: H.J. Lu via Libc-alpha; +Cc: H.J. Lu, Joseph Myers

* H. J. Lu via Libc-alpha:

> Document that --enable-initfini-array is enabled by default in GCC 12,
> which can be removed when GCC 12 becomes the minimum requirement.
> ---
>  scripts/build-many-glibcs.py | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/scripts/build-many-glibcs.py b/scripts/build-many-glibcs.py
> index aa27a349b6..61b9854e73 100755
> --- a/scripts/build-many-glibcs.py
> +++ b/scripts/build-many-glibcs.py
> @@ -1450,7 +1450,9 @@ class Config(object):
>          # checking support.  libcilkrts does not support GNU/Hurd (and
>          # has been removed in GCC 8, so --disable-libcilkrts can be
>          # removed once glibc no longer supports building with older
> -        # GCC versions).
> +        # GCC versions).  --enable-initfini-array is enabled by default
> +        # in GCC 12, which can be removed when GCC 12 becomes the
> +        # minimum requirement.

Looks helpful to me.

Thanks,
Florian


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-11-08 15:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-08 15:50 [PATCH] Add a comment for --enable-initfini-array [BZ #27945] H.J. Lu
2021-11-08 15:57 ` Florian Weimer

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).