public inbox for debugedit@sourceware.org
 help / color / mirror / Atom feed
* [Bug debugedit/28599] New: 5.0 test failures on mips64el-linux-gnu
@ 2021-11-17 15:50 doko at debian dot org
  2021-11-17 15:50 ` [Bug debugedit/28599] " doko at debian dot org
  2021-11-17 18:37 ` mark at klomp dot org
  0 siblings, 2 replies; 3+ messages in thread
From: doko at debian dot org @ 2021-11-17 15:50 UTC (permalink / raw)
  To: debugedit

https://sourceware.org/bugzilla/show_bug.cgi?id=28599

            Bug ID: 28599
           Summary: 5.0 test failures on mips64el-linux-gnu
           Product: debugedit
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: debugedit
          Assignee: unassigned at sourceware dot org
          Reporter: doko at debian dot org
                CC: debugedit at sourceware dot org
  Target Milestone: ---

5.0 test failures on mips64el-linux-gnu


/bin/bash ./testsuite 
## ------------------------- ##
## debugedit 5.0 test suite. ##
## ------------------------- ##

debugedit

  1: debugedit help                                  ok
  2: debugedit usage                                 ok
  3: debugedit executable                            ok
  4: debugedit .debug_str objects DWARF4             FAILED (debugedit.at:110)
  5: debugedit .debug_str/line_str objects DWARF5    FAILED (debugedit.at:143)
  6: debugedit .debug_str partial DWARF4             FAILED (debugedit.at:174)
  7: debugedit .debug_str/line_str partial DWARF5    FAILED (debugedit.at:206)
  8: debugedit .debug_str exe DWARF4                 ok
  9: debugedit .debug_str/line_str exe DWARF5        ok
 10: debugedit .debug_info objects                   FAILED (debugedit.at:307)
 11: debugedit .debug_info partial                   FAILED (debugedit.at:329)
 12: debugedit .debug_info exe                       ok
 13: debugedit .debug_types objects                  ok
 14: debugedit .debug_types partial                  FAILED (debugedit.at:416)
 15: debugedit .debug_types exe                      ok
 16: debugedit .debug_line objects DWARF4            ok
 17: debugedit .debug_line objects DWARF5            skipped (debugedit.at:491)
 18: debugedit .debug_line partial DWARF4            FAILED (debugedit.at:524)
 19: debugedit .debug_line partial DWARF5            skipped (debugedit.at:540)
 20: debugedit .debug_line exe DWARF4                ok
 21: debugedit .debug_line exe DWARF5                skipped (debugedit.at:587)
 22: debugedit .debug_macro objects                  ok
 23: debugedit .debug_macro partial                  FAILED (debugedit.at:645)
 24: debugedit .debug_macro exe                      ok
 25: debugedit --list-file DWARF4                    ok
 26: debugedit --list-file DWARF5                    ok

## ------------- ##
## Test results. ##
## ------------- ##

ERROR: 23 tests were run,
9 failed unexpectedly.
3 tests were skipped.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Bug debugedit/28599] 5.0 test failures on mips64el-linux-gnu
  2021-11-17 15:50 [Bug debugedit/28599] New: 5.0 test failures on mips64el-linux-gnu doko at debian dot org
@ 2021-11-17 15:50 ` doko at debian dot org
  2021-11-17 18:37 ` mark at klomp dot org
  1 sibling, 0 replies; 3+ messages in thread
From: doko at debian dot org @ 2021-11-17 15:50 UTC (permalink / raw)
  To: debugedit

https://sourceware.org/bugzilla/show_bug.cgi?id=28599

Matthias Klose <doko at debian dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |mips64el-linux-gnu

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Bug debugedit/28599] 5.0 test failures on mips64el-linux-gnu
  2021-11-17 15:50 [Bug debugedit/28599] New: 5.0 test failures on mips64el-linux-gnu doko at debian dot org
  2021-11-17 15:50 ` [Bug debugedit/28599] " doko at debian dot org
@ 2021-11-17 18:37 ` mark at klomp dot org
  1 sibling, 0 replies; 3+ messages in thread
From: mark at klomp dot org @ 2021-11-17 18:37 UTC (permalink / raw)
  To: debugedit

https://sourceware.org/bugzilla/show_bug.cgi?id=28599

Mark Wielaard <mark at klomp dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mark at klomp dot org

--- Comment #1 from Mark Wielaard <mark at klomp dot org> ---
I am not sure what is going wrong here.

The is some special case code for MIPS in tools/debugedit.c:

      case SHT_MIPS_DWARF:
        /* According to the specification, all MIPS .debug_* sections are
           marked with ELF type SHT_MIPS_DWARF. As SHT_MIPS_DWARF is from
           processor-specific range, we have to check that we're actually
           dealing with MIPS ELF file before handling such sections.  */
        if (dso->ehdr.e_machine != EM_MIPS
            && dso->ehdr.e_machine != EM_MIPS_RS3_LE) {
          break;
        }

Maybe that needs updating for mips64?

There also is no specific handling of MIPS relocations in relbuf_setup.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

end of thread, other threads:[~2021-11-17 18:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-17 15:50 [Bug debugedit/28599] New: 5.0 test failures on mips64el-linux-gnu doko at debian dot org
2021-11-17 15:50 ` [Bug debugedit/28599] " doko at debian dot org
2021-11-17 18:37 ` mark at klomp dot 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).