public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/97563] New: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::reserve()'
@ 2020-10-24 17:46 dti@familie-tometzki.de
2020-10-24 17:48 ` [Bug c++/97563] " dti@familie-tometzki.de
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: dti@familie-tometzki.de @ 2020-10-24 17:46 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97563
Bug ID: 97563
Summary: undefined reference to
`std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char>
>::reserve()'
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: dti@familie-tometzki.de
Target Milestone: ---
Hallo together,
with the actual gcc 11 master branch i got the following build error:
/usr/bin/ld: libCMakeLib.a(cmWorkerPool.cxx.o): in function
`std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>
>::shrink_to_fit()':
/usr/include/c++/11/bits/basic_string.h:953: undefined reference to
`std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>
>::reserve()'
/usr/bin/ld: /usr/include/c++/11/bits/basic_string.h:953: undefined reference
to `std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> >::reserve()'
/usr/bin/ld: /usr/include/c++/11/bits/basic_string.h:953: undefined reference
to `std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> >::reserve()'
/usr/bin/ld: /usr/include/c++/11/bits/basic_string.h:953: undefined reference
to `std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> >::reserve()'
/usr/bin/ld: /usr/include/c++/11/bits/basic_string.h:953: undefined reference
to `std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> >::reserve()'
/usr/bin/ld:
libCMakeLib.a(cmWorkerPool.cxx.o):/usr/include/c++/11/bits/basic_string.h:953:
more undefined references to `std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> >::reserve()' follow
I think anything is wrong with the basic_string.h:953 header file the header
file from gcc 10 works.
best regards
Damian
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/97563] undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::reserve()'
2020-10-24 17:46 [Bug c++/97563] New: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::reserve()' dti@familie-tometzki.de
@ 2020-10-24 17:48 ` dti@familie-tometzki.de
2020-10-25 17:41 ` dti@familie-tometzki.de
2020-10-25 22:07 ` redi at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: dti@familie-tometzki.de @ 2020-10-24 17:48 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97563
--- Comment #1 from Damian <dti@familie-tometzki.de> ---
More information:
The build is when i try to build cmake from source
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/97563] undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::reserve()'
2020-10-24 17:46 [Bug c++/97563] New: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::reserve()' dti@familie-tometzki.de
2020-10-24 17:48 ` [Bug c++/97563] " dti@familie-tometzki.de
@ 2020-10-25 17:41 ` dti@familie-tometzki.de
2020-10-25 22:07 ` redi at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: dti@familie-tometzki.de @ 2020-10-25 17:41 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97563
Damian <dti@familie-tometzki.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |FIXED
--- Comment #2 from Damian <dti@familie-tometzki.de> ---
hello,
with a fresh rebuild of gcc 11 it works.
Best regards
Damian
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/97563] undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::reserve()'
2020-10-24 17:46 [Bug c++/97563] New: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::reserve()' dti@familie-tometzki.de
2020-10-24 17:48 ` [Bug c++/97563] " dti@familie-tometzki.de
2020-10-25 17:41 ` dti@familie-tometzki.de
@ 2020-10-25 22:07 ` redi at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: redi at gcc dot gnu.org @ 2020-10-25 22:07 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97563
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|FIXED |INVALID
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-10-25 22:07 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-24 17:46 [Bug c++/97563] New: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::reserve()' dti@familie-tometzki.de
2020-10-24 17:48 ` [Bug c++/97563] " dti@familie-tometzki.de
2020-10-25 17:41 ` dti@familie-tometzki.de
2020-10-25 22:07 ` redi 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).