From nobody Mon Oct 9 07:43:45 2023 X-Original-To: dev-commits-ports-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 4S3rd26NQTz4wtcb; Mon, 9 Oct 2023 07:43:50 +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 4S3rd12bsZz3KkV; Mon, 9 Oct 2023 07:43:49 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1696837429; 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=jvQUFoTioKRgZa38jSta1rt6gcRQvjk5P41zwRfBEJE=; b=bncDG2tAaKKKZjYe2aUNcWsFC+gHPHUpxcT7rUbTP/gp9C5ClU55AQDLUFb7/WlNv4YvQp q047wFfxF3RqfhzhC1MrbDL0J/tmWkFkUnEQkqN99h27cGu51P6X8EYZPoE0XZTCfwe3x3 9BZ1SuE5irWn2jkVoGdJ0QBhDLJfZc3PNgUeHl2YM4a0OqofJSE4x1T3Hb6O0Cr0ozL2lq aoY4WANtI2r2J0FMxELJMv3ff24lHnC0fRysbeGW+4Hh/O+B7AIEukmL8yx/3Qp1jwBNFD Pjwgrr7+lTHLxcXp4+CVcyAyDaRvbQXJjq+fAnFmbDP2r3lVPQrkRAsmxiq1iQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1696837429; a=rsa-sha256; cv=none; b=POYZikoUxB3QwWTfsdQFge6Ig1TvhRSrhrLbebllo/c+26t577q8ENqiPHCRrrqidAiXen lUTm1I81VLKmC1BYArPVaEWd0WC/hCZL6bxXLX5ITrBuL4Ue8U2rxybAofgTXGLp6CvzPg c9OFD1AhG/vWjFSXK1BuT8XCHsOzb2i09WLGaM9WbrQdcncaq9y6Rb3vK0tKjVLcjaMFvB 64A1ovOunIuGswLQa2jRnueZRXkMKgLXd5quzOokc3sk4eCskSTY67zsVN7qiBYXi6jPHC Qa5D2yoYGn0FgKf46+LzcmKgmBuT7T+ca/1rn4nG1TZCaLsPOz39tvFdd+cS1g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1696837429; 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=jvQUFoTioKRgZa38jSta1rt6gcRQvjk5P41zwRfBEJE=; b=G+74gZ9dBXkGFRqbdFCTfxPR1qM4OEe0G+lkB1ncTuzlYWfVwYuV2w+fPa7BljnERbhRd1 ZvcPnh15CIKgGny2DlHiPQCdwZP+sDBpm9PEn02Hcb2pGKbEpXDq0V8iGWAwjfSEDhgMwl 31onmO9S4iiCjyDY4th+qorY6j1eIfmjKX9lZDxpVYb/sx3BGEDlSfcsEcN829Ibr2y37p HWtczOwKLfgmVESs1qd5k3Qok6zmBK4F6/1yBoXHJZeLEzTpZUBwK7/9+w3qfEUbEKs/al 0kjNRq14xFOZWQHIO92iqTE2/gxs4ig311WU1tdDf7tdvkv+aTsc0Mx01jPXuQ== 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 4S3rcx5f06znDv; Mon, 9 Oct 2023 07:43:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3997hj31023796; Mon, 9 Oct 2023 07:43:45 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3997hjwx023793; Mon, 9 Oct 2023 07:43:45 GMT (envelope-from git) Date: Mon, 9 Oct 2023 07:43:45 GMT Message-Id: <202310090743.3997hjwx023793@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: Robert Clausecker Subject: git: 492a4156e4b1 - 2023Q4 - devel/cargo-c: fix build on armv7 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fuz X-Git-Repository: ports X-Git-Refname: refs/heads/2023Q4 X-Git-Reftype: branch X-Git-Commit: 492a4156e4b1d3ed8046910bb6501780cedb4027 Auto-Submitted: auto-generated The branch 2023Q4 has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=492a4156e4b1d3ed8046910bb6501780cedb4027 commit 492a4156e4b1d3ed8046910bb6501780cedb4027 Author: Robert Clausecker AuthorDate: 2023-10-07 07:18:37 +0000 Commit: Robert Clausecker CommitDate: 2023-10-09 07:43:11 +0000 devel/cargo-c: fix build on armv7 The address space does not suffice to build cargo-c on armv7 with LTO. Disable LTO on armv6/armv7 to make the build succeed. Approved by: portmgr (build fix blanket) MFH: 2023Q4 (cherry picked from commit 77455882b6f8c9854c788f45d9fb4abd93555647) --- devel/cargo-c/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/devel/cargo-c/Makefile b/devel/cargo-c/Makefile index df6d6d36d8a7..621e276b6aab 100644 --- a/devel/cargo-c/Makefile +++ b/devel/cargo-c/Makefile @@ -25,8 +25,15 @@ PLIST_FILES= bin/cargo-capi \ bin/cargo-ctest \ ${NULL} +.include + +# prevent address space exhaustion on armv6/armv7 +.if ${ARCH:Marmv?} +LTO_UNSAFE= yes +.endif + post-patch: @${REINPLACE_CMD} -e 's,libdir.join("pkgconfig,prefix.join("libdata/pkgconfig,' \ ${WRKSRC}/src/install.rs -.include +.include