public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libbacktrace/97082] New: new test 'test' fails for Mach-O/Darwin.
@ 2020-09-17 8:38 iains at gcc dot gnu.org
2020-09-17 8:39 ` [Bug libbacktrace/97082] new test 'mtest' " iains at gcc dot gnu.org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: iains at gcc dot gnu.org @ 2020-09-17 8:38 UTC (permalink / raw)
To: gcc-bugs
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)
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug libbacktrace/97082] new test 'mtest' fails for Mach-O/Darwin.
2020-09-17 8:38 [Bug libbacktrace/97082] New: new test 'test' fails for Mach-O/Darwin iains at gcc dot gnu.org
@ 2020-09-17 8:39 ` iains at gcc dot gnu.org
2020-09-28 20:55 ` cvs-commit at gcc dot gnu.org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: iains at gcc dot gnu.org @ 2020-09-17 8:39 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97082
Iain Sandoe <iains at gcc dot gnu.org> 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
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug libbacktrace/97082] new test 'mtest' fails for Mach-O/Darwin.
2020-09-17 8:38 [Bug libbacktrace/97082] New: new test 'test' fails for Mach-O/Darwin iains at gcc dot gnu.org
2020-09-17 8:39 ` [Bug libbacktrace/97082] new test 'mtest' " iains at gcc dot gnu.org
@ 2020-09-28 20:55 ` cvs-commit at gcc dot gnu.org
2020-09-28 21:26 ` ian at airs dot com
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-09-28 20:55 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97082
--- Comment #1 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Ian Lance Taylor <ian@gcc.gnu.org>:
https://gcc.gnu.org/g:5f394e2d4c66678411c88b297f0db9a828214aef
commit r11-3507-g5f394e2d4c66678411c88b297f0db9a828214aef
Author: Ian Lance Taylor <iant@golang.org>
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.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug libbacktrace/97082] new test 'mtest' fails for Mach-O/Darwin.
2020-09-17 8:38 [Bug libbacktrace/97082] New: new test 'test' fails for Mach-O/Darwin iains at gcc dot gnu.org
2020-09-17 8:39 ` [Bug libbacktrace/97082] new test 'mtest' " iains at gcc dot gnu.org
2020-09-28 20:55 ` cvs-commit at gcc dot gnu.org
@ 2020-09-28 21:26 ` ian at airs dot com
2020-09-29 7:03 ` iains at gcc dot gnu.org
2020-11-14 18:22 ` dominiq at lps dot ens.fr
4 siblings, 0 replies; 6+ messages in thread
From: ian at airs dot com @ 2020-09-28 21:26 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97082
Ian Lance Taylor <ian at airs dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ian at airs dot com
--- Comment #2 from Ian Lance Taylor <ian at airs dot com> ---
Does btest pass? It's hard to see why mtest would fail if btest passes.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug libbacktrace/97082] new test 'mtest' fails for Mach-O/Darwin.
2020-09-17 8:38 [Bug libbacktrace/97082] New: new test 'test' fails for Mach-O/Darwin iains at gcc dot gnu.org
` (2 preceding siblings ...)
2020-09-28 21:26 ` ian at airs dot com
@ 2020-09-29 7:03 ` iains at gcc dot gnu.org
2020-11-14 18:22 ` dominiq at lps dot ens.fr
4 siblings, 0 replies; 6+ messages in thread
From: iains at gcc dot gnu.org @ 2020-09-29 7:03 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97082
--- Comment #3 from Iain Sandoe <iains at gcc dot gnu.org> ---
(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.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug libbacktrace/97082] new test 'mtest' fails for Mach-O/Darwin.
2020-09-17 8:38 [Bug libbacktrace/97082] New: new test 'test' fails for Mach-O/Darwin iains at gcc dot gnu.org
` (3 preceding siblings ...)
2020-09-29 7:03 ` iains at gcc dot gnu.org
@ 2020-11-14 18:22 ` dominiq at lps dot ens.fr
4 siblings, 0 replies; 6+ messages in thread
From: dominiq at lps dot ens.fr @ 2020-11-14 18:22 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97082
--- Comment #4 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
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)
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2020-11-14 18:22 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-17 8:38 [Bug libbacktrace/97082] New: new test 'test' fails for Mach-O/Darwin iains at gcc dot gnu.org
2020-09-17 8:39 ` [Bug libbacktrace/97082] new test 'mtest' " iains at gcc dot gnu.org
2020-09-28 20:55 ` cvs-commit at gcc dot gnu.org
2020-09-28 21:26 ` ian at airs dot com
2020-09-29 7:03 ` iains at gcc dot gnu.org
2020-11-14 18:22 ` dominiq at lps dot ens.fr
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).