NetBSD Problem Report #59301
From www@netbsd.org Wed Apr 16 01:44:53 2025
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256
client-signature RSA-PSS (2048 bits) client-digest SHA256)
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 0081C1A9239
for <gnats-bugs@gnats.NetBSD.org>; Wed, 16 Apr 2025 01:44:52 +0000 (UTC)
Message-Id: <20250416014451.940B61A923D@mollari.NetBSD.org>
Date: Wed, 16 Apr 2025 01:44:51 +0000 (UTC)
From: campbell+netbsd@mumble.net
Reply-To: campbell+netbsd@mumble.net
To: gnats-bugs@NetBSD.org
Subject: riscv: missing MKPROFILE=yes support
X-Send-Pr-Version: www-1.0
>Number: 59301
>Category: port-riscv
>Synopsis: riscv: missing MKPROFILE=yes support
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: port-riscv-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Apr 16 01:45:00 +0000 2025
>Last-Modified: Wed Apr 16 01:55:01 +0000 2025
>Originator: Taylor R Campbell
>Release: current
>Organization:
The ProfileBSD Riscvation
>Environment:
>Description:
We always set MKPROFILE=no on riscv:
930 # No profiling for or1k or risc-v (yet)
931 MKPROFILE.or1k= no
932 MKPROFILE.riscv32=no
933 MKPROFILE.riscv64=no
https://nxr.netbsd.org/xref/src/share/mk/bsd.own.mk?r=1.1414#930
>How-To-Repeat:
cc -pg
cd /usr/tests/usr.bin/cc
atf-run t_hello:hello_profile | atf-report
>Fix:
Yes, please!
>Audit-Trail:
From: "Taylor R Campbell" <riastradh@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/59301 CVS commit: src/tests/usr.bin
Date: Wed, 16 Apr 2025 01:52:42 +0000
Module Name: src
Committed By: riastradh
Date: Wed Apr 16 01:52:42 UTC 2025
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:
tests/usr.bin/*: Mark profiling tests xfail on riscv.
PR port-riscv/59301: riscv: missing MKPROFILE=yes support
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 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.7 -r1.8 src/tests/usr.bin/c++/t_cxxruntime.sh \
src/tests/usr.bin/c++/t_hello.sh
cvs rdiff -u -r1.12 -r1.13 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.
(Contact us)
$NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2025
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.