[Bug ld/30254] iostream crashes with ld linker for windows targets

2023-05-21 Thread euloanty at live dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=30254 cqwrteur changed: What|Removed |Added CC||jakub at redhat dot com -- You are

[Bug ld/30375] C++ std::cout's rdbuf gives ridiculous address on windows with dynamic linking with ld

2023-05-21 Thread euloanty at live dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=30375 cqwrteur changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRMED

[Bug ld/30254] iostream crashes with ld linker for windows targets

2023-05-21 Thread euloanty at live dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=30254 cqwrteur changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug ld/29973] x86_64-w64-mingw32-g++ ld: helloworld.exe:.rdata_r: section below image base for windows

2023-05-21 Thread euloanty at live dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=29973 --- Comment #42 from cqwrteur --- *** Bug 30375 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are on the CC list for the bug.

[Bug ld/30254] iostream crashes with ld linker for windows targets

2023-05-21 Thread euloanty at live dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=30254 cqwrteur changed: What|Removed |Added CC||amodra at gmail dot com -- You are

[Bug ld/30254] iostream crashes with ld linker for windows targets

2023-05-21 Thread euloanty at live dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=30254 --- Comment #10 from cqwrteur --- Created attachment 14895 --> https://sourceware.org/bugzilla/attachment.cgi?id=14895=edit ld no link -- You are receiving this mail because: You are on the CC list for the bug.

[Bug ld/30254] iostream crashes with ld linker for windows targets

2023-05-21 Thread euloanty at live dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=30254 --- Comment #12 from cqwrteur --- Ida pro result for GNU ld. I do not see jmp instruction here. .text:000140001540 ; === S U B R O U T I N E ===

[Bug ld/30254] iostream crashes with ld linker for windows targets

2023-05-21 Thread euloanty at live dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=30254 --- Comment #13 from cqwrteur --- .text:000140001588 ; === S U B R O U T I N E === .text:000140001588 .text:000140001588 ;

[Bug ld/30254] iostream crashes with ld linker for windows targets

2023-05-21 Thread euloanty at live dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=30254 --- Comment #8 from cqwrteur --- Created attachment 14893 --> https://sourceware.org/bugzilla/attachment.cgi?id=14893=edit lld has link from text section that jmps here while ld does not lld has link from text section that jmps here while

[Bug ld/30254] iostream crashes with ld linker for windows targets

2023-05-21 Thread euloanty at live dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=30254 --- Comment #9 from cqwrteur --- Created attachment 14894 --> https://sourceware.org/bugzilla/attachment.cgi?id=14894=edit ld no link ld no link 1 -- You are receiving this mail because: You are on the CC list for the bug.

[Bug ld/30254] iostream crashes with ld linker for windows targets

2023-05-21 Thread euloanty at live dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=30254 --- Comment #11 from cqwrteur --- Here is the disassembly result from IDA pro. .text:000140001540 ; === S U B R O U T I N E === .text:000140001540

[Bug ld/30254] iostream crashes with ld linker for windows targets

2023-05-21 Thread euloanty at live dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=30254 --- Comment #14 from cqwrteur --- Some one tries this program: #include #include #include #include typedef void* (__cdecl* fn_type_t)(void* self, char const* string); int main() { MessageBoxA(nullptr,"pause",nullptr,0);

[Bug ld/30254] iostream crashes with ld linker for windows targets

2023-05-21 Thread euloanty at live dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=30254 --- Comment #15 from cqwrteur --- Created attachment 14896 --> https://sourceware.org/bugzilla/attachment.cgi?id=14896=edit He found that ld binds std::cout to the address of std::cout in the dll Why is this .refptr?? It should be just

[Bug ld/30254] iostream crashes with ld linker for windows targets

2023-05-21 Thread euloanty at live dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=30254 --- Comment #7 from cqwrteur --- Created attachment 14892 --> https://sourceware.org/bugzilla/attachment.cgi?id=14892=edit executable -- You are receiving this mail because: You are on the CC list for the bug.

[Bug ld/30254] iostream crashes with ld linker for windows targets

2023-05-21 Thread euloanty at live dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=30254 --- Comment #6 from cqwrteur --- Created attachment 14891 --> https://sourceware.org/bugzilla/attachment.cgi?id=14891=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

[Bug ld/30254] iostream crashes with ld linker for windows targets

2023-05-21 Thread euloanty at live dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=30254 --- Comment #16 from cqwrteur --- Created attachment 14897 --> https://sourceware.org/bugzilla/attachment.cgi?id=14897=edit Someone has found the problem here Someone has found the problem here. std::cout does not bind correctly for ld

[Bug ld/30254] iostream crashes with ld linker for windows targets

2023-05-21 Thread euloanty at live dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=30254 --- Comment #17 from cqwrteur --- Created attachment 14898 --> https://sourceware.org/bugzilla/attachment.cgi?id=14898=edit English translation -- You are receiving this mail because: You are on the CC list for the bug.

Issue 59148 in oss-fuzz: binutils:fuzz_addr2line: Heap-buffer-overflow in bfd_getl32

2023-05-21 Thread sheriffbot via monorail
Updates: Labels: -restrict-view-commit Comment #3 on issue 59148 by sheriffbot: binutils:fuzz_addr2line: Heap-buffer-overflow in bfd_getl32 https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=59148#c3 This bug has been fixed. It has been opened to the public. - Your friendly

[Bug binutils/30479] New: bfd.info build failure on centos 8

2023-05-21 Thread nightstrike at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=30479 Bug ID: 30479 Summary: bfd.info build failure on centos 8 Product: binutils Version: unspecified Status: UNCONFIRMED Severity: normal Priority: P2 Component:

[Bug binutils/30479] bfd.info build failure on centos 8

2023-05-21 Thread nightstrike at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=30479 --- Comment #2 from nightstrike --- Renaming the included texinfo directory to test configure's ability to build texinfo shows that that doesn't even work anymore: /bin/sh: line 7:

[Bug binutils/30479] bfd.info build failure on centos 8

2023-05-21 Thread nightstrike at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=30479 nightstrike changed: What|Removed |Added Version|unspecified |2.40 -- You are receiving this mail

[Bug binutils/30481] New: bfd version inconsistencies

2023-05-21 Thread nightstrike at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=30481 Bug ID: 30481 Summary: bfd version inconsistencies Product: binutils Version: 2.40 Status: UNCONFIRMED Severity: normal Priority: P2 Component: binutils

[Bug binutils/30479] bfd.info build failure on centos 8

2023-05-21 Thread nightstrike at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=30479 --- Comment #1 from nightstrike --- It looks like adding texinfo to top level to be built automatically (like isl, gmp, mpfr, mpc, dejagnu, and a bunch of other stuff) doesn't work OOTB, because the binutils tarball include a texinfo

[Bug binutils/30481] bfd version inconsistencies

2023-05-21 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=30481 Alan Modra changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug binutils/30479] bfd.info build failure on centos 8

2023-05-21 Thread nightstrike at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=30479 --- Comment #3 from nightstrike --- Ok, I worked around it for now by touching bfd/doc/bfd.info and gas/doc/as.info (which also exhibited the problem) in the source dir. I had to do this individually, and before each rebuild. I think the