From owner-freebsd-x11@freebsd.org Mon Jan 8 11:19:14 2018 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DE3B8E6506A for ; Mon, 8 Jan 2018 11:19:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id BDC97764ED for ; Mon, 8 Jan 2018 11:19:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id BA3EAE65066; Mon, 8 Jan 2018 11:19:14 +0000 (UTC) Delivered-To: x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B9EBAE65065 for ; Mon, 8 Jan 2018 11:19:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A03F5764EC for ; Mon, 8 Jan 2018 11:19:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 93AA028D16 for ; Mon, 8 Jan 2018 11:19:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w08BJE4M052974 for ; Mon, 8 Jan 2018 11:19:14 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w08BJEeU052973 for x11@FreeBSD.org; Mon, 8 Jan 2018 11:19:14 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: x11@FreeBSD.org Subject: [Bug 224847] graphics/mesa-libs: make configure (not config) crashes Date: Mon, 08 Jan 2018 11:19:14 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: greg@unrelenting.technology X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: x11@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? maintainer-feedback? X-Bugzilla-Changed-Fields: 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 MIME-Version: 1.0 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Jan 2018 11:19:15 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D224847 --- Comment #11 from Greg V --- (In reply to Brooks Davis from comment #10) The LLVM ports haven't changed, but they should! See bug 223191. To sum up: - the ports set the LLVM_BUILD_LLVM_DYLIB CMake option but not LLVM_LINK_LLVM_DYLIB, which makes llvm-config pretty broken (it defaults to static linking, and when asked for dynamic linking with --link-shared it outputs nonexistent tiny libraries libLLVM(Whatever).so instead of the big monolithic libLLVM that actually exists). They should set LLVM_LINK_LLVM_DY= LIB! - CMake's standard library finds the whole path to libexecinfo: https://github.com/Kitware/CMake/blob/40dea7e4b2e1c4518337bba284a233bf6f788= a1a/Modules/FindBacktrace.cmake#L75 LLVM uses that result as if it were a library name, creating the broken "-l/usr/lib/libexecinfo.so" linker flag in llvm-config's output for static linking. LLVM consumers also should change: - LLVM can add git version suffixes (this thread). Consumers should handle them. E.g. Meson 0.44 already does: https://github.com/mesonbuild/meson/pull/2787 =E2=80=94 and Mesa will handl= e that for older Mesons https://lists.freedesktop.org/archives/mesa-dev/2018-January/181200.html We= 're on stable release Mesa, so we should fix this in the old (autoconf) Mesa bu= ild system. --=20 You are receiving this mail because: You are the assignee for the bug.=