https://sourceware.org/bugzilla/show_bug.cgi?id=32041
--- Comment #2 from Chuang Wang ---
the second ./caller got undefined symbol:
_ZNSt3mapIdNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIdESaISt4pairIKdS5_EEED1Ev
I am using gold(2.41) and gcc(12.3.1).
--
You are receiving this
https://sourceware.org/bugzilla/show_bug.cgi?id=32041
--- Comment #1 from Chuang Wang ---
mycase:
// caller.cpp
#include
extern int hack();
int main()
{
std::cout << hack() << std::endl;
}
// goo.cpp
int hack()
{
int s = 1;
for (int i = 1; i < ; ++i) {
s *= i + i;
}
https://sourceware.org/bugzilla/show_bug.cgi?id=32041
Bug ID: 32041
Summary: gold --start-lib/--end-lib error with lto.
Product: binutils
Version: unspecified
Status: UNCONFIRMED
Severity: normal
Priority: P2
Com
https://sourceware.org/bugzilla/show_bug.cgi?id=32003
Matthias Klose changed:
What|Removed |Added
CC||doko at debian dot org
--- Comment #