From nobody Wed May 11 17:13:47 2022 X-Original-To: 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 2746C1AE2B52 for ; Wed, 11 May 2022 17:13:47 +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 4Kz1hp6Hhgz4RXT for ; Wed, 11 May 2022 17:13:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 B9C161DF1F for ; Wed, 11 May 2022 17:13:46 +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 24BHDkvs060267 for ; Wed, 11 May 2022 17:13:46 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 24BHDkir060266 for bugs@FreeBSD.org; Wed, 11 May 2022 17:13:46 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: bugs@FreeBSD.org Subject: [Bug 263913] bsd.sys.mk spams with "-fuse-ld= is not supported" during cleandir Date: Wed, 11 May 2022 17:13:47 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 13.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: emaste@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@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: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652289226; 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=uc/pE5qnkgRYns4KPcqN4O5OB3ASDIAOI/ViImJk5bM=; b=mi1YQw0oGx7dx2ROpC/j3UMNUsv7BUwaPwe5WSlCZ+t0+ocGS4KhcBEcsrrKkwDhg8CmIE PTGu5nXG+oLi/hn3cKAGgBD2DvFzZVH4c8ir2emnN4MnoEeVpbulA0boxIXEcSyGDUiFUp vlCVgfxqwqlkwSnu0er3SCpygQjh7HTgsrBmMpSX3xVX3jRiF+S9zpREElH/8ZOQJMcKLa kJSmgRLm3JPM4OtWoPVjAPl9sfBc8VXMKttPpfDFgMtH/N/dgkoiuMQW2AYCunvJeL/ZHj Lus1WoBzH+V5aPVIlj7kyacW728XZ6zR9AnAQnytJYwLoEMUInYBGu8UXrVSlQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652289226; a=rsa-sha256; cv=none; b=xkKNMbihf/MaocKR+jHRrLXtFrX+RLNUJmMFQG85Cgs1nZ6Mh2aF+Er+c+7YMZrWTYZNW4 GEdwHiCeAnYERz/fNj8u8Nn4tjFTjejsjGvEkFeErX6kDZlP4zr502Bz7OHras0pBzxnHV OfKS4sirlcExBOahQCn0gBgnuuVl08xYaiqvyh9X5G2hRNSCZcfvKoinM3it5syItFxRDV 2BKXAp5UOMfgRxurVJLBvPO2dWzjnsO3Cq+LlUUqaZv1HerlFT5gAwhmM8fXPAD7Vhs39G UDK28ef7BoQy6+CZjXg7x6H2cgP/UNxkXb2MHJFGEMpKA7VqFYcZ3UIYJD7Epw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263913 Ed Maste changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |emaste@freebsd.org --- Comment #2 from Ed Maste --- I had a similar sort of situation in PR260099, but agree checking COMPILER_= TYPE is probably the right thing here. This might be a bit simpler: emaste@nazar:~/src/freebsd-git/main $ git diff diff --git a/share/mk/bsd.sys.mk b/share/mk/bsd.sys.mk index f09987ecd962..221e8b028479 100644 --- a/share/mk/bsd.sys.mk +++ b/share/mk/bsd.sys.mk @@ -326,7 +326,7 @@ LDFLAGS+=3D --ld-path=3D${LD:[1]:S/^ld.//1W} .else LDFLAGS+=3D -fuse-ld=3D${LD:[1]:S/^ld.//1W} .endif -.else +.elif ${COMPILER_TYPE} =3D=3D "gcc" # GCC does not support an absolute path for -fuse-ld so we just print this # warning instead and let the user add the required symlinks. # However, we can avoid this warning if -B is set appropriately (e.g. for --=20 You are receiving this mail because: You are the assignee for the bug.=