public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/100345] New: gcc 11.1 build "make -n install" fails linking gcov undefined reference to std::__throw_bad_array_new_length()
@ 2021-04-29 22:36 bugs at pu dot net
2021-04-29 23:12 ` [Bug other/100345] " redi at gcc dot gnu.org
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: bugs at pu dot net @ 2021-04-29 22:36 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100345
Bug ID: 100345
Summary: gcc 11.1 build "make -n install" fails linking gcov
undefined reference to
std::__throw_bad_array_new_length()
Product: gcc
Version: 11.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: other
Assignee: unassigned at gcc dot gnu.org
Reporter: bugs at pu dot net
Target Milestone: ---
Attempting to build gcc-11.1 "make" succeeds but "make -n install" fails when
it attempts to link gcov with an undefined symbol
std::__throw_bad_array_new_length()
I believe that the build is using the system default libstdc++.a rather than
the gcc-11 built version.
Modifying gcc-11.1.0-obj/gcc/Makefile to link gcov with
"-L ../x86_64-pc-linux-gnu/libstdc++-v3/src/.libs"
succeeds.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug other/100345] gcc 11.1 build "make -n install" fails linking gcov undefined reference to std::__throw_bad_array_new_length()
2021-04-29 22:36 [Bug other/100345] New: gcc 11.1 build "make -n install" fails linking gcov undefined reference to std::__throw_bad_array_new_length() bugs at pu dot net
@ 2021-04-29 23:12 ` redi at gcc dot gnu.org
2021-04-29 23:19 ` bugs at pu dot net
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: redi at gcc dot gnu.org @ 2021-04-29 23:12 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100345
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Ever confirmed|0 |1
Last reconfirmed| |2021-04-29
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Please provide your configure command and details of the build environment.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug other/100345] gcc 11.1 build "make -n install" fails linking gcov undefined reference to std::__throw_bad_array_new_length()
2021-04-29 22:36 [Bug other/100345] New: gcc 11.1 build "make -n install" fails linking gcov undefined reference to std::__throw_bad_array_new_length() bugs at pu dot net
2021-04-29 23:12 ` [Bug other/100345] " redi at gcc dot gnu.org
@ 2021-04-29 23:19 ` bugs at pu dot net
2021-04-30 0:33 ` [Bug bootstrap/100345] " pinskia at gcc dot gnu.org
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: bugs at pu dot net @ 2021-04-29 23:19 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100345
--- Comment #2 from Mark Hittinger <bugs at pu dot net> ---
../gcc-11.1.0/configure \
--prefix=/usr/local/gcc1110 \
--disable-multilib \
--enable-languages=c,c++,fortran
x64 fedora using binutils-2.36 and gcc 10.2
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug bootstrap/100345] gcc 11.1 build "make -n install" fails linking gcov undefined reference to std::__throw_bad_array_new_length()
2021-04-29 22:36 [Bug other/100345] New: gcc 11.1 build "make -n install" fails linking gcov undefined reference to std::__throw_bad_array_new_length() bugs at pu dot net
2021-04-29 23:12 ` [Bug other/100345] " redi at gcc dot gnu.org
2021-04-29 23:19 ` bugs at pu dot net
@ 2021-04-30 0:33 ` pinskia at gcc dot gnu.org
2021-04-30 0:35 ` pinskia at gcc dot gnu.org
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-04-30 0:33 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100345
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|other |bootstrap
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
For some reason it is relinking gcov. This normally does not happen.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug bootstrap/100345] gcc 11.1 build "make -n install" fails linking gcov undefined reference to std::__throw_bad_array_new_length()
2021-04-29 22:36 [Bug other/100345] New: gcc 11.1 build "make -n install" fails linking gcov undefined reference to std::__throw_bad_array_new_length() bugs at pu dot net
` (2 preceding siblings ...)
2021-04-30 0:33 ` [Bug bootstrap/100345] " pinskia at gcc dot gnu.org
@ 2021-04-30 0:35 ` pinskia at gcc dot gnu.org
2021-04-30 6:55 ` rguenth at gcc dot gnu.org
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-04-30 0:35 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100345
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
You are going to have to provide the whole build log to figure out why this is
happening.
Are you using a network mounted drive? If so do they have the time syncronized
between them.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug bootstrap/100345] gcc 11.1 build "make -n install" fails linking gcov undefined reference to std::__throw_bad_array_new_length()
2021-04-29 22:36 [Bug other/100345] New: gcc 11.1 build "make -n install" fails linking gcov undefined reference to std::__throw_bad_array_new_length() bugs at pu dot net
` (3 preceding siblings ...)
2021-04-30 0:35 ` pinskia at gcc dot gnu.org
@ 2021-04-30 6:55 ` rguenth at gcc dot gnu.org
2021-05-24 9:56 ` forum at docmax dot tk
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-04-30 6:55 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100345
--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
Why do you use -n? That might disrupt things.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug bootstrap/100345] gcc 11.1 build "make -n install" fails linking gcov undefined reference to std::__throw_bad_array_new_length()
2021-04-29 22:36 [Bug other/100345] New: gcc 11.1 build "make -n install" fails linking gcov undefined reference to std::__throw_bad_array_new_length() bugs at pu dot net
` (4 preceding siblings ...)
2021-04-30 6:55 ` rguenth at gcc dot gnu.org
@ 2021-05-24 9:56 ` forum at docmax dot tk
2021-05-24 11:33 ` redi at gcc dot gnu.org
2022-11-30 21:23 ` pinskia at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: forum at docmax dot tk @ 2021-05-24 9:56 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100345
DocMAX <forum at docmax dot tk> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |forum at docmax dot tk
--- Comment #6 from DocMAX <forum at docmax dot tk> ---
check: https://github.com/xenia-project/xenia/issues/1819
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug bootstrap/100345] gcc 11.1 build "make -n install" fails linking gcov undefined reference to std::__throw_bad_array_new_length()
2021-04-29 22:36 [Bug other/100345] New: gcc 11.1 build "make -n install" fails linking gcov undefined reference to std::__throw_bad_array_new_length() bugs at pu dot net
` (5 preceding siblings ...)
2021-05-24 9:56 ` forum at docmax dot tk
@ 2021-05-24 11:33 ` redi at gcc dot gnu.org
2022-11-30 21:23 ` pinskia at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: redi at gcc dot gnu.org @ 2021-05-24 11:33 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100345
--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to DocMAX from comment #6)
> check: https://github.com/xenia-project/xenia/issues/1819
I don't think this is related, I think you're just linking wrong.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug bootstrap/100345] gcc 11.1 build "make -n install" fails linking gcov undefined reference to std::__throw_bad_array_new_length()
2021-04-29 22:36 [Bug other/100345] New: gcc 11.1 build "make -n install" fails linking gcov undefined reference to std::__throw_bad_array_new_length() bugs at pu dot net
` (6 preceding siblings ...)
2021-05-24 11:33 ` redi at gcc dot gnu.org
@ 2022-11-30 21:23 ` pinskia at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-11-30 21:23 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100345
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution|--- |INVALID
--- Comment #8 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
You can't use "make -n install" If you want to do an install to a different
directory you can use DESTDIR to do that as documented at
https://gcc.gnu.org/install/finalinstall.html .
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2022-11-30 21:23 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-29 22:36 [Bug other/100345] New: gcc 11.1 build "make -n install" fails linking gcov undefined reference to std::__throw_bad_array_new_length() bugs at pu dot net
2021-04-29 23:12 ` [Bug other/100345] " redi at gcc dot gnu.org
2021-04-29 23:19 ` bugs at pu dot net
2021-04-30 0:33 ` [Bug bootstrap/100345] " pinskia at gcc dot gnu.org
2021-04-30 0:35 ` pinskia at gcc dot gnu.org
2021-04-30 6:55 ` rguenth at gcc dot gnu.org
2021-05-24 9:56 ` forum at docmax dot tk
2021-05-24 11:33 ` redi at gcc dot gnu.org
2022-11-30 21:23 ` 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).