From nobody Fri Nov 24 06:15:13 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 4Sc4TZ44RWz51NTJ; Fri, 24 Nov 2023 06:15:14 +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 4Sc4TZ1BJBz4Qy6; Fri, 24 Nov 2023 06:15:14 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700806514; 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=Gaj+xyyscxSiC9cHfMXgjgF5EQghOjx3/lRU1eZOv1E=; b=xHR+UUyiXdWb9TyCXaficlWEpNypY5IOyaKsNPmFGZ8BYvzvafzrnjrbgvSEN7Q8/CwBPN et17eGD9aytbD5mL/griJvl/dr01ClI6ppbXgjTFEuCj3vvvJeqbfZ8awSqxAs9p3tZPht AgSLpr85c/0C/6jqgNk+4svSBYlG8A4FW57yuUnT2kGlqkUCIQ5duzv/yX/Xx07X7jdCEn OGrlDLeiby/zPe3uU9TqQWFBGNCMytBaCg+Ib0aQmGaLFNn88iste8gNuH0lyQwo+9QNcP DHw2z0mySCRzuwUa7j//PmsaJBtb1qW7Z/uMjxEPj1wydrSFEGfXOKj+XefePw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700806514; 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=Gaj+xyyscxSiC9cHfMXgjgF5EQghOjx3/lRU1eZOv1E=; b=PQnnakXiN+dYg6LCAr1asnUNygIPReXE2MUZmSyC2raDH42NeKpEmY++lxg2oaMK3GWlMo xfZJK6Nm0+nguU0Xh15vUMFldiY0jnDCRmR1WQlLQbz0wZ2cn0aG4qmyshnlqFaQvEiIed I9Kxck8AHQAEe0vBs31oQWy7FPXHAq4v7+3P+APOTa+zkE1DEtfQ79kBfDQoAgBqyDLfhF hjQA1kPWXBl+3UINSQ4ciwlzGYNPliibFAvHr3LMZFcYn8WgPSUTUTlyAPDt4PLN1jgR73 O1XQRrOspW2l9Zfyorppz5QYAAqihDMZXPbU3KvXiCj4Y1Cv5rjklHiht94bgQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700806514; a=rsa-sha256; cv=none; b=tSFjS9u4mVSB9ZJwxZoZbWM3qxTqz/FFdIluizCfcfjVzt63+BtA13aXD+oyO2nN9qWSQT PW5AXtQpoEjXCT57K5BfmANZF2cEKnn+crAB3Q2FdCQPfV2cyrE2KknUtSqD4aGCZqhcJk e9RrBOUamCUb/nqFBnnyFV5OuaRytj5wuOfCZmGu9WJKV1dVBK9vNkZYRkQfzp29io2XTa FtNAaZ6oDpN8z/KWgc2V5eWiXkK0n64RADQcDUZwjALj+vNc0/JcNtCGUYjzwS9FsLCup8 TBlemJB+TXt9QGWcKEp+BgMFkaW4F0kmtWcQgPhvQqPoUOWbXl97IRjVUIwH8w== 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 4Sc4TZ03nNzZS8; Fri, 24 Nov 2023 06:15:14 +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 3AO6FDJJ028540; Fri, 24 Nov 2023 06:15:13 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3AO6FDZM028538; Fri, 24 Nov 2023 06:15:13 GMT (envelope-from git) Date: Fri, 24 Nov 2023 06:15:13 GMT Message-Id: <202311240615.3AO6FDZM028538@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Robert Clausecker Subject: git: a0dbba65aba7 - main - 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/main X-Git-Reftype: branch X-Git-Commit: a0dbba65aba708d1751a9bc3e34fcf469232a7aa Auto-Submitted: auto-generated The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=a0dbba65aba708d1751a9bc3e34fcf469232a7aa commit a0dbba65aba708d1751a9bc3e34fcf469232a7aa Author: Robert Clausecker AuthorDate: 2023-11-22 20:37:39 +0000 Commit: Robert Clausecker CommitDate: 2023-11-24 06:12:42 +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 --- security/vaultwarden/Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/security/vaultwarden/Makefile b/security/vaultwarden/Makefile index 356ca42c9225..2a82b543c6d2 100644 --- a/security/vaultwarden/Makefile +++ b/security/vaultwarden/Makefile @@ -50,6 +50,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 @@ -58,4 +66,4 @@ post-install: ${MKDIR} ${STAGEDIR}/${WWWDIR}/data ${INSTALL} -m0600 ${FILESDIR}/${PORTNAME}_conf.in ${STAGEDIR}/${WWWDIR}/data/config.json.sample -.include +.include