public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "syq at debian dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/99488] dwz: /usr/lib/gcc/mips64el-linux-gnuabi64/11/go1: Found two copies of .debug_line_str section Date: Wed, 23 Jun 2021 07:51:58 +0000 [thread overview] Message-ID: <bug-99488-4-MyBNXN5fv6@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-99488-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99488 --- Comment #14 from YunQiang Su <syq at debian dot org> --- The problem sees due to some problem of LTO. Index: binutils-2.36.50.20210618/bfd/elfxx-mips.c =================================================================== --- binutils-2.36.50.20210618.orig/bfd/elfxx-mips.c +++ binutils-2.36.50.20210618/bfd/elfxx-mips.c @@ -7448,7 +7448,9 @@ _bfd_mips_elf_section_from_shdr (bfd *ab break; case SHT_MIPS_DWARF: if (! startswith (name, ".debug_") - && ! startswith (name, ".zdebug_")) + && ! startswith (name, ".gnu.debuglto_.debug_") + && ! startswith (name, ".zdebug_") + && ! startswith (name, ".gnu.debuglto_..zdebug_")) return false; break; case SHT_MIPS_SYMBOL_LIB: @@ -7669,7 +7671,9 @@ _bfd_mips_elf_fake_sections (bfd *abfd, hdr->sh_entsize = sizeof (Elf_External_ABIFlags_v0); } else if (startswith (name, ".debug_") - || startswith (name, ".zdebug_")) + || startswith (name, ".gnu.debuglto_.debug_") + || startswith (name, ".zdebug_") + || startswith (name, ".gnu.debuglto_.zdebug_")) { hdr->sh_type = SHT_MIPS_DWARF;
next prev parent reply other threads:[~2021-06-23 7:51 UTC|newest] Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-03-09 11:19 [Bug target/99488] New: " doko at debian dot org 2021-03-09 11:20 ` [Bug target/99488] " doko at debian dot org 2021-03-09 13:54 ` jakub at gcc dot gnu.org 2021-03-11 15:55 ` mark at gcc dot gnu.org 2021-03-11 16:00 ` jakub at gcc dot gnu.org 2021-03-15 11:51 ` doko at debian dot org 2021-03-15 11:53 ` doko at debian dot org 2021-03-15 12:21 ` jakub at gcc dot gnu.org 2021-03-15 12:37 ` mark at gcc dot gnu.org 2021-03-15 12:41 ` jakub at gcc dot gnu.org 2021-03-23 6:58 ` syq at debian dot org 2021-04-18 1:22 ` syq at debian dot org 2021-04-23 10:03 ` syq at debian dot org 2021-06-21 8:30 ` syq at debian dot org 2021-06-23 7:51 ` syq at debian dot org [this message] 2021-06-23 8:04 ` pinskia at gcc dot gnu.org 2021-06-23 8:29 ` jakub at gcc dot gnu.org 2021-06-24 2:41 ` syq at debian dot org 2021-06-24 2:43 ` syq at debian dot org 2021-06-24 8:11 ` syq at debian dot org 2021-06-24 8:15 ` syq at debian dot org 2021-06-24 8:17 ` pinskia at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-99488-4-MyBNXN5fv6@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).