From nobody Fri Nov 24 09:59:48 2023 X-Original-To: dev-commits-ports-all@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 4Sc9Sm4myMz525CP; Fri, 24 Nov 2023 09:59:52 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (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 "freefall.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Sc9Sm4Hh1z4HTJ; Fri, 24 Nov 2023 09:59:52 +0000 (UTC) (envelope-from jbeich@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700819992; 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: in-reply-to:in-reply-to:references:references; bh=967sc13ruMnyJqfJqi/5Opvsv08zyPzqLVRmmjEQrng=; b=Ie9uHGPKXzzhBU2cIghstQqUZbrW2DmamBa9O6wLAoJcaBKdGet9NmQU4l0IP8ZBwu/yTz ovWdyCPQ2lqVamNF6OE8DC+jPnYUPVY769GGHJyE1nGPJIoGIwkbMyOKNJKwkRtMrQvkJh ZjmCuR0cIkHc1Jyu3laIooNsYrlewyEKT6TAK+SFz2xYxlStKWd5mmUu2aFtv41RFspdAW cPzlZezgEH7rznW9bwmedJGRrZIE0/OOYRYHnyCDFN2VY4I0BghtM9ibdCNwPybuocg/g4 jDI4JepHqHtiSgJzPl6WaBGdRmS/07JvDRsAfjKmR+Fnb4lPhHHhBlB0MPQldA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700819992; 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: in-reply-to:in-reply-to:references:references; bh=967sc13ruMnyJqfJqi/5Opvsv08zyPzqLVRmmjEQrng=; b=pPSzt0XdzJAasfLAz1YKZ7t5wghWORUn2FnvLIxdwqjD+kKU/kjaDVvReSz0QLmllN4PMK ZPr/YG+EOsXVOxdMLuZ70RH99NN3dLfhuH0f9Zzc6u3ecTKDt1uZybIV4p55LUaKEr57pQ LSVPirdOsQhsC9N6s+xXszkRBydrNn56LhF2VhUz8xMjtYaCSA/sZSy6l4iBdjNJXxIj1Y 6i9tiMqJYEwT9dBZRCyge90t56BjrWLAiId45KWkGoFDbT8lumGRUiYFF+GajGxmq6VPPE jxldHTwsftDfUTplYz+ORm7DPi24fTQPyOvWsvHz0kbCqnFWXocBbqskiUWBqQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700819992; a=rsa-sha256; cv=none; b=nArXibMV4FINx/ALJNlJurvv6bDfa/T+1yMilAX+J3Kq3dCnkFhXm/4Lh6MImrWGQfarsP 9hax162G/qAcyHKGSU0xQvlKYrng0GuTPPiwKcOMmyV3zvlV8z0j9R8k2ZyIFMyGOOal7t TT+xdMkmtA/Wl5qCsR0rl98QpebzFSfuvADBL+L+YvSTdIBxp6o5w4xk3j8CDH2xbYtO7K bPtoXW93QrcHv82YT0x/RYjQeq13HdTlQ4FWc/s2HJh3ICfWgYlu53EfK+lD37J9vLRaOo 1dMQ7kcOvee3RSq99W3JAuBTunq+qacA72lYKpQKr0tgjvJN8GhRQvhdsfIdGg== Received: by freefall.freebsd.org (Postfix, from userid 1354) id 86296E254; Fri, 24 Nov 2023 09:59:52 +0000 (UTC) From: Jan Beich To: Emmanuel Vadot Cc: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: Re: git: fa7309cb976e - main - lang/clover: Restrict llvm to max version 16 In-Reply-To: <202311240855.3AO8tOSj096173@gitrepo.freebsd.org> (Emmanuel Vadot's message of "Fri, 24 Nov 2023 08:55:24 GMT") References: <202311240855.3AO8tOSj096173@gitrepo.freebsd.org> Date: Fri, 24 Nov 2023 10:59:48 +0100 Message-ID: List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain Emmanuel Vadot writes: > While here clean up a bit the USES=llvm for mesa port, we already set noexport > in mesa-dri/Makefile.common so no need to set it in all the ports. [...] > diff --git a/graphics/mesa-dri/Makefile b/graphics/mesa-dri/Makefile > index e309b1adf75f..4e79e3ef500c 100644 > --- a/graphics/mesa-dri/Makefile > +++ b/graphics/mesa-dri/Makefile > @@ -8,7 +8,7 @@ WWW= https://www.mesa3d.org/ > > LIB_DEPENDS+= libglapi.so:graphics/mesa-libs > > -USES+= llvm:lib,noexport > +USES+= llvm:lib USES=llvm from Makefile.common has no effect due to bug 199603. For example, poudriere build now has the following noise: sh: /usr/local/llvm15/bin/clang: not found make: "/usr/ports/Mk/Uses/compiler.mk" line 80: warning: "/usr/local/llvm15/bin/clang --version" returned non-zero status make: "/usr/ports/Mk/Uses/compiler.mk" line 128: warning: "/usr/local/llvm15/bin/clang++ -### /dev/null 2>&1" returned non-zero status breaks WITH_LTO build (via make.conf or Makefile.local) on FreeBSD 13.2: llvm-ar: error: src/c11/impl/libmesa_util_c11.a: Opaque pointers are only supported in -opaque-pointers mode (Producer: 'LLVM15.0.7' Reader: 'LLVM 14.0.5') llvm-ar: error: src/util/libmesa_util_sse41.a: Opaque pointers are only supported in -opaque-pointers mode (Producer: 'LLVM15.0.7' Reader: 'LLVM 14.0.5') llvm-ar: error: src/util/libxmlconfig.a: Opaque pointers are only supported in -opaque-pointers mode (Producer: 'LLVM15.0.7' Reader: 'LLVM 14.0.5') llvm-ar: error: src/util/libmesa_util.a: Opaque pointers are only supported in -opaque-pointers mode (Producer: 'LLVM15.0.7' Reader: 'LLVM 14.0.5') [...] and may pessimize WITH_CCACHE_BUILD due to absolute path in CC/CXX.