From nobody Fri Aug 23 14:04:36 2024 X-Original-To: freebsd-arm@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 4Wr20Z3FC2z5TKsb for ; Fri, 23 Aug 2024 14:05:50 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mx.blih.net (mx.blih.net [212.83.155.74]) (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 4Wr20Y50c0z4vVb; Fri, 23 Aug 2024 14:05:49 +0000 (UTC) (envelope-from manu@bidouilliste.com) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bidouilliste.com; s=mx; t=1724421941; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=I29yoKdzjCKC26yu4WTVLXPzKbPDxiGJ5ojwB5Dp+FA=; b=ioPg6ESF0eWYpwN0YJrwuRiwwdWOsTOXtmidhvioXhLloE6n0M1hb1ReE7tNzijxSVfSGV QfRCZxbL+ivmO7blk7sA9bEijLmmfrqResMTr/lIKCcPgl8PCmgJIKKIHpSq6/RtPebQpo 6/hAgFs3byZDeZ9NKgQMPxwEjDSbqSk= Received: from skull.home.blih.net (lfbn-lyo-1-2174-135.w90-66.abo.wanadoo.fr [90.66.97.135]) by mx.blih.net (OpenSMTPD) with ESMTPSA id 7805ad22 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Fri, 23 Aug 2024 14:05:41 +0000 (UTC) Date: Fri, 23 Aug 2024 16:04:36 +0200 From: Emmanuel Vadot To: Nuno Teixeira Cc: FreeBSD ARM List , Emmanuel Vadot Subject: Re: graphics/mesa-dri build fail with intel-rt activated on aarch64 Message-Id: <20240823160436.45fd90015cbd88360c27b6c5@bidouilliste.com> In-Reply-To: References: X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd15.0) List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@FreeBSD.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:12876, ipnet:212.83.128.0/19, country:FR] X-Rspamd-Queue-Id: 4Wr20Y50c0z4vVb Hi, On Fri, 23 Aug 2024 08:10:10 +0100 Nuno Teixeira wrote: > Hello, > > Could anyone try to build graphics/mesa-dri so I can check why is it > failing on configure? > > Acording to > e313acaea33b - main - graphics/mesa: Unbreak on !amd64 commit it should > disable intel-rt on !amd64: > > + anv_MESON_ON= ${"${ARCH:Mamd64}":?:-Dintel-rt=disabled} # > https://gitlab.freedesktop.org/mesa/mesa/-/issues/10629 > > But I only could build it if I add '-Dintel-rt=disabled' to MESON_ARGS > directly. > > Maybe something is not parsed correcly and it isn't geting disabled on > aarch64 (rpi4). > > I'm suspecting that an if condition will be needed like applied to other > mesa ports: > > +.if ${ARCH} != amd64 > +MESON_ARGS+= -Dintel-rt=disabled # https://gitlab.freedesktop.org/mesa/ > mesa/-/issues/10629 > +.endif > > Thanks, > > -- > Nuno Teixeira > FreeBSD UNIX: Web: https://FreeBSD.org This is now fixed, the problem was that since anv is exluded on aarch64 the anv_MESON_ON was never appended to MESON_ARGS. Thanks for the report. -- Emmanuel Vadot