Skip to content

Test suite failures on macOS 12 #123

@bhaible

Description

@bhaible

On a macOS 12.5 machine, building libbacktrace (current git HEAD) and running "make check" produces 7 test failures:

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
FAIL: edtest
FAIL: edtest_alloc
PASS: ttest
PASS: ttest_alloc
FAIL: dwarf5
FAIL: dwarf5_alloc
FAIL: mtest
============================================================================
Testsuite summary for package-unused version-unused
============================================================================
# TOTAL: 21
# PASS:  14
# SKIP:  0
# XFAIL: 0
# FAIL:  7
# XPASS: 0
# ERROR: 0
============================================================================
See ./test-suite.log
============================================================================

Here is the test-suite.log:
test-suite.log.gz

It seems that the compiler and tooling don't support dwarf 5 well.
When configured with libbacktrace_cv_lib_dwarf5=no ./configure, there are only 5 test failures:

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
FAIL: edtest
FAIL: edtest_alloc
PASS: ttest
PASS: ttest_alloc
FAIL: mtest
============================================================================
Testsuite summary for package-unused version-unused
============================================================================
# TOTAL: 19
# PASS:  14
# SKIP:  0
# XFAIL: 0
# FAIL:  5
# XPASS: 0
# ERROR: 0
============================================================================
See ./test-suite.log
============================================================================

To reproduce, you can use the cfarm104 machine of the GCC compile farm https://portal.cfarm.net/ . Alternatively, macOS 12 machines are also available through GitHub actions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions