From nobody Tue Dec 21 15:00:31 2021 X-Original-To: dev-commits-src-all@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 9A4521908D3A; Tue, 21 Dec 2021 15:00:31 +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 4JJKQ72bxcz3lZh; Tue, 21 Dec 2021 15:00:31 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 391E3384C; Tue, 21 Dec 2021 15:00:31 +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 1BLF0Vdp042686; Tue, 21 Dec 2021 15:00:31 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BLF0VSL042685; Tue, 21 Dec 2021 15:00:31 GMT (envelope-from git) Date: Tue, 21 Dec 2021 15:00:31 GMT Message-Id: <202112211500.1BLF0VSL042685@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Dimitry Andric Subject: git: cc503d617eb6 - stable/12 - libproc tests: allow dollars in identifiers for gcc List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dim X-Git-Repository: src X-Git-Refname: refs/heads/stable/12 X-Git-Reftype: branch X-Git-Commit: cc503d617eb671f159e7fa5b8a82e3730d07ba6e Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1640098831; 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=8XkvBmCTaZ8Ix+iw+2QV5FX0aU35L4jY6vcQykW5FLY=; b=gMILNu3Fvt8xEWA4Z1mXYxRBWw6HRHMgCAnyeNcnNtB1tEGqonNJWfGW2RpEzWrOm0iMRN FwOtyTrXO3ycIie+NXfDwW49fNdUmCidyx5qRZEdfI60t5JW5SHSpNzpL2g+YiJYS9+1lp FiZVczTnPwjiAnsxn5TD1hbxAIvfAI7RlnO1Ixt1iGaIcPgY2TdmdfAbXAhl5QvjgM/rUZ KI6VehB7XirYIhbR5uZLdPO2OJQbw66SX9RidZaf3FtnCqoafV8BmqPHKB2v4K7I60s6if 05LPN9cdT55Uq2cY5nCCTTVTprG7gBGFIPbF7EuC+AtRxvAd8PzzOxAQ1S2hug== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1640098831; a=rsa-sha256; cv=none; b=R0SDrz9LF67SIGjs8I9UGtxdsiHnIjTEWZrm6vC77Z7zeqKg0erlnxRnhkdhIwi5IAhiMp mGdklbMAjX72wzBZMnpL2LcXWmkEr8Pf303uvdhAv9RHHrz7BaB6v0yWPrmDSwFH34A4/q tRJjLRKVdOgD+lt3JlpmlJAQ0z9w3f+P6BCCgtQxEF841Tzs6JLyQhQFlbZArPUYSgDnxR ltPa2AhQ0VVAjxceMiqhtf67mfsJ72wu+Jba7UeKmUgTH8CUm7x+mSV2SPTghxGKZUaAwB rKRZqWftOFg2kmzOlcfOtP4U/svtCCa1Zw0Dd0eNXinRQYW6dpnK5TXeAOy2cA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/12 has been updated by dim: URL: https://cgit.FreeBSD.org/src/commit/?id=cc503d617eb671f159e7fa5b8a82e3730d07ba6e commit cc503d617eb671f159e7fa5b8a82e3730d07ba6e Author: Dimitry Andric AuthorDate: 2021-12-21 14:55:48 +0000 Commit: Dimitry Andric CommitDate: 2021-12-21 14:55:48 +0000 libproc tests: allow dollars in identifiers for gcc Older versions of gcc require the -fdollars-in-identifiers option to compile the target of the libproc test, otherwise it will complain about the $qux identifier used. Direct commit to stable/12, since that still has gcc 4.2.1, and later versions of gcc do not complain by default. --- lib/libproc/tests/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/libproc/tests/Makefile b/lib/libproc/tests/Makefile index 8c7563a33ca6..ed1ff90ce212 100644 --- a/lib/libproc/tests/Makefile +++ b/lib/libproc/tests/Makefile @@ -14,4 +14,6 @@ LIBADD= elf proc rtld_db util STRIP= CFLAGS.target_prog.c+= -O0 +CFLAGS.gcc+= -fdollars-in-identifiers + .include