From nobody Mon Oct 31 22:35:02 2022 X-Original-To: dev-commits-ports-main@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 4N1Sdg09KNz4ghct; Mon, 31 Oct 2022 22:35:03 +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 4N1Sdf6nFKz3D1Z; Mon, 31 Oct 2022 22:35:02 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1667255702; 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=jehYkVBIXWcVmgJ326cY5HdLeyFQSD/h/RzYUAgvosI=; b=lXL+tyZWFPpzv/G/LcQCiisuCAk+UBzxoNNOQE5uUPGia3nyEnpp5MhabyfNttykuW86ph JUnDh4oljSXLGv0+oitVzv0c/vEa4tX83dPbn9vfAP46rXoDqIDwCBqNz3qgbTL2YIqKlG TsZvLXQJ0h0TLGmu2kN6bGAX01zQWcHAtsz7TSk0uzYYCrKUasYiSXwD8xI+VK28xcHOy4 n+YllEkTAypw0JrkhnxVNGoYfzKU5/kW5eeL4Gy3DJzp/D2K6FWfbKXZIg8znmM8tTS1RR Jznu9UsuOvvkFCA0Itml1sN8SGXOBc5o9Qunv3bxzw45g3M4EQNvU314iUhORQ== 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 4N1Sdf5qyhzskT; Mon, 31 Oct 2022 22:35:02 +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 29VMZ2Bb057339; Mon, 31 Oct 2022 22:35:02 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 29VMZ22d057338; Mon, 31 Oct 2022 22:35:02 GMT (envelope-from git) Date: Mon, 31 Oct 2022 22:35:02 GMT Message-Id: <202210312235.29VMZ22d057338@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Gleb Smirnoff Subject: git: 85afc194241b - main - go.mk: enable PIE build for amd64 only List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: glebius X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 85afc194241b73a9cdf2bf99ede41be39d6a1205 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1667255702; 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=jehYkVBIXWcVmgJ326cY5HdLeyFQSD/h/RzYUAgvosI=; b=hiSUe6MP5+lrDgCpZKF283vPmBzEAUezYN1kqAcRc4ouXu4TyorrM5fUA7cyTeerA1N77o RaeAw9zMurg8w2z+7GdFsHhMSe6lIDBMgBPjgbGQw3TMi2VuoblM8XMfWcUALDaK/TKICd ck9mDFdBAju/0jExWgX1sZw3e72pZ8vPJBrDhww3GNS+Fwz9bCIPCGt/ovY1PDKp6YEEyc yI0083P7PD2XHMYRCQEsjZx+KqZDhehuNTupU6D4i9FqGweieFSb/ov9CjFzBWvxZLuVws 9lga6qW5dUz4Es+N4LAuo8w9HCUb2xUvAjIJ2A9Cpp9S9lKgm43jq4WvXT12og== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1667255702; a=rsa-sha256; cv=none; b=fIzhX/GsE7g78HwcPEumAbsJ1l3ZF29g5K5UEjhTq1INxISpvjBzWW60q9iUiS74Eooqqr o9sZ+m2AG+4UgceYiiuqdrB4y2hZTAinR4Y9rW/fecgcUHpscVq4blvYY//Kczeu1eiWXL iti/JMN9SzEBz1URIn4BbfRXvyhWbRfEVntJnj8cSyn3FkGePRs9DRIc4enMMiUoWQSMkD w2MjrlLQWmtGL30Lso3Y/L6Iyw99efINedYKMUVr+B4HCGPTpcjXr/Qhybmu6Co3dtWoNT 7+/NPSn9+SZWcpLopQvGmXsNvlQWk2CCSCZRP9kouJ8TGuLTDrrcFbyC6sj+rw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by glebius (src committer): URL: https://cgit.FreeBSD.org/ports/commit/?id=85afc194241b73a9cdf2bf99ede41be39d6a1205 commit 85afc194241b73a9cdf2bf99ede41be39d6a1205 Author: Gleb Smirnoff AuthorDate: 2022-10-31 22:34:02 +0000 Commit: Gleb Smirnoff CommitDate: 2022-10-31 22:34:02 +0000 go.mk: enable PIE build for amd64 only So far it has been tested for amd64 only and is known to fail to build at least for arm64. Approved by: bapt --- Mk/Uses/go.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mk/Uses/go.mk b/Mk/Uses/go.mk index 9b075ccf91cd..bbbf3b20938e 100644 --- a/Mk/Uses/go.mk +++ b/Mk/Uses/go.mk @@ -90,7 +90,7 @@ GO_PKGNAME= ${PORTNAME} GO_TARGET?= ${GO_PKGNAME} GO_TESTTARGET?= ./... -.if !defined(PIE_UNSAFE) && defined(WITH_PIE) +.if !defined(PIE_UNSAFE) && defined(WITH_PIE) && ${ARCH} == amd64 GO_BUILDFLAGS+= -buildmode=pie .else GO_BUILDFLAGS+= -buildmode=exe