[Bug binutils/23746] Debugging under x86_64-apple-darwin18.0.0 getting "not in executable format"
https://sourceware.org/bugzilla/show_bug.cgi?id=23746 --- Comment #5 from Tom Tromey --- Thanks for the investigation, this was very helpful! This looks informative: https://reviews.llvm.org/D29044 -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug binutils/23746] Debugging under x86_64-apple-darwin18.0.0 getting "not in executable format"
https://sourceware.org/bugzilla/show_bug.cgi?id=23746 --- Comment #4 from romain margheriti --- So, I found a solution. The trouble is that clang-1000.11.45.2 brings a new command `LC_BUILD_VERSION` inside o-mach file that isn't wet interpreted by bfd. I esealy fixed this issue adding `BFD_MACH_O_LC_BUILD_VERSION = 0x32` to `include/mach-o/loader.h` line 189 and `case BFD_MACH_O_LC_BUILD_VERSION:break;` to `bfd/mach-o.c` line 4649. -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/23825] Linker creates COPY relocs for reference to TLS symbols
https://sourceware.org/bugzilla/show_bug.cgi?id=23825 Jim Wilson changed: What|Removed |Added Assignee|unassigned at sourceware dot org |wilson at gcc dot gnu.org -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/23825] Linker creates COPY relocs for reference to TLS symbols
https://sourceware.org/bugzilla/show_bug.cgi?id=23825 --- Comment #1 from Jim Wilson --- This is a feature of the RISC-V toolchain, which apparently isn't supported by any other toolchain, and which is known to be broken, but we don't yet know if it is a gcc, binutils, ld.so, or something else bug. We have a compiler workaround that we don't want to deploy, which just disables this feature. https://github.com/riscv/riscv-gcc/pull/118 You could try using this if you have an immediate problem that needs fixing. I have been trying to debug this problem in ld.so, which is where this appears to go wrong, but gdb isn't quite good enough yet. That is one of the reasons why I've been spending time trying to get gdb working better. This may remain broken for a while longer until I am able to figure out where exactly the problem is. Have you run into a real problem that needs a fix, or is this just glibc testsuite cleanup? I have a lot of problems to work on, and need to prioritize my efforts on the most important problems that remain. FYI With my latest gcc and linux kernel patches, and with the math ulps file regenerated, I am down to 13 glibc failures on my unleashed board running fedora core 29. I was hoping that was good enough for now. Gdb is over a thousand testsuite failures, and I'd rather work on that. -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/23825] New: Linker creates COPY relocs for reference to TLS symbols
https://sourceware.org/bugzilla/show_bug.cgi?id=23825 Bug ID: 23825 Summary: Linker creates COPY relocs for reference to TLS symbols Product: binutils Version: 2.31 Status: NEW Severity: normal Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: sch...@linux-m68k.org CC: wilson at gcc dot gnu.org Target Milestone: --- Target: riscv64-*-* When linking elf/tst-tls12 from glibc the linker creates COPY relocs for the references to the TLS symbols a1 and a2, ending up overwriting the .preinit_array and .init_array contents. $ objdump -t tst-tls12.o | grep 'a[12]' *UND* a1 *UND* a2 $ objdump -R tst-tls12 | grep COPY 00013d68 R_RISCV_COPY a1 00013d78 R_RISCV_COPY a2 $ objdump -p tst-tls12 | grep INIT PREINIT_ARRAY0x00013d68 PREINIT_ARRAYSZ 0x0008 INIT_ARRAY 0x00013d70 INIT_ARRAYSZ 0x0008 -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gas/23809] Cannot add CFI insn to first address in FDE
https://sourceware.org/bugzilla/show_bug.cgi?id=23809 Andreas Schwab changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |INVALID --- Comment #4 from Andreas Schwab --- Thanks, that works. -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils