public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug build/27945] New: build-many-glibcs.py doesn't configure GCC with --enable-initfini-array
@ 2021-06-03  1:00 hjl.tools at gmail dot com
  2021-06-03 18:04 ` [Bug build/27945] " joseph at codesourcery dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: hjl.tools at gmail dot com @ 2021-06-03  1:00 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=27945

            Bug ID: 27945
           Summary: build-many-glibcs.py doesn't configure GCC with
                    --enable-initfini-array
           Product: glibc
           Version: 2.34
            Status: NEW
          Severity: normal
          Priority: P2
         Component: build
          Assignee: unassigned at sourceware dot org
          Reporter: hjl.tools at gmail dot com
                CC: carlos at redhat dot com
  Target Milestone: ---

There is no reason for build-many-glibcs.py not to configure GCC with
--enable-initfini-array.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Bug build/27945] build-many-glibcs.py doesn't configure GCC with --enable-initfini-array
  2021-06-03  1:00 [Bug build/27945] New: build-many-glibcs.py doesn't configure GCC with --enable-initfini-array hjl.tools at gmail dot com
@ 2021-06-03 18:04 ` joseph at codesourcery dot com
  2021-06-03 19:40 ` hjl.tools at gmail dot com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: joseph at codesourcery dot com @ 2021-06-03 18:04 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=27945

--- Comment #1 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
Please fix this in GCC by defaulting to --enable-initfini-array for a much 
wider range of configurations (including all *-*-linux* and *-*-gnu*, for 
example, if not all ELF configurations) for cross compilation, rather than 
only in the native case; build-many-glibcs.py is not a good place to fix a 
GCC issue.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Bug build/27945] build-many-glibcs.py doesn't configure GCC with --enable-initfini-array
  2021-06-03  1:00 [Bug build/27945] New: build-many-glibcs.py doesn't configure GCC with --enable-initfini-array hjl.tools at gmail dot com
  2021-06-03 18:04 ` [Bug build/27945] " joseph at codesourcery dot com
@ 2021-06-03 19:40 ` hjl.tools at gmail dot com
  2021-06-04 14:18 ` fweimer at redhat dot com
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: hjl.tools at gmail dot com @ 2021-06-03 19:40 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=27945

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=100896

--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> ---
I opened

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100896

In the meantime, --enable-initfini-array should be passed to GCC configure.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Bug build/27945] build-many-glibcs.py doesn't configure GCC with --enable-initfini-array
  2021-06-03  1:00 [Bug build/27945] New: build-many-glibcs.py doesn't configure GCC with --enable-initfini-array hjl.tools at gmail dot com
  2021-06-03 18:04 ` [Bug build/27945] " joseph at codesourcery dot com
  2021-06-03 19:40 ` hjl.tools at gmail dot com
@ 2021-06-04 14:18 ` fweimer at redhat dot com
  2021-11-05 22:30 ` cvs-commit at gcc dot gnu.org
  2021-11-05 23:35 ` hjl.tools at gmail dot com
  4 siblings, 0 replies; 6+ messages in thread
From: fweimer at redhat dot com @ 2021-06-04 14:18 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=27945

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fweimer at redhat dot com
              Flags|                            |security-

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Bug build/27945] build-many-glibcs.py doesn't configure GCC with --enable-initfini-array
  2021-06-03  1:00 [Bug build/27945] New: build-many-glibcs.py doesn't configure GCC with --enable-initfini-array hjl.tools at gmail dot com
                   ` (2 preceding siblings ...)
  2021-06-04 14:18 ` fweimer at redhat dot com
@ 2021-11-05 22:30 ` cvs-commit at gcc dot gnu.org
  2021-11-05 23:35 ` hjl.tools at gmail dot com
  4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-11-05 22:30 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=27945

--- Comment #3 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by H.J. Lu <hjl@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=a586fe9c80f7cf2c9a5a6ccdbc572e7b5ec816b8

commit a586fe9c80f7cf2c9a5a6ccdbc572e7b5ec816b8
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Wed Jun 9 05:29:16 2021 -0700

    Configure GCC with --enable-initfini-array [BZ #27945]

    Starting from GCC 12, the .init_array and .fini_array sections are enabled
    unconditionally by

    commit 13a39886940331149173b25d6ebde0850668d8b9
    Author: H.J. Lu <hjl.tools@gmail.com>
    Date:   Tue Jun 8 16:09:24 2021 -0700

        Always enable DT_INIT_ARRAY/DT_FINI_ARRAY on Linux

    configure GCC with --enable-initfini-array to enable them when using GCC
    release branches.

    Fixes BZ #27945.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Bug build/27945] build-many-glibcs.py doesn't configure GCC with --enable-initfini-array
  2021-06-03  1:00 [Bug build/27945] New: build-many-glibcs.py doesn't configure GCC with --enable-initfini-array hjl.tools at gmail dot com
                   ` (3 preceding siblings ...)
  2021-11-05 22:30 ` cvs-commit at gcc dot gnu.org
@ 2021-11-05 23:35 ` hjl.tools at gmail dot com
  4 siblings, 0 replies; 6+ messages in thread
From: hjl.tools at gmail dot com @ 2021-11-05 23:35 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=27945

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |2.35

--- Comment #4 from H.J. Lu <hjl.tools at gmail dot com> ---
Fixed for 2.35.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

end of thread, other threads:[~2021-11-05 23:35 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-03  1:00 [Bug build/27945] New: build-many-glibcs.py doesn't configure GCC with --enable-initfini-array hjl.tools at gmail dot com
2021-06-03 18:04 ` [Bug build/27945] " joseph at codesourcery dot com
2021-06-03 19:40 ` hjl.tools at gmail dot com
2021-06-04 14:18 ` fweimer at redhat dot com
2021-11-05 22:30 ` cvs-commit at gcc dot gnu.org
2021-11-05 23:35 ` hjl.tools at gmail dot com

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