[Bug gold/32041] gold --start-lib/--end-lib error with lto.

2024-07-31 Thread koule2333 at gmail dot com
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

[Bug gold/32041] gold --start-lib/--end-lib error with lto.

2024-07-31 Thread koule2333 at gmail dot com
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; }

[Bug gold/32041] New: gold --start-lib/--end-lib error with lto.

2024-07-31 Thread koule2333 at gmail dot com
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

[Bug ld/32003] Specifying --package-metadata might not be possible and is too fragile

2024-07-31 Thread doko at debian dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=32003 Matthias Klose changed: What|Removed |Added CC||doko at debian dot org --- Comment #