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

            Bug ID: 97082
           Summary: new test 'test' fails for Mach-O/Darwin.
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libbacktrace
          Assignee: unassigned at gcc dot gnu.org
          Reporter: iains at gcc dot gnu.org
                CC: ian at gcc dot gnu.org
  Target Milestone: ---

Assuming that this test is expected to be usable on Darwin.

========
I added the following patch to get dsymutil run on the test:

diff --git a/libbacktrace/Makefile.am b/libbacktrace/Makefile.am
index 4d349386c9b..afa1134e963 100644
--- a/libbacktrace/Makefile.am
+++ b/libbacktrace/Makefile.am
@@ -484,6 +484,10 @@ mtest_LDADD = libbacktrace.la

 BUILDTESTS += mtest

+if HAVE_DSYMUTIL
+check_DATA += mtest.dSYM
+endif HAVE_DSYMUTIL
+
 if HAVE_MINIDEBUG

 TESTS += mtest_minidebug

========
the log output is still:

test5: unexpected syminfo name got dwarf_section_names expected global
PASS: backtrace_full noinline
PASS: backtrace_simple noinline
FAIL: backtrace_syminfo variable
FAIL mtest (exit status: 1)

Reply via email to