From nobody Fri Nov 24 06:18:04 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 4Sc4Xs1P2pz51PFk; Fri, 24 Nov 2023 06:18:05 +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 4Sc4Xs0Zysz4SRv; Fri, 24 Nov 2023 06:18:05 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700806685; 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=4byLG0zNslexUfGVdsc4OpG6JsOWijwFbmrDBfLRrd0=; b=wp8z2rF94/wA+BoUiLix3WFZuSQchN70Qv8lnAoe2B5mbedycqvTW4nU27YwIAnXgPSsli /9ylbjD/959U41JrmXIppfLKHf7oxEyr80DIF190xux8RZf3J1jJaUoNN842Iwq5iN1a9P 0YtwGsGLSxo3+P+4NNXk//tyt5qK0P3rld/x7/kM9EN7K81UClL39ChOWH3f4Hlm+RJKag oWNGQ1NR/wr6ZkMEBTL/pa+XVQo/Ye1HgTxdQ2Os7lPQiB9am53uYNmyUh258gI8E9tZMz P/tTtHsyb0HrsdYHFxU8V7gTU59Q73gaOQlBt2aKWSHZRUHmEok3njTr22/bzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700806685; 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=4byLG0zNslexUfGVdsc4OpG6JsOWijwFbmrDBfLRrd0=; b=mGjpe2FkssN2oxVVowp7pDPy2pv8WLUkYFK9dN3wTEc5eVqQYNewg7Bnv9Ud/+VYO0Hbjf jDQ9+xBgsLT/YTvS1dh7MfKpsh/EYbVfO1igCDAfQlDzt6/ZIAekqzVeKZN2otwT+efk3Y r2RtpT20AHXtTPnU8VrI9YQK0tnvRJrC4ILioiPvkCVQYzbYBOi69QRnEYcynIwsyt3zls JIVe3/OLrbdkwWIu7FVI1JKh5HuTIA6Cuk94sEAPROiCcTCQ2mTTmVefsp5HXFydZIoCpz szIOvowUglvMumKCdJPMOJNWO7WjiR32FKAcy78Ti6rWrWcNADpinBxhi4zpPw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700806685; a=rsa-sha256; cv=none; b=mbvYIHtYgDGGz6CgmrBT705VrCYgXt/LnwMvvbClvzn3+8TxpDZH9K1Lal+TFdk44Hw3Xs QYKs+C8hrf3KgxV2/XqjX5WrOaxL4hP3RcD2UvufVl84djTgypcbqQrWY1skKrRASKK3wi znEszwO4wq9ohlx76Rw+e7ZEdoOj0gYJcrfGlw5/SGapFiAhcwvpxkVnTGG6o5Tymt1EOq PvIuEH6oif17vOjL6XEjB59UHie0yu0qyeieHrZqVjM4KRkY81QPv+Yvsgyq+KD5BvEaO7 My8GT/5GvKhppaXX3RytqYrfnPLkwUsRzbctIYX8qGvdbqXgGB3ZQchnah76uw== 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 4Sc4Xr6lR8zZPb; Fri, 24 Nov 2023 06:18:04 +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 3AO6I41I029790; Fri, 24 Nov 2023 06:18:04 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3AO6I4WD029787; Fri, 24 Nov 2023 06:18:04 GMT (envelope-from git) Date: Fri, 24 Nov 2023 06:18:04 GMT Message-Id: <202311240618.3AO6I4WD029787@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: 4e5f74bd49fb - 2023Q4 - security/vaultwarden: fix build on armv6/armv7 and i386 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: 4e5f74bd49fb942062d6a0b23ee74e64a43a88c8 Auto-Submitted: auto-generated The branch 2023Q4 has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=4e5f74bd49fb942062d6a0b23ee74e64a43a88c8 commit 4e5f74bd49fb942062d6a0b23ee74e64a43a88c8 Author: Robert Clausecker AuthorDate: 2023-11-22 20:37:39 +0000 Commit: Robert Clausecker CommitDate: 2023-11-24 06:17:23 +0000 security/vaultwarden: fix build on armv6/armv7 and i386 Disable LTO to avoid address space exhaustion. Approved by: portmgr (build fix blanket) MFH: 2023Q4 (cherry picked from commit a0dbba65aba708d1751a9bc3e34fcf469232a7aa) --- security/vaultwarden/Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/security/vaultwarden/Makefile b/security/vaultwarden/Makefile index 63465f1d7378..771f389b449b 100644 --- a/security/vaultwarden/Makefile +++ b/security/vaultwarden/Makefile @@ -42,6 +42,14 @@ INSTALL_TARGET= install-strip SUB_LIST= WWWGRP=${WWWGRP} \ WWWOWN=${WWWOWN} +.include + +# avoid LTO-induced address space exhaustion +.if ${ARCH:Marmv?} || ${ARCH} == i386 +LTO_UNSAFE= yes +CARGO_ENV+= CARGO_PROFILE_RELEASE_LTO=false +.endif + #post-patch: # ${REINPLACE_CMD} 's/^rust-version = "1.60"/rust-version = "1.59"/' \ # ${WRKSRC}/Cargo.toml @@ -50,4 +58,4 @@ post-install: ${MKDIR} ${STAGEDIR}/${WWWDIR}/data ${INSTALL} -m0600 ${FILESDIR}/${PORTNAME}_conf.in ${STAGEDIR}/${WWWDIR}/data/config.json.sample -.include +.include