public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug d/107552] New: [13 regression] stage 1 d21 fails to link on Linux/x86_64
@ 2022-11-07 13:01 ro at gcc dot gnu.org
2022-11-07 14:14 ` [Bug d/107552] " ibuclaw at gdcproject dot org
2022-11-08 8:17 ` ro at gcc dot gnu.org
0 siblings, 2 replies; 3+ messages in thread
From: ro at gcc dot gnu.org @ 2022-11-07 13:01 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107552
Bug ID: 107552
Summary: [13 regression] stage 1 d21 fails to link on
Linux/x86_64
Product: gcc
Version: 13.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: d
Assignee: ibuclaw at gdcproject dot org
Reporter: ro at gcc dot gnu.org
Target Milestone: ---
Host: x86_64-pc-linux-gnu
Target: x86_64-pc-linux-gnu
Build: x86_64-pc-linux-gnu
I've long been bootstrapping trunk with GCC 9.3.0. However, between 20221028
(11e811d8e2f63667f60f73731bb934273f5882b8) and 20221104
(e724b0480bfa5ec04f39be8c7290330b495c59de),
bootstrap broke linking stage 1 d21:
/vol/gcc/bin/gld-2.35: d/typesem.o:(.data+0x180): multiple definition of
`___s.24340'; d/statementsem.o:(.data+0x260): first defined here
collect2: error: ld returned 1 exit status
make: *** [/vol/gcc/src/hg/master/local/gcc/d/Make-lang.in:234: d21] Error 1
I've tried with GCC 11.1.0: while the stage 1 d21 links this way, the resulting
gdc/d21 fails to run because d21 is linked with libstdc++ dynamically, using a
version that's newer than the one bundled with Ubuntu 20.04. Passing through
LD_LIBRARY_PATH is tricky and does cause a couple of testsuite regressions.
GCC 12.1.0 does work, and stage 1 d21 is linked statically with libstd++, as
expected. However, this means quite massive an increase in build requirements.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug d/107552] [13 regression] stage 1 d21 fails to link on Linux/x86_64
2022-11-07 13:01 [Bug d/107552] New: [13 regression] stage 1 d21 fails to link on Linux/x86_64 ro at gcc dot gnu.org
@ 2022-11-07 14:14 ` ibuclaw at gdcproject dot org
2022-11-08 8:17 ` ro at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: ibuclaw at gdcproject dot org @ 2022-11-07 14:14 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107552
--- Comment #1 from Iain Buclaw <ibuclaw at gdcproject dot org> ---
Isn't this a duplicate of pr104749, which got fixed in 9.4.0?
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug d/107552] [13 regression] stage 1 d21 fails to link on Linux/x86_64
2022-11-07 13:01 [Bug d/107552] New: [13 regression] stage 1 d21 fails to link on Linux/x86_64 ro at gcc dot gnu.org
2022-11-07 14:14 ` [Bug d/107552] " ibuclaw at gdcproject dot org
@ 2022-11-08 8:17 ` ro at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: ro at gcc dot gnu.org @ 2022-11-08 8:17 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107552
Rainer Orth <ro at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |DUPLICATE
Status|UNCONFIRMED |RESOLVED
--- Comment #2 from Rainer Orth <ro at gcc dot gnu.org> ---
It is indeed: a bootstrap with gcc 9.4.0 worked just fine. I'd forgotten about
this because it had happened on the Solaris/x86 side half a year ago and didn't
affect the Linux/x86_64 builds until now.
*** This bug has been marked as a duplicate of bug 104749 ***
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-11-08 8:17 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-07 13:01 [Bug d/107552] New: [13 regression] stage 1 d21 fails to link on Linux/x86_64 ro at gcc dot gnu.org
2022-11-07 14:14 ` [Bug d/107552] " ibuclaw at gdcproject dot org
2022-11-08 8:17 ` ro 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).