From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 112119 invoked by alias); 24 Apr 2017 14:53:59 -0000 Mailing-List: contact elfutils-devel-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Post: List-Help: List-Subscribe: Sender: elfutils-devel-owner@sourceware.org Received: (qmail 112060 invoked by uid 89); 24 Apr 2017 14:53:58 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Checked: by ClamAV 0.99.2 on sourceware.org X-Virus-Found: No X-Spam-SWARE-Status: No, score=-15.3 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_0,GIT_PATCH_1,KAM_LAZY_DOMAIN_SECURITY autolearn=ham version=3.3.2 spammy=HTo:D*io, H*F:U*mark X-Spam-Status: No, score=-15.3 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_0,GIT_PATCH_1,KAM_LAZY_DOMAIN_SECURITY autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on sourceware.org X-Spam-Level: X-HELO: gnu.wildebeest.org Message-ID: <1493045634.31726.25.camel@klomp.org> Subject: Re: [PATCH v2] Add frame pointer unwinding for aarch64 From: Mark Wielaard To: Ulf Hermann Cc: elfutils-devel@sourceware.org Date: Tue, 25 Apr 2017 12:40:00 -0000 In-Reply-To: <1b3a1a6b-5ea2-e6c1-e555-0034b7d43e57@qt.io> References: <1b3a1a6b-5ea2-e6c1-e555-0034b7d43e57@qt.io> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Evolution 3.12.11 (3.12.11-22.el7) Mime-Version: 1.0 X-SW-Source: 2017-q2/txt/msg00077.txt.bz2 On Thu, 2017-04-20 at 14:41 +0200, Ulf Hermann wrote: > diff --git a/tests/backtrace.aarch64.fp.core.bz2 b/tests/backtrace.aarch6= 4.fp.core.bz2 > new file mode 100644 > index 0000000..ef628af > Binary files /dev/null and b/tests/backtrace.aarch64.fp.core.bz2 differ > diff --git a/tests/backtrace.aarch64.fp.exec.bz2 b/tests/backtrace.aarch6= 4.fp.exec.bz2 > new file mode 100755 > index 0000000..69ba887 > Binary files /dev/null and b/tests/backtrace.aarch64.fp.exec.bz2 differ I got these separately. I assume they are as in the email you sent on Mon, 10 Apr 2017 14:48:06 +0200 (which didn't hit the list because it had the binaries attached...) I'll but them on my mjw/fp-unwind branch (which I am rewriting currently, not pushed yet). > diff --git a/tests/run-backtrace-fp-core-aarch64.sh b/tests/run-backtrace= -fp-core-aarch64.sh > +# The binary is generated by compiling backtrace-child without debug > +# information, but with -fno-omit-frame-pointer. > +# > +# gcc -static -O2 -fno-omit-frame-pointer -D_GNU_SOURCE \ > +# -pthread -o backtrace.aarch64.fp.exec backtrace-child.c \ > +# > +# Then strip the .eh_frame and .eh_frame_hdr sections from the binary: > +# > +# strip -R .eh_frame backtrace.aarch64.fp.exec > +# strip -R .eh_frame_hdr backtrace.aarch64.fp.exec > +# > +# The core is generated by calling the binary with --gencore This description doesn't seem to match anymore. Should this be: # The binary is generated by compiling with eh_frame CFI, but with frame # pointers. # # gcc -static -O2 -fno-omit-frame-pointer -fno-asynchronous-unwind-tables \ # -D_GNU_SOURCE -pthread -o tests/backtrace.x86_64.fp.exec -I. -Ilib \ # tests/backtrace-child.c # # The core is generated by calling the binary with --gencore Thanks, Mark