From nobody Mon Oct 9 07:42:02 2023 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 4S3rb02HFcz4wtSn; Mon, 9 Oct 2023 07:42:04 +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 4S3rb00L4Lz3J8b; Mon, 9 Oct 2023 07:42:04 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1696837324; 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=wAQLib3qyaaU1JQEEOYT7dD0B3k7u7irRlPWsNLitKM=; b=f+6KqLcyxOED1ET40Dya85WMnbezFcc/lzEQcsIBevD82IeLI1KR/u0gg+6xXaM763GDSN 0D2+6T5xOkSSbhypRwVrMmoGPimt2MxfDKfijfOAhc7E0//j0U7TiJwyqmBG3siCSzE4vD TPTzj/cc77R2FLuFWdgej0JNGdOs7A8f9yP0tVgYEMlNRxkmNDQmX0Dybf5IBXyRWNqRDQ NtuZtlm7DGqKjBW8bTTQB9Sm6tmQPOuQk4X4MZSnb2UBwCFWNAQ4hzWE+pzbeXO7iCLDh/ +5lJ6p7hZKd7i575L7rL3C4ak/5T26TYW+FnSkyeON2JuL5iaMyAt451Fjx9gw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1696837324; a=rsa-sha256; cv=none; b=WTKcewBeeB2KwHRwUI06KWxFrEzmRvlIAmxOZm5pZwU2c1rLmxmpiGQMxtecsoFBBZBUBV JaAZpJE1vTSQgax4BjBll4f9aE0YmwNk45sl8z8QTRfa8UppAHCZQzPCVGElGo62aKxTWp qqfUB6n9SChJV+L54vYVrR/m9vn7oBU6EauljDQ3hzFsOXTY7/nXfhvcj+ykmxjCyAeNxa 5AFZZd23b9iofGePdLEIqvgxsuSMOBeNgjWB0Mj4SL1Xn8ys2xxcuvVQXiuG+1pmZ2qbhE UAidSjbANldgbg45+vK2a5HLIbsW1xq+8WOnGurCeZQPElNdt0Zh4E0k62X3jg== 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=1696837324; 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=wAQLib3qyaaU1JQEEOYT7dD0B3k7u7irRlPWsNLitKM=; b=fNxjExpiAJgqq9Nr2vI6NBp0L5L8lT/kg8EfE2Kte9r7l740y5+NpURnyVzrNsttOF9usl Dlpv1wpOqdNt4ZOv3FkfV8HRBVcTdVCJgWImYKm55yiEqCzcnv2EZKxJdw9LfwMcTzp6g9 i7oSk1eUYUe8fRVl4wBFE1UUoN3/UW+lBsaegcCOYJ7E8IzldxuoL2fqI9/pns4ZUoy/TH Opzf1Nx9TVPRX8DExS5VJh6oO+fxobDljOlR36YzON5rgepQ4RhpCE0t4+YHRn6Sb5DBKx cx0PMYC/F43baj28n3ux6aGRhYSlsMbCWV8WtkLh+e9cBQgs1ym2JCWTU0SAZw== 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 4S3rZz2B67znHS; Mon, 9 Oct 2023 07:42:03 +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 3997g253021568; Mon, 9 Oct 2023 07:42:02 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3997g2XD021565; Mon, 9 Oct 2023 07:42:02 GMT (envelope-from git) Date: Mon, 9 Oct 2023 07:42:02 GMT Message-Id: <202310090742.3997g2XD021565@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: f22649e35840 - main - shells/nushell: fix build on armv7 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: fuz X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f22649e35840ddc7d3a19b8e9dd643b3f7885e0f Auto-Submitted: auto-generated The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=f22649e35840ddc7d3a19b8e9dd643b3f7885e0f commit f22649e35840ddc7d3a19b8e9dd643b3f7885e0f Author: Robert Clausecker AuthorDate: 2023-10-09 07:00:27 +0000 Commit: Robert Clausecker CommitDate: 2023-10-09 07:40:32 +0000 shells/nushell: fix build on armv7 - mark as LTO_UNSAFE on armv6/armv7 to avoid address space exhaustion - remove custom do-test target to avoid a conflict with cargo.mk's do-test; cargo.mk's default do-test does the job well enough Approved by: portmgr (build fix blanket) MFH: 2023Q4 --- shells/nushell/Makefile | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/shells/nushell/Makefile b/shells/nushell/Makefile index 2edd25cb071e..be61596d5b7a 100644 --- a/shells/nushell/Makefile +++ b/shells/nushell/Makefile @@ -607,10 +607,14 @@ DATAFRAME_DESC= Include the dataframe feature DATAFRAME_VARS= CARGO_BUILD_ARGS+=--features=dataframe DATAFRAME_BROKEN= see https://github.com/nushell/nushell/issues/7665 +.include + +# avoid address space exhaustion in compiler +.if ${ARCH:Marmv?} +LTO_UNSAFE= yes +.endif + post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/nu -do-test: - @${CARGO_CARGO_RUN} test --workspace - -.include +.include