|
| From: | euloanty at live dot com |
| Subject: | [Bug ld/30254] iostream crashes with ld linker for windows targets |
| Date: | Sun, 21 May 2023 07:48:44 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=30254
--- Comment #6 from cqwrteur <euloanty at live dot com> ---
Created attachment 14891
--> https://sourceware.org/bugzilla/attachment.cgi?id=14891&action=edit
ld missing import of ios_base_library_init
I use lld and it imports one more symbol than ld.
I guess it is the reason since libstdc++ does this:
#ifdef _GLIBCXX_SYMVER_GNU
#pragma GCC diagnostic ignored "-Wattribute-alias"
void ios_base_library_init (void)
__attribute__((alias ("_ZNSt8ios_base4InitC1Ev")));
#endif
https://github.com/gcc-mirror/gcc/blob/master/libstdc%2B%2B-v3/src/c%2B%2B98/ios_init.cc
--
You are receiving this mail because:
You are on the CC list for the bug.
| [Prev in Thread] | Current Thread | [Next in Thread] |