[Bug 246537] lib.libexecinfo.backtrace_test.backtrace_fmt_basic starts failing on amd64 after r360915
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 29 Jun 2023 16:39:34 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246537
--- Comment #19 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=c969310c992a12459ed4025c1cd8b22f29c763b5
commit c969310c992a12459ed4025c1cd8b22f29c763b5
Author: Dmitry Chagin <dchagin@FreeBSD.org>
AuthorDate: 2023-06-29 16:34:39 +0000
Commit: Dmitry Chagin <dchagin@FreeBSD.org>
CommitDate: 2023-06-29 16:34:39 +0000
csu: Implement _start using as to satisfy unwinders on x86_64
The right unwinding stop indicator should be CFI-undefined PC.
https://dwarfstd.org/doc/Dwarf3.pdf - page 118:
If a Return Address register is defined in the virtual unwind table,
and its rule is undefined (for example, by DW_CFA_undefined), then
there is no return address and no call address, and the virtual
unwind of stack activations is complete.
This requires the crt code be built with unwind tables, for that remove
-fno-asynchronous-unwind-tables to enable unwind tables generation.
PR: 241562, 246322, 246537
Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D40780
lib/csu/Makefile.inc | 20 +++++-----
lib/csu/amd64/Makefile | 3 ++
lib/csu/amd64/crt1_c.c | 22 -----------
lib/csu/amd64/crt1_s.S (new) | 88 ++++++++++++++++++++++++++++++++++++++++++++
4 files changed, 102 insertions(+), 31 deletions(-)
--
You are receiving this mail because:
You are the assignee for the bug.