|
From: | hjl.tools at gmail dot com |
Subject: | [Bug ld/23591] undefined reference to `__start___sancov_cntrs' when building with clang + asan + fuzzing + ld.bfd |
Date: | Thu, 30 Aug 2018 04:17:30 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=23591 H.J. Lu <hjl.tools at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2018-08-30 Ever confirmed|0 |1 --- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> --- (In reply to Mike Hommey from comment #1) > 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 condition in undef_start_stop > (bfs_abs_section_ptr->owner != link_info.output_bfd), which then marks the > __start/__stop symbols as undefined. >From gABI: SHT_GROUP This section defines a section group. A section group is a set of sections that are related and that must be treated specially by the linker (see below for further details). Sections of type SHT_GROUP may appear only in relocatable objects (objects with the ELF header e_type member set to ET_REL). The section header table entry for a group section must appear in the section header table before the entries for any of the sections that are members of the group. How were __sancov_cntrs sections generated? -- You are receiving this mail because: You are on the CC list for the bug.
[Prev in Thread] | Current Thread | [Next in Thread] |