Readelf bug

2022-06-01 Thread Vsevolod Alekseyev
I'm debugging a DWARF parser library. We are testing it against GNU readelf, and we've found a discrepancy on the dump of the interpreted .eh_frame section of a particular x86_64 ELF binary. The binary's first FDE in .eh_frame has initial_location 0x1060, and the following instructions: DW_

[Bug binutils/29218] libiberty cannot find __imp___acrt_iob_func for x86_64-w64-mingw32 cross toolchain for canadian compilation

2022-06-01 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=29218 Alan Modra changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug binutils/29218] libiberty cannot find __imp___acrt_iob_func for x86_64-w64-mingw32 cross toolchain for canadian compilation

2022-06-01 Thread euloanty at live dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=29218 --- Comment #5 from cqwrteur --- https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=b0de9ed86f3af84fbd636f94a58b9c4ad7f4e743 well it looks like this does not fix Canadian compilation. -- You are receiving this mail because: You a

[Bug binutils/29218] libiberty cannot find __imp___acrt_iob_func for x86_64-w64-mingw32 cross toolchain for canadian compilation

2022-06-01 Thread euloanty at live dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=29218 --- Comment #4 from cqwrteur --- void* xmalloc(size_t sz) noexcept { void* ptr = malloc(sz); if(!ptr) __builtin_trap(); return ptr; } Thank you. Since stdio on mingw-w64 bloats binary size. -- You are receiving this mail

[Bug binutils/29218] libiberty cannot find __imp___acrt_iob_func for x86_64-w64-mingw32 cross toolchain for canadian compilation

2022-06-01 Thread euloanty at live dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=29218 --- Comment #3 from cqwrteur --- BTW. The xmalloc thing should be just __builtin_trap(). No more debugging information and recovery thank you. -- You are receiving this mail because: You are on the CC list for the bug.

[Bug binutils/29218] libiberty cannot find __imp___acrt_iob_func for x86_64-w64-mingw32 cross toolchain for canadian compilation

2022-06-01 Thread euloanty at live dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=29218 cqwrteur changed: What|Removed |Added CC||amodra at gmail dot com -- You are receiv

[Bug binutils/29218] libiberty cannot find __imp___acrt_iob_func for x86_64-w64-mingw32 cross toolchain for canadian compilation

2022-06-01 Thread euloanty at live dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=29218 --- Comment #2 from cqwrteur --- https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=7273d78f3f7ae3701512f1ff423430f51b011ece I believe it breaks because of this commitment. It makes the binary compiled with the build compiler instead o

[Bug binutils/29218] New: libiberty cannot find __imp___acrt_iob_func for x86_64-w64-mingw32 cross toolchain for canadian compilation

2022-06-01 Thread euloanty at live dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=29218 Bug ID: 29218 Summary: libiberty cannot find __imp___acrt_iob_func for x86_64-w64-mingw32 cross toolchain for canadian compilation Product: binutils Version: u

[Bug binutils/29218] libiberty cannot find __imp___acrt_iob_func for x86_64-w64-mingw32 cross toolchain for canadian compilation

2022-06-01 Thread euloanty at live dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=29218 cqwrteur changed: What|Removed |Added Build||x86_64-linux-gnu Target|

[Bug binutils/29218] libiberty cannot find __imp___acrt_iob_func for x86_64-w64-mingw32 cross toolchain for canadian compilation

2022-06-01 Thread euloanty at live dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=29218 --- Comment #1 from cqwrteur --- Created attachment 14128 --> https://sourceware.org/bugzilla/attachment.cgi?id=14128&action=edit config file -- You are receiving this mail because: You are on the CC list for the bug.