public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug build/27002] New: libc_freeres_fn build failure with GCC 11
@ 2020-12-02 21:53 jsm28 at gcc dot gnu.org
2020-12-02 21:54 ` [Bug build/27002] " jsm28 at gcc dot gnu.org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2020-12-02 21:53 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=27002
Bug ID: 27002
Summary: libc_freeres_fn build failure with GCC 11
Product: glibc
Version: 2.32
Status: NEW
Severity: normal
Priority: P2
Component: build
Assignee: unassigned at sourceware dot org
Reporter: jsm28 at gcc dot gnu.org
CC: carlos at redhat dot com
Target Milestone: ---
Since GCC commit 6fbec038f7a7ddf29f074943611b53210d17c40c ("Use SHF_GNU_RETAIN
to preserve symbol definitions"), glibc fails to build with GCC and binutils
master.
https://sourceware.org/pipermail/libc-testresults/2020q4/007126.html
In file included from <command-line>:
gconv_dl.c: In function 'free_mem':
gconv_dl.c:202:18: error: 'free_mem' causes a section type conflict with
'do_release_all'
202 | libc_freeres_fn (free_mem)
| ^~~~~~~~
./../include/libc-symbols.h:316:15: note: in definition of macro
'libc_freeres_fn'
316 | static void name (void)
| ^~~~
gconv_dl.c:191:1: note: 'do_release_all' was declared here
191 | do_release_all (void *nodep)
| ^~~~~~~~~~~~~~
(and many more errors of that form).
--
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/27002] libc_freeres_fn build failure with GCC 11
2020-12-02 21:53 [Bug build/27002] New: libc_freeres_fn build failure with GCC 11 jsm28 at gcc dot gnu.org
@ 2020-12-02 21:54 ` jsm28 at gcc dot gnu.org
2020-12-02 22:04 ` law at redhat dot com
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2020-12-02 21:54 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=27002
Joseph Myers <jsm28 at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hjl.tools at gmail dot com
--
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/27002] libc_freeres_fn build failure with GCC 11
2020-12-02 21:53 [Bug build/27002] New: libc_freeres_fn build failure with GCC 11 jsm28 at gcc dot gnu.org
2020-12-02 21:54 ` [Bug build/27002] " jsm28 at gcc dot gnu.org
@ 2020-12-02 22:04 ` law at redhat dot com
2020-12-02 23:11 ` hjl.tools at gmail dot com
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: law at redhat dot com @ 2020-12-02 22:04 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=27002
law at redhat dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |law at redhat dot com
--
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/27002] libc_freeres_fn build failure with GCC 11
2020-12-02 21:53 [Bug build/27002] New: libc_freeres_fn build failure with GCC 11 jsm28 at gcc dot gnu.org
2020-12-02 21:54 ` [Bug build/27002] " jsm28 at gcc dot gnu.org
2020-12-02 22:04 ` law at redhat dot com
@ 2020-12-02 23:11 ` hjl.tools at gmail dot com
2020-12-04 15:04 ` jozefl at sourceware dot org
2020-12-16 12:54 ` hjl.tools at gmail dot com
4 siblings, 0 replies; 6+ messages in thread
From: hjl.tools at gmail dot com @ 2020-12-02 23:11 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=27002
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |2.33
--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
A patch is posted at
https://sourceware.org/pipermail/libc-alpha/2020-December/120313.html
Tested with GCC 10 and 11.
--
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/27002] libc_freeres_fn build failure with GCC 11
2020-12-02 21:53 [Bug build/27002] New: libc_freeres_fn build failure with GCC 11 jsm28 at gcc dot gnu.org
` (2 preceding siblings ...)
2020-12-02 23:11 ` hjl.tools at gmail dot com
@ 2020-12-04 15:04 ` jozefl at sourceware dot org
2020-12-16 12:54 ` hjl.tools at gmail dot com
4 siblings, 0 replies; 6+ messages in thread
From: jozefl at sourceware dot org @ 2020-12-04 15:04 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=27002
Jozef Lawrynowicz <jozefl at sourceware dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |jozefl at sourceware dot org
Resolution|--- |MOVED
--- Comment #2 from Jozef Lawrynowicz <jozefl at sourceware dot org> ---
This is a GCC bug, now tracked in GCC PR target/98146
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98146
Resolving this as "moved".
--
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/27002] libc_freeres_fn build failure with GCC 11
2020-12-02 21:53 [Bug build/27002] New: libc_freeres_fn build failure with GCC 11 jsm28 at gcc dot gnu.org
` (3 preceding siblings ...)
2020-12-04 15:04 ` jozefl at sourceware dot org
@ 2020-12-16 12:54 ` hjl.tools at gmail dot com
4 siblings, 0 replies; 6+ messages in thread
From: hjl.tools at gmail dot com @ 2020-12-16 12:54 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=27002
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|MOVED |FIXED
--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> ---
Fixed by
commit 3c1fe20a9f4f6e12a3677ca8a5921ac03976da3b
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Wed Dec 2 14:26:28 2020 -0800
Mark __libc_freeres_fn as used [BZ #27002]
--
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:[~2020-12-16 12:54 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-02 21:53 [Bug build/27002] New: libc_freeres_fn build failure with GCC 11 jsm28 at gcc dot gnu.org
2020-12-02 21:54 ` [Bug build/27002] " jsm28 at gcc dot gnu.org
2020-12-02 22:04 ` law at redhat dot com
2020-12-02 23:11 ` hjl.tools at gmail dot com
2020-12-04 15:04 ` jozefl at sourceware dot org
2020-12-16 12:54 ` 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).