Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Jan 2018 11:19:14 +0000
From:      bugzilla-noreply@freebsd.org
To:        x11@FreeBSD.org
Subject:   [Bug 224847] graphics/mesa-libs: make configure (not config) crashes
Message-ID:  <bug-224847-7141-vUilvoQ0a9@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-224847-7141@https.bugs.freebsd.org/bugzilla/>
References:  <bug-224847-7141@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D224847

--- Comment #11 from Greg V <greg@unrelenting.technology> ---
(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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-224847-7141-vUilvoQ0a9>