From nobody Sat Mar 23 07:49:41 2024 X-Original-To: ports-bugs@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 4V1rvB5k8Zz5DpgV for ; Sat, 23 Mar 2024 07:49:42 +0000 (UTC) (envelope-from bugzilla-noreply@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 4V1rvB23gZz4QMl for ; Sat, 23 Mar 2024 07:49:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1711180182; a=rsa-sha256; cv=none; b=nDvFiIH5U90GjXmPcoxtRctYZ+KRajKCFgnSCitTTW6go5CLnRiOaZ8/m1opXugx/iQ/F+ F2TvXXE+iWErFawzOitbJGLAikP/aB9JtFUmt0mDxJTTF/EFRPMliEfhtVoXGwy0m8Z0BA SWoa/4PuT5uC2YnBmIMIwIpv0NpWyGUjwpYGwfZ+h8Ymgpfa1tsb7Q4wRSq6cNDK8xH7eA hwXP0huXGMwExdvUPDKfP3Mz0qAJxIpTKG0DFJysG8qQAhhK3u8IJ+z7wYjviTbwB62m/e 05TwvTX7+7CYs28d/qTPqNjhpNxFKbN0vxRtP4o7x8gdyTtBoLqK+Zrfdw6E4A== 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=1711180182; 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: in-reply-to:in-reply-to:references:references; bh=UezC7rzI8yql9+vXiLNjEw2DuUgWqyHtXR8Tt8u8kGQ=; b=x33shtTLRG2ELAQ8Zl3O+oZsOIOx4bbc8tGipNYmRhhUkbZtvhTzlp6sr6HwQy7DkI2TlZ Sx4Bw8n1ccxSGRcKoA+IFhALMpdHXgeVFJnj5t1qjMdKd6DXDWO9XPyaT2k8on6AZBjpf9 M4SpoKWZLZnjvMotE4GB016qgLA5q09Rn4bWm2OansfmlWkq5uBJcF7B5kUvC5je6dvX0D +RAfJsh3jpi8KPQ4NIPVICLKTtTx2FOfZvcY89clpUvDeuqYMB71NXS2RCee0NG7XvAlXB Yi/FrPgUXRR21gNSQwLVQbt/AM0tE51PWXLVDmK/0gjlrNKV01tybHKYtlypAQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 4V1rv966G7zgK4 for ; Sat, 23 Mar 2024 07:49:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 42N7nf9Y086466 for ; Sat, 23 Mar 2024 07:49:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 42N7nfVM086465 for ports-bugs@FreeBSD.org; Sat, 23 Mar 2024 07:49:41 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 277902] Mk/Uses/cargo.mk: WITH_LTO no longer applies Date: Sat, 23 Mar 2024 07:49:41 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Ports Framework X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: nimaje+fbz@bureaucracy.de X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: portmgr@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277902 Benjamin Takacs changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nimaje+fbz@bureaucracy.de --- Comment #1 from Benjamin Takacs --- WITH_* variables are to be set by the user, should Mk/Uses/cargo.mk really = set it? >From Mk/bsd.port.mk: "Note: the distinction between the USE_* and WANT_* variables, and the WITH_* and WITHOUT_* variables, are that the former are restricted to usage inside the ports framework, and the latter are reserved= for user-settable options." According to that the right solution would be creating a WANT_LTO variable = and do LTO if requested by the user or if the port wants it and the user didn't explicitly stopped it (WITHOUT_LTO{,_PORTS}). It works from the port itself, as Mk/bsd.port.mk can't know if the user or = the port set it. --=20 You are receiving this mail because: You are on the CC list for the bug.=