crash accessing address 0 in readelf (binutils-2.2.7a)

2018-07-25 Thread Laurent Simon
Hi I've come across an issue in readelf (binutils-2.2.7a), as follows: Problem: --- "readelf -a input" crashes trying to access uninitialized memory (0) if given the right input. Reproduce: - $ CFLAGS="-g -fsanitize=address" CC=clang ../configure --disable-shared --disable-nls --d

[Bug ld/19011] Issues with ld on mingw-w64 and bad defaults

2018-07-25 Thread hugo at beauzee dot fr
https://sourceware.org/bugzilla/show_bug.cgi?id=19011 hugo at beauzee dot fr changed: What|Removed |Added CC||hugo at beauzee dot fr --- C

[Bug ld/19011] Issues with ld on mingw-w64 and bad defaults

2018-07-25 Thread hugo at beauzee dot fr
https://sourceware.org/bugzilla/show_bug.cgi?id=19011 --- Comment #5 from hugo at beauzee dot fr --- The attached patch fixes the IMAGE_FILE_RELOCS_STRIPPED bit to be set in the headers when no symbol is exported, when building with -Wl,--dynamicbase. Please let me know if some corrections are t

[Bug gas/23451] New: RISC-V gas aborts with "Error: unknown default architecture `'" in GCC configure tests

2018-07-25 Thread sebastian.hu...@embedded-brains.de
https://sourceware.org/bugzilla/show_bug.cgi?id=23451 Bug ID: 23451 Summary: RISC-V gas aborts with "Error: unknown default architecture `'" in GCC configure tests Product: binutils Version: 2.31 Status: UNCONFIRMED

[Bug gas/23451] RISC-V gas aborts with "Error: unknown default architecture `'" in GCC configure tests

2018-07-25 Thread sebastian.hu...@embedded-brains.de
https://sourceware.org/bugzilla/show_bug.cgi?id=23451 Sebastian Huber changed: What|Removed |Added Target||riscv-rtems5 CC|

[Bug gas/23451] RISC-V gas aborts with "Error: unknown default architecture `'" in GCC configure tests

2018-07-25 Thread sch...@linux-m68k.org
https://sourceware.org/bugzilla/show_bug.cgi?id=23451 --- Comment #1 from Andreas Schwab --- gas/configure.tgt only knows about riscv32 and riscv64. Another reason why the introduction of a riscv cpu was a mistake. config.sub really should canonicalize riscv into riscv32. -- You are receiving

[Bug gas/23451] RISC-V gas aborts with "Error: unknown default architecture `'" in GCC configure tests

2018-07-25 Thread sebastian.hu...@embedded-brains.de
https://sourceware.org/bugzilla/show_bug.cgi?id=23451 --- Comment #2 from Sebastian Huber --- I am not sure at which level this should be fixed now. -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing l

[Bug ld/19011] Issues with ld on mingw-w64 and bad defaults

2018-07-25 Thread hugo at beauzee dot fr
https://sourceware.org/bugzilla/show_bug.cgi?id=19011 --- Comment #6 from hugo at beauzee dot fr --- Well, apparently the attached fixes the header, but makes windows fail to run the resulting executable, so I guess something's missing. Any help would be appreciated! -- You are receiving this

[Bug gold/23258] Linker cored dump at process_one_opcode

2018-07-25 Thread ccoutant at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=23258 --- Comment #11 from Cary Coutant --- (In reply to Lan from comment #10) > Finally managed to get back to this issue. (I had reverted to use clang > 3.8, so needed to reinstall clang 6.0 to try to reproduce the problem.) > > After changing G

[Bug gas/14480] PDP11 gas generates invalid code for deferred indirect JSR with 0 index

2018-07-25 Thread cptjustice at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=14480 --- Comment #6 from James Patrick Conlon --- Hold off on the 2018-07-19 patch. There are some additional fixes necessary. -- You are receiving this mail because: You are on the CC list for the bug. __