public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/104887] New: mold linker is not detected properly
@ 2022-03-12 3:17 rui314 at gmail dot com
2022-03-12 3:56 ` [Bug bootstrap/104887] [9/10/11 only] " pinskia at gcc dot gnu.org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: rui314 at gmail dot com @ 2022-03-12 3:17 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104887
Bug ID: 104887
Summary: mold linker is not detected properly
Product: gcc
Version: 11.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
Assignee: unassigned at gcc dot gnu.org
Reporter: rui314 at gmail dot com
Target Milestone: ---
GCC 11.2.0 fails to bootstrap if `ld` is `ld.mold`
(https://github.com/rui314/mold). It is because gcc's configure script has no
idea as to what `ld.mold` is and consider it as a very old linker that doesn't
support COMDAT.
GCC 12's configure script correctly recognizes mold.
Can you backport the fix to support mold in the GCC 11 series?
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug bootstrap/104887] [9/10/11 only] mold linker is not detected properly
2022-03-12 3:17 [Bug bootstrap/104887] New: mold linker is not detected properly rui314 at gmail dot com
@ 2022-03-12 3:56 ` pinskia at gcc dot gnu.org
2022-03-12 4:32 ` rui314 at gmail dot com
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-03-12 3:56 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104887
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|mold linker is not detected |[9/10/11 only] mold linker
|properly |is not detected properly
Target Milestone|--- |11.3
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
>Can you backport the fix to support mold in the GCC 11 series?
I doubt it since it might cause other issues. Plus GCC 12 will be out in about
an month. Each distro can decide to backport it if they want though.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug bootstrap/104887] [9/10/11 only] mold linker is not detected properly
2022-03-12 3:17 [Bug bootstrap/104887] New: mold linker is not detected properly rui314 at gmail dot com
2022-03-12 3:56 ` [Bug bootstrap/104887] [9/10/11 only] " pinskia at gcc dot gnu.org
@ 2022-03-12 4:32 ` rui314 at gmail dot com
2022-03-14 7:58 ` rguenth at gcc dot gnu.org
2022-03-14 8:15 ` marxin at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: rui314 at gmail dot com @ 2022-03-12 4:32 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104887
--- Comment #2 from Rui Ueyama <rui314 at gmail dot com> ---
What kind of regression are you worry about?
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug bootstrap/104887] [9/10/11 only] mold linker is not detected properly
2022-03-12 3:17 [Bug bootstrap/104887] New: mold linker is not detected properly rui314 at gmail dot com
2022-03-12 3:56 ` [Bug bootstrap/104887] [9/10/11 only] " pinskia at gcc dot gnu.org
2022-03-12 4:32 ` rui314 at gmail dot com
@ 2022-03-14 7:58 ` rguenth at gcc dot gnu.org
2022-03-14 8:15 ` marxin at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-03-14 7:58 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104887
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |build
CC| |marxin at gcc dot gnu.org
--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
We can consider backporting enough support to allow bootstrapping with mold,
but an actual decision whether to do that requires somebody to prepare and test
a (minmal) patch.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug bootstrap/104887] [9/10/11 only] mold linker is not detected properly
2022-03-12 3:17 [Bug bootstrap/104887] New: mold linker is not detected properly rui314 at gmail dot com
` (2 preceding siblings ...)
2022-03-14 7:58 ` rguenth at gcc dot gnu.org
@ 2022-03-14 8:15 ` marxin at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: marxin at gcc dot gnu.org @ 2022-03-14 8:15 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104887
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |WONTFIX
--- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> ---
I also tend to not backport the support to GCC 11.x and older releases. As
Andrew mentioned, GCC 12.1 will be out in a month or so and even full LTO
support won't be covered in GCC 12.1. That was postponed for the next stage1.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2022-03-14 8:15 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-12 3:17 [Bug bootstrap/104887] New: mold linker is not detected properly rui314 at gmail dot com
2022-03-12 3:56 ` [Bug bootstrap/104887] [9/10/11 only] " pinskia at gcc dot gnu.org
2022-03-12 4:32 ` rui314 at gmail dot com
2022-03-14 7:58 ` rguenth at gcc dot gnu.org
2022-03-14 8:15 ` marxin at gcc dot gnu.org
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).