[Bug binutils/23601] Memory leak dwarf.c

2018-08-30 Thread tianxiao.gu at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=23601 --- Comment #1 from Tianxiao Gu --- We found that the sub-folder `binutils-gdb/binutils` has actually been successfully built even though there are some errors occurred during building other sub-folders. This leak should also be also reprodu

[Bug binutils/23601] Memory leak dwarf.c

2018-08-30 Thread tianxiao.gu at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=23601 Tianxiao Gu changed: What|Removed |Added Version|2.31|2.32 (HEAD) -- You are receiving this

[Bug binutils/23601] New: Memory leak dwarf.c

2018-08-30 Thread tianxiao.gu at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=23601 Bug ID: 23601 Summary: Memory leak dwarf.c Product: binutils Version: 2.31 Status: UNCONFIRMED Severity: normal Priority: P2 Component: binutils Ass

[Bug ld/23600] Link failure when using clang LTO + linker script with INPUTs

2018-08-30 Thread mh-sourceware at glandium dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=23600 --- Comment #4 from Mike Hommey --- AFAICT, bfd/plugin.c is never setting the arch_info, so that would likely be the problem. -- You are receiving this mail because: You are on the CC list for the bug. ___

[Bug ld/23600] Link failure when using clang LTO + linker script with INPUTs

2018-08-30 Thread mh-sourceware at glandium dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=23600 --- Comment #3 from Mike Hommey --- So the difference when linking a non LTO object file with the same linker script is that after the call to bfd_check_format, check->arch_info is bfd_x86_64_arch (it is bfd_default_arch_struct before the call

[Bug ld/23600] Link failure when using clang LTO + linker script with INPUTs

2018-08-30 Thread mh-sourceware at glandium dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=23600 --- Comment #2 from Mike Hommey --- (entry->the_bfd->arch_info is also bfd_default_arch_struct when not using the linker script) -- You are receiving this mail because: You are on the CC list for the bug.

[Bug ld/23600] Link failure when using clang LTO + linker script with INPUTs

2018-08-30 Thread mh-sourceware at glandium dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=23600 --- Comment #1 from Mike Hommey --- In ldfile_try_open_bfd, we end up in the error case presumably because: (rr) print check->filename $2 = 0x5582b37b57e0 "main.o" (rr) print check->arch_info $3 = (const struct bfd_arch_info *) 0x5582b3286fe0

[Bug ld/23600] New: Link failure when using clang LTO + linker script with INPUTs

2018-08-30 Thread mh-sourceware at glandium dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=23600 Bug ID: 23600 Summary: Link failure when using clang LTO + linker script with INPUTs Product: binutils Version: unspecified Status: UNCONFIRMED Severity: nor

[Bug ld/23591] undefined reference to `__start___sancov_cntrs'

2018-08-30 Thread mh-sourceware at glandium dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=23591 --- Comment #7 from Mike Hommey --- It worked. -- 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/m

[Bug ld/23591] undefined reference to `__start___sancov_cntrs'

2018-08-30 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=23591 --- Comment #6 from H.J. Lu --- Created attachment 11219 --> https://sourceware.org/bugzilla/attachment.cgi?id=11219&action=edit A patch Please try this. -- You are receiving this mail because: You are on the CC list for the bug.

[Bug ld/23591] undefined reference to `__start___sancov_cntrs'

2018-08-30 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=23591 H.J. Lu changed: What|Removed |Added Summary|undefined reference to |undefined reference to |`

[Bug ld/23591] undefined reference to `__start___sancov_cntrs' when building with clang + asan + fuzzing + ld.bfd

2018-08-30 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=23591 H.J. Lu changed: What|Removed |Added Status|WAITING |NEW CC|

[Bug gold/23594] error: 'mkdtemp' was not declared in this scope

2018-08-30 Thread h0tc0d3 at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=23594 --- Comment #1 from Grigory --- Created attachment 11218 --> https://sourceware.org/bugzilla/attachment.cgi?id=11218&action=edit configure.log -- You are receiving this mail because: You are on the CC list for the bug.

[Bug binutils/23595] New: "simple objcopy of executable" failure for msp430-elf with -mlarge

2018-08-30 Thread jozef.l at mittosystems dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=23595 Bug ID: 23595 Summary: "simple objcopy of executable" failure for msp430-elf with -mlarge Product: binutils Version: 2.31 Status: UNCONFIRMED Severity: norma

[Bug binutils/23595] "simple objcopy of executable" failure for msp430-elf with -mlarge

2018-08-30 Thread jozef.l at mittosystems dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=23595 --- Comment #1 from Jozef Lawrynowicz --- Proposed patch, lightly tested without regressions in the binutils, gas, ld testsuites for msp430-elf/-mlarge and x86_64-pc-linux-gnu. diff --git a/bfd/elf.c b/bfd/elf.c index b8860c4..14612bd 100644

[Bug ld/23591] undefined reference to `__start___sancov_cntrs' when building with clang + asan + fuzzing + ld.bfd

2018-08-30 Thread mh-sourceware at glandium dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=23591 --- Comment #4 from Mike Hommey --- It's worth noting that gold doesn't trip on the same object files (that is, chanfing the linker command line to include -fuse-ld=gold makes it work) -- You are receiving this mail because: You are on the C

[Bug ld/23591] undefined reference to `__start___sancov_cntrs' when building with clang + asan + fuzzing + ld.bfd

2018-08-30 Thread mh-sourceware at glandium dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=23591 --- Comment #3 from Mike Hommey --- They are generate by clang from the combination of -fsanitize=address and -fsanitize=fuzzer-no-link. But using that with some dummy source file doesn't trigger the problem, so some subtle thing is happening.

[Bug ld/23591] undefined reference to `__start___sancov_cntrs' when building with clang + asan + fuzzing + ld.bfd

2018-08-30 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=23591 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug gold/23594] New: error: 'mkdtemp' was not declared in this scope

2018-08-30 Thread h0tc0d3 at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=23594 Bug ID: 23594 Summary: error: 'mkdtemp' was not declared in this scope Product: binutils Version: 2.31 Status: UNCONFIRMED Severity: normal Priority: P2 Compo