[Bug libbacktrace/97082] new test 'mtest' fails for Mach-O/Darwin.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97082 --- Comment #6 from Ian Lance Taylor --- I think that mtest should pass now on Darwin. I think the dwarf5 tests may still be failing. This seems to be because dsymutil does not understand dwarf5, at least on the compile farm macOS machine that I have access to.
[Bug libbacktrace/97082] new test 'mtest' fails for Mach-O/Darwin.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97082 --- Comment #5 from GCC Commits --- The master branch has been updated by Ian Lance Taylor : https://gcc.gnu.org/g:b870086904cfd480cf4297525ece00d169482ec7 commit r15-1984-gb870086904cfd480cf4297525ece00d169482ec7 Author: Ian Lance Taylor Date: Thu Jul 11 17:50:18 2024 -0700 libbacktrace: correctly gather Mach-O symbol table For PR libbacktrace/97082. * macho.c (MACH_O_N_EXT): Don't define. (MACH_O_N_UNDF): Define. (macho_defined_symbol): Don't discard N_EXT symbols. Do discard N_UNDF symbols.
[Bug libbacktrace/97082] new test 'mtest' fails for Mach-O/Darwin.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97082 --- Comment #4 from Dominique d'Humieres --- At r11-5030 I get: = package-unused version-unused: ./test-suite.log = # TOTAL: 21 # PASS: 16 # SKIP: 0 # XFAIL: 0 # FAIL: 5 # XPASS: 0 # ERROR: 0 .. contents:: :depth: 2 FAIL: btest === test2: [0]: missing file name or function name test4: [0]: missing file name or function name test5: NULL syminfo name PASS: backtrace_full noinline FAIL: backtrace_full inline PASS: backtrace_simple noinline FAIL: backtrace_simple inline FAIL: backtrace_syminfo variable FAIL btest (exit status: 1) FAIL: btest_alloc = test2: [0]: missing file name or function name test4: [0]: missing file name or function name test5: NULL syminfo name PASS: backtrace_full noinline FAIL: backtrace_full inline PASS: backtrace_simple noinline FAIL: backtrace_simple inline FAIL: backtrace_syminfo variable FAIL btest_alloc (exit status: 1) FAIL: dwarf5 test1: [0]: missing file name or function name test2: [0]: missing file name or function name test3: [0]: missing file name or function name test4: [0]: missing file name or function name test5: NULL syminfo name FAIL: backtrace_full noinline FAIL: backtrace_full inline FAIL: backtrace_simple noinline FAIL: backtrace_simple inline FAIL: backtrace_syminfo variable FAIL dwarf5 (exit status: 1) FAIL: dwarf5_alloc == test1: [0]: missing file name or function name test2: [0]: missing file name or function name test3: [0]: missing file name or function name test4: [0]: missing file name or function name test5: NULL syminfo name FAIL: backtrace_full noinline FAIL: backtrace_full inline FAIL: backtrace_simple noinline FAIL: backtrace_simple inline FAIL: backtrace_syminfo variable FAIL dwarf5_alloc (exit status: 1) FAIL: mtest === 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)
[Bug libbacktrace/97082] new test 'mtest' fails for Mach-O/Darwin.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97082 --- Comment #3 from Iain Sandoe --- (In reply to Ian Lance Taylor from comment #2) > Does btest pass? It's hard to see why mtest would fail if btest passes. current results [darwin16, darwin19] are: PASS: allocfail.sh PASS: test_elf_32 PASS: test_elf_64 PASS: test_macho PASS: test_xcoff_32 PASS: test_xcoff_64 PASS: test_pecoff PASS: test_unknown PASS: unittest PASS: unittest_alloc FAIL: btest FAIL: btest_alloc PASS: stest PASS: stest_alloc PASS: edtest PASS: edtest_alloc PASS: ttest PASS: ttest_alloc FAIL: dwarf5 FAIL: dwarf5_alloc FAIL: mtest the reason for btest* and mtest fails is unknown at present. Most likely the fails for dwarf5 would relate to whether dsymutil is yet 'dwarf5 aware' .. I believe the debug default for the system toolchain(s) is dwarf4. Using the most recent command line tools (XC12 beta5) on darwin19, dsymutil actually aborts with the dwarf5 input.
[Bug libbacktrace/97082] new test 'mtest' fails for Mach-O/Darwin.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97082 Ian Lance Taylor changed: What|Removed |Added CC||ian at airs dot com --- Comment #2 from Ian Lance Taylor --- Does btest pass? It's hard to see why mtest would fail if btest passes.
[Bug libbacktrace/97082] new test 'mtest' fails for Mach-O/Darwin.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97082 --- Comment #1 from CVS Commits --- The master branch has been updated by Ian Lance Taylor : https://gcc.gnu.org/g:5f394e2d4c66678411c88b297f0db9a828214aef commit r11-3507-g5f394e2d4c66678411c88b297f0db9a828214aef Author: Ian Lance Taylor Date: Mon Sep 28 13:54:57 2020 -0700 libbacktrace: build mtest.dSYM if using dsymutil libbacktrace/ChangeLog: PR libbacktrace/97082 * Makefile.am (check_DATA): Add mtest.dSYM if USE_DSYMUTIL. * Makefile.in: Regenerate.
[Bug libbacktrace/97082] new test 'mtest' fails for Mach-O/Darwin.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97082 Iain Sandoe changed: What|Removed |Added Ever confirmed|0 |1 Target||x86_64-*-darwin Summary|new test 'test' fails for |new test 'mtest' fails for |Mach-O/Darwin. |Mach-O/Darwin. Status|UNCONFIRMED |NEW Last reconfirmed||2020-09-17