public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/99090] New: gsplit-dwarf broken on riscv64-linux
@ 2021-02-13 21:20 wilson at gcc dot gnu.org
  2021-02-26 11:59 ` [Bug debug/99090] " jakub at gcc dot gnu.org
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: wilson at gcc dot gnu.org @ 2021-02-13 21:20 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99090

            Bug ID: 99090
           Summary: gsplit-dwarf broken on riscv64-linux
           Product: gcc
           Version: 10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
          Assignee: unassigned at gcc dot gnu.org
          Reporter: wilson at gcc dot gnu.org
  Target Milestone: ---

Enabling -gsplit-dwarf by default and trying a build hits an assert in
dw2_asm_output_delta_uleb128 because HAVE_AS_LEB128 is not defined.

The problem appears to be in output_loc_list in dwarf2out.c which has in the
dwarf_split_debug_info code
              /* FIXME: This will ICE ifndef HAVE_AS_LEB128.                    
                 For that case we probably need to emit DW_LLE_startx_endx,     
                 but we'd need 2 .debug_addr entries rather than just one.  */

riscv doesn't allow leb128 because of agressive linker relaxation, so we need
the alternative solution here that works without HAVE_AS_LEB128.

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2022-11-28 22:31 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-13 21:20 [Bug debug/99090] New: gsplit-dwarf broken on riscv64-linux wilson at gcc dot gnu.org
2021-02-26 11:59 ` [Bug debug/99090] " jakub at gcc dot gnu.org
2021-02-26 16:34 ` wilson at gcc dot gnu.org
2021-02-26 17:50 ` jakub at gcc dot gnu.org
2021-02-26 18:24 ` jakub at gcc dot gnu.org
2021-02-27  2:35 ` wilson at gcc dot gnu.org
2021-03-03  8:54 ` cvs-commit at gcc dot gnu.org
2021-03-03  8:58 ` jakub at gcc dot gnu.org
2021-08-20 21:34 ` belyshev at depni dot sinp.msu.ru
2021-09-11 18:48 ` pinskia at gcc dot gnu.org
2022-11-18 22:58 ` law at gcc dot gnu.org
2022-11-28 22:31 ` pinskia at gcc dot gnu.org

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).