NetBSD Problem Report #55588
From martin@aprisoft.de Wed Aug 19 10:11:27 2020
Return-Path: <martin@aprisoft.de>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 741141A9217
for <gnats-bugs@gnats.NetBSD.org>; Wed, 19 Aug 2020 10:11:27 +0000 (UTC)
Message-Id: <20200819101119.6DE435CC7A5@emmas.aprisoft.de>
Date: Wed, 19 Aug 2020 12:11:19 +0200 (CEST)
From: martin@NetBSD.org
Reply-To: martin@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: profiled code now works on aarch64?
X-Send-Pr-Version: 3.95
>Number: 55588
>Category: toolchain
>Synopsis: profiled code now works on aarch64?
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: toolchain-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Aug 19 10:15:00 +0000 2020
>Closed-Date: Sat Oct 17 06:09:08 +0000 2020
>Last-Modified: Sat Oct 17 06:09:08 +0000 2020
>Originator: Martin Husemann
>Release: NetBSD 9.99.71
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD h-pulse.aprisoft.de 9.99.71 NetBSD 9.99.71 (GENERIC64) #153: Tue Aug 18 19:44:24 CEST 2020 martin@seven-days-to-the-wolves.aprisoft.de:/work/src/sys/arch/evbarm/compile/GENERIC64 evbarm
Architecture: aarch64
Machine: evbarm
>Description:
The src/tests/usr.bin/cc/t_hello test case has this:
case `uname -p` in
aarch64)
atf_expect_fail 'cc -pg is busted on aarch64'
;;
But the test nevertheless succeeds in -current. Either the compiler update
or some other change have fixed it?
>How-To-Repeat:
s/a
>Fix:
n/a
>Release-Note:
>Audit-Trail:
From: Rin Okuyama <rokuyama.rk@gmail.com>
To: gnats-bugs@netbsd.org, toolchain-manager@netbsd.org,
gnats-admin@netbsd.org, netbsd-bugs@netbsd.org
Cc:
Subject: Re: toolchain/55588: profiled code now works on aarch64?
Date: Sat, 17 Oct 2020 15:03:01 +0900
-------- Forwarded Message --------
Subject: CVS commit: src/tests/usr.bin
Date: Tue, 13 Oct 2020 06:49:27 +0000
From: Rin Okuyama <rin@netbsd.org>
Reply-To: source-changes-d@NetBSD.org
To: source-changes-full@NetBSD.org
Module Name: src
Committed By: rin
Date: Tue Oct 13 06:49:27 UTC 2020
Modified Files:
src/tests/usr.bin/c++: t_call_once.sh t_cxxruntime.sh t_hello.sh
t_pthread_once.sh t_static_destructor.sh
src/tests/usr.bin/cc: t_hello.sh
Log Message:
Now, profiling works for GCC9 on aarch64{,eb}.
Note that it seems to work even for GCC8, according to log data of
official test runs, e.g.,
https://releng.netbsd.org/b5reports/evbarm-aarch64/2020/2020.09.01.15.45.20/test.log
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/tests/usr.bin/c++/t_call_once.sh \
src/tests/usr.bin/c++/t_pthread_once.sh \
src/tests/usr.bin/c++/t_static_destructor.sh
cvs rdiff -u -r1.4 -r1.5 src/tests/usr.bin/c++/t_cxxruntime.sh \
src/tests/usr.bin/c++/t_hello.sh
cvs rdiff -u -r1.9 -r1.10 src/tests/usr.bin/cc/t_hello.sh
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->closed
State-Changed-By: rin@NetBSD.org
State-Changed-When: Sat, 17 Oct 2020 06:09:08 +0000
State-Changed-Why:
Profiled codes are confirmed working on aarch64{,eb}.
Tests have been fixed accordingly.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.