From nobody Thu Apr 21 08:02:11 2022 X-Original-To: freebsd-current@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 44EEF19903DD for ; Thu, 21 Apr 2022 08:02:24 +0000 (UTC) (envelope-from contact@evilham.com) Received: from yggdrasil.evilham.com (yggdrasil.evilham.com [IPv6:2a02:2770::216:3eff:fee1:cf9]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4KkVPq0HWxz4hS3 for ; Thu, 21 Apr 2022 08:02:23 +0000 (UTC) (envelope-from contact@evilham.com) From: Evilham DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=evilham.com; s=mail; t=1650528134; bh=ceiTHtgZ41hHtL2g96NlVTD/5Pz5EVxitE3rWGqHgIo=; h=From:To:Subject:References:In-reply-to:Date; b=oxK5o2SNdWN2xgSNZsWavJZjU+tSBgRSP8Ysc27j1clQiDraO2sO9HKQGhZh1iAJ9 6kP9t25olfpOji4lybgcK+IHKt7W50ct73ZsPJZ9FRmpBJrZ5gSys/v/HmPShOyC8x HNK5cgoOK5uihwpOJJf+YST3KyRSMx1/5/gOvfxA= To: freebsd-current@freebsd.org Subject: Re: 'set but unused' breaks drm-*-kmod References: <263e16c4-0634-88e6-9652-50d0874f027e@protected-networks.net> <20220421094236.3f023ac540666c140c04f884@bidouilliste.com> In-reply-to: <20220421094236.3f023ac540666c140c04f884@bidouilliste.com> Date: Thu, 21 Apr 2022 10:02:11 +0200 Message-ID: <43a186ff09129eac264090e12204fa857d9a@yggdrasil.evilham.com> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; format=flowed X-Rspamd-Queue-Id: 4KkVPq0HWxz4hS3 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=evilham.com header.s=mail header.b=oxK5o2SN; dmarc=pass (policy=quarantine) header.from=evilham.com; spf=pass (mx1.freebsd.org: domain of contact@evilham.com designates 2a02:2770::216:3eff:fee1:cf9 as permitted sender) smtp.mailfrom=contact@evilham.com X-Spamd-Result: default: False [-3.58 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.76)[-0.758]; R_DKIM_ALLOW(-0.20)[evilham.com:s=mail]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCPT_COUNT_ONE(0.00)[1]; MID_RHS_MATCH_FROMTLD(0.00)[]; DKIM_TRACE(0.00)[evilham.com:+]; DMARC_POLICY_ALLOW(-0.50)[evilham.com,quarantine]; NEURAL_HAM_SHORT(-0.82)[-0.823]; MLMMJ_DEST(0.00)[freebsd-current]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:196752, ipnet:2a02:2770::/32, country:NL] X-ThisMailContainsUnwantedMimeParts: N On dj., abr. 21 2022, Emmanuel Vadot wrote: > Hello Michael, > > On Wed, 20 Apr 2022 23:39:12 -0400 > Michael Butler wrote: > >> Seems this new requirement breaks kmod builds too .. >> >> The first of many errors was (I stopped chasing them all for >> lack of >> time) .. >> >> --- amdgpu_cs.o --- >> /usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c:1210:26: >> error: variable 'priority' set but not used >> [-Werror,-Wunused-but-set-variable] >> enum drm_sched_priority priority; >> ^ >> 1 error generated. >> *** [amdgpu_cs.o] Error code 1 >> > > How are you building the port, directly or with PORTS_MODULES ? > I do make passes on the warning for drm and I did for > set-but-not-used > case but unfortunately this option doesn't exists in 13.0 so I > couldn't > apply those in every branch. > > Cheers, Can confirm the breakage on 14-CURRENT building graphics/drm-devel-kmod in poudriere with matching sources and kernel. Probably due to 8b83d7e0ee54416b0ee58bd85f9c0ae7fb3357a1 -- Evilham