From nobody Tue Feb 8 12:28:13 2022 X-Original-To: dev-commits-src-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id E161019A7A29; Tue, 8 Feb 2022 12:28:13 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JtMjn4561z4XH4; Tue, 8 Feb 2022 12:28:13 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644323293; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=gGlhKEg9ypJak9UhCqAWWZrzVFL6aZ88Qt3juRp+6iY=; b=VHx27v0QeQ6a6f1lJMsU4beikS93OAGe1lx2m/Mt9lwF7+Ytf0a+pogPrS7/HvJsxLQHFg tyMMFZk5HunWGUiX4wE5DOq2XTZ7XQ4KjqzkoV2exROYo6z5VzT8Nxjs0taembwDbDgWC3 X7ahxzo1w8tdS0S5cJ8/XgLoMjO+UbXDqwHZpzNjPYzV7SLt8KH+mcdQ7lS6R+hJF5uoxx Aq+OeMAAAJe1z7VkR+iCUzeCSdUwEZh8MIhRhqSUgR/JlSCodEfFKe9dv/NB+K/NPBr6ny kS8wANIRJTtl1X0xoSzAg6EZZafF/8Qat+KB6bprj268ewF/+WgyevtoW2IdfA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5A7161952B; Tue, 8 Feb 2022 12:28:13 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 218CSDbc093908; Tue, 8 Feb 2022 12:28:13 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 218CSDkS093907; Tue, 8 Feb 2022 12:28:13 GMT (envelope-from git) Date: Tue, 8 Feb 2022 12:28:13 GMT Message-Id: <202202081228.218CSDkS093907@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Piotr Kubaj Subject: git: 8c56b338da74 - stable/13 - riscv64: enable ASAN and UBSAN List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: pkubaj X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 8c56b338da744b174f31809c4514e06350bf6360 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644323293; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=gGlhKEg9ypJak9UhCqAWWZrzVFL6aZ88Qt3juRp+6iY=; b=vVFiIcVtUIFuSDL4dsyg/UqYR8K71gK4GDZnn6fwXJTaC0Ew2hy9md3O86LkVGXyR1Je2b ob1AudidxRgs5bp/19rd1f+kXteVR2XlSKz03ib9CM9rDRDXPWqrIP+EplIlPC90hSvyQB qaZkdFW6MEbwvQgXrUrGOTERFAwGOjwwjXdrOtOsVk+EwVWCSZzZSw0gNHxioOS8mrSieB iuUjKh/GB6A3rj6fKzTsvERORbnZ2t3O9yPPU4+Nlrycr+/zA18O50sg3HZ/jVBJQMmv4u HcR+XS4o+WxwMuOUE006yd7fj1vZxMAcal2S9dSbt3GnUGXn1dHnkad2dpdjqg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1644323293; a=rsa-sha256; cv=none; b=DpyxL2cE1ftBKC8cC0FUlqr972SBO21q4D4kt90Vr9JjuGN4RJWPV7bfYDAtFbEQnUKF8S S1edjl5ClcEKOyKhBeU44+ZNQa9xohwf09cpgzGoXTUEuW8hit/3//yOb8vGzpbpZSmlTK CeS97GC/MMCOD9zLcHiXQFlPXPN+IK0uMYfxPwq7JwdRduN9TPBOd2kI/tg7Hexwker5k3 /d9mqQwIc9BDSxk60mXB5cJFFDgUp+m50gxU9YGh0QTb5c5Po2a/R3/LPLHjuTAHohCyR6 yn2+L+MHw8WmcJiAVVb1OqPs4Y4ePpS7GcZXQdVkrZYX8Rb3IxikmUQrTmI4rQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by pkubaj (ports committer): URL: https://cgit.FreeBSD.org/src/commit/?id=8c56b338da744b174f31809c4514e06350bf6360 commit 8c56b338da744b174f31809c4514e06350bf6360 Author: Piotr Kubaj AuthorDate: 2022-01-14 00:28:55 +0000 Commit: Piotr Kubaj CommitDate: 2022-02-08 12:26:03 +0000 riscv64: enable ASAN and UBSAN Differential review: https://reviews.freebsd.org/D33875 Approved by: dim, imp (cherry picked from commit 9fc131426694387dda365c8624ddc85cb567d727) --- lib/libclang_rt/Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lib/libclang_rt/Makefile b/lib/libclang_rt/Makefile index c1c72299bdf7..ca0796b0e65d 100644 --- a/lib/libclang_rt/Makefile +++ b/lib/libclang_rt/Makefile @@ -30,6 +30,16 @@ SUBDIR+= xray-fdr SUBDIR+= xray-profiling .endif # amd64 +.if ${MACHINE_CPUARCH} == "riscv" +SUBDIR+= asan +SUBDIR+= asan-preinit +SUBDIR+= asan_cxx +SUBDIR+= asan_dynamic +SUBDIR+= ubsan_minimal +SUBDIR+= ubsan_standalone +SUBDIR+= ubsan_standalone_cxx +.endif # riscv + SUBDIR+= profile SUBDIR_PARALLEL=