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

2018-09-03 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=23591 --- Comment #11 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Alan Modra : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=0d9a433be406220413671495a9b0fab577a48b5e commit 0d9a433be406220413671495a9b0

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

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

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

2018-08-31 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=23591 --- Comment #9 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by H.J. Lu : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=4d1c6335455aeeda9de8a5eb58998f919ea35a1e commit 4d1c6335455aeeda9de8a5eb58998f91

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

2018-08-31 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=23591 H.J. Lu changed: What|Removed |Added Attachment #11219|0 |1 is obsolete|

[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 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 ld/23591] undefined reference to `__start___sancov_cntrs' when building with clang + asan + fuzzing + ld.bfd

2018-08-29 Thread mh-sourceware at glandium dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=23591 --- Comment #1 from Mike Hommey --- It seems to be due to most __sancov_cntrs sections having the SHT_GROUP flag. This makes _bfd_elf_section_already_linked set the section's output_section to bfd_abs_section_ptr, which then fulfils the condit