public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/105298] New: GCC-12-20220410 FTBFS for --enable-languages=[c,c++,]d: configure: error: can't compile D sources!: gcc/d21: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.29' not found
@ 2022-04-17 21:56 kdevel at vogtner dot de
2022-04-17 22:01 ` [Bug bootstrap/105298] " pinskia at gcc dot gnu.org
2022-04-17 22:02 ` pinskia at gcc dot gnu.org
0 siblings, 2 replies; 3+ messages in thread
From: kdevel at vogtner dot de @ 2022-04-17 21:56 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105298
Bug ID: 105298
Summary: GCC-12-20220410 FTBFS for
--enable-languages=[c,c++,]d: configure: error: can't
compile D sources!: gcc/d21:
/usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.29'
not found
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
Assignee: unassigned at gcc dot gnu.org
Reporter: kdevel at vogtner dot de
Target Milestone: ---
Different from GCC 11.2 GCC 12 does not seem to build gdc without having
already a gdc installed. In order to overcome this I use a GCC 11.2 which is
installed in a non-std. For this puropose I set
PATH=<path_to_gcc-11.2>:$PATH
export LD_RUN_PATH=<path_to_gcc-11.2>/lib64:<path_to_gcc-11.2>/lib
before
gcc-12-20220410/configure --prefix=$inst --enable-languages=c,c++,d
where $inst ist a non-std. directory.
make bootstrap
then fails with error 2 and
configure: error: can't compile D sources!
This is caused by gcc/d21 in the objdir referencing /usr/lib64/libstdc++.so
instead of <path_to_gcc-11.2>/libstdc++.so, which is caused by RPATH
set to $inst/lib64 instead of <path_to_gcc-11.2>/lib64.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug bootstrap/105298] GCC-12-20220410 FTBFS for --enable-languages=[c,c++,]d: configure: error: can't compile D sources!: gcc/d21: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.29' not found
2022-04-17 21:56 [Bug bootstrap/105298] New: GCC-12-20220410 FTBFS for --enable-languages=[c,c++,]d: configure: error: can't compile D sources!: gcc/d21: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.29' not found kdevel at vogtner dot de
@ 2022-04-17 22:01 ` pinskia at gcc dot gnu.org
2022-04-17 22:02 ` pinskia at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-04-17 22:01 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105298
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
Status|UNCONFIRMED |RESOLVED
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Use LD_LIBRARY_PATH instead of LD_RUN_PATH.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug bootstrap/105298] GCC-12-20220410 FTBFS for --enable-languages=[c,c++,]d: configure: error: can't compile D sources!: gcc/d21: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.29' not found
2022-04-17 21:56 [Bug bootstrap/105298] New: GCC-12-20220410 FTBFS for --enable-languages=[c,c++,]d: configure: error: can't compile D sources!: gcc/d21: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.29' not found kdevel at vogtner dot de
2022-04-17 22:01 ` [Bug bootstrap/105298] " pinskia at gcc dot gnu.org
@ 2022-04-17 22:02 ` pinskia at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-04-17 22:02 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105298
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
https://bugzilla.redhat.com/show_bug.cgi?id=20218 explains why.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-04-17 22:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-17 21:56 [Bug bootstrap/105298] New: GCC-12-20220410 FTBFS for --enable-languages=[c,c++,]d: configure: error: can't compile D sources!: gcc/d21: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.29' not found kdevel at vogtner dot de
2022-04-17 22:01 ` [Bug bootstrap/105298] " pinskia at gcc dot gnu.org
2022-04-17 22:02 ` pinskia 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).