From nobody Sat Mar 23 10:18:01 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 4V1wBL5ywKz5F62S for ; Sat, 23 Mar 2024 10:18:02 +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 4V1wBK5cQdz4fPy for ; Sat, 23 Mar 2024 10:18:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1711189081; a=rsa-sha256; cv=none; b=L++gYtyODqZu7yAHgxUTTNUfUIhqnKcq87sIRZWazj70gZh89OJwMHJX3JNwvs08aliSu8 STxj36gijKf7ZJD1FzlnvHSIN92hsv8z74P1JUbO6bcJJJ6fqh4PsHtchZ21kjal+dSO8D CxZKqsLOJkNZ2WdxPoF42P6X+XCErpkVgwtTwdajlFbm4u/Uv2Cx+i49Ya1OQzIzbm0Ggi aE7EgXvqBv+GpqpUtcO0Mb7ALqIg5NIDPAzNDCgzGgh0F4HIPWdSVHhuLIn3QP1lFIEGvu tR/60ZyQQq9Ac+1Fi8kY/LfiSBTXEPkpQ93rdUo+LN5OSRQkKF3Xs7oYrWGEfQ== 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=1711189081; 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=lYwDbW1/Zd1BK4PgIRPAXeutP2V4F1okBfB5J7HchrU=; b=YhgoehJargKwx54RIrC0TRPnoad3uyABGQhRVNnURYLntUpG1J+VKjHOi2uSS3SirBkdEl 1WfJ8vxscO9uEvZ5QILikmJ1rdeHw1yfgBSJ8XELI5o+0E5hvvZFt4vKLHo7ZiRPFzdwYd 2ewaOjEbO6jyeiGh9Trg4mY+ERKdYns8wxMgOsXCqdBwNwkHgLrH2iFayQeraynyl0MPna AOOUt9KTgRuA9+7GxJSZQ5K/Rk5ci8A3wmao1VB4WIIayc1OaGqDLakBy3gVLrC0vt/IsD SHSF5WDxYR8s37yhaBfQeR63HgQnJK5g0zgpqr69KMEz3fjT4JbLKnM3hOF2LA== 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 4V1wBK4rjszl1J for ; Sat, 23 Mar 2024 10:18:01 +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 42NAI1fZ066626 for ; Sat, 23 Mar 2024 10:18:01 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 42NAI1xE066625 for ports-bugs@FreeBSD.org; Sat, 23 Mar 2024 10:18:01 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 10:18:01 +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: arrowd@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: portmgr@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status 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 Gleb Popov changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Open --- Comment #2 from Gleb Popov --- Yes, this happens because Uses are .include'd earlier than Features. What I think the problem of Mk/Uses/cargo.mk is that it appends LTO flags b= ased on USES file inclusion. I don't quite see why we're doing that. I'd rather change Mk/Uses/cargo.mk to unconditionally set special LTO-relat= ed knobs for each language/buildsystem and then consume them in the appropriate USES code. I'm happy to do the change if the proposed solution looks good. --=20 You are receiving this mail because: You are on the CC list for the bug.=