<div dir="ltr">Ahh ok. Well setting it to 2.8.12 is still fine, if that fixes the problem with no other changes then that seems like the best fix.</div><br><div class="gmail_quote"><div dir="ltr">On Sat, Apr 30, 2016 at 5:23 PM Kamil Rytarowski <<a href="mailto:n54@gmx.com">n54@gmx.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">krytarowski added a comment.<br>
<br>
In <a href="http://reviews.llvm.org/D19685#417911" rel="noreferrer" target="_blank">http://reviews.llvm.org/D19685#417911</a>, @zturner wrote:<br>
<br>
> Can't you just remove that line and let it inherit the minimum version from<br>
> LLVM?<br>
<br>
<br>
It doesn't work.<br>
<br>
CMake Warning (dev) in CMakeLists.txt:<br>
No cmake_minimum_required command is present. A line of code such as<br>
<br>
cmake_minimum_required(VERSION 3.5)<br>
<br>
should be added at the top of the file. The version specified may be lower<br>
if you wish to support older CMake versions for this project. For more<br>
information run "cmake --help-policy CMP0000".<br>
This warning is for project developers. Use -Wno-dev to suppress it.<br>
<br>
-- Configuring done<br>
CMake Warning (dev) at /usr/pkg/lib/cmake/llvm/AddLLVM.cmake:403 (add_library):<br>
Policy CMP0003 should be set before this line. Add code such as<br>
<br>
if(COMMAND cmake_policy)<br>
cmake_policy(SET CMP0003 NEW)<br>
endif(COMMAND cmake_policy)<br>
<br>
as early as possible but after the most recent call to<br>
cmake_minimum_required or cmake_policy(VERSION). This warning appears<br>
because target "liblldb" links to some libraries for which the linker must<br>
search:<br>
<br>
edit, execinfo, kvm, rt, terminfo, pthread, z, m, execinfo<br>
<br>
and other libraries with known full path:<br>
<br>
/tmp/pkgsrc-tmp/wip/lldb-git/work/build/lib/liblldbBase.a<br>
/usr/lib/libcurses.so<br>
/tmp/pkgsrc-tmp/wip/lldb-git/work/.buildlink/lib/<a href="http://libpython2.7.so" rel="noreferrer" target="_blank">libpython2.7.so</a><br>
<br>
CMake is adding directories in the second list to the linker search path in<br>
case they are needed to find libraries from the first list (for backwards<br>
compatibility with CMake 2.4). Set policy CMP0003 to OLD or NEW to enable<br>
or disable this behavior explicitly. Run "cmake --help-policy CMP0003" for<br>
more information.<br>
Call Stack (most recent call first):<br>
cmake/modules/AddLLDB.cmake:59 (llvm_add_library)<br>
source/API/CMakeLists.txt:9 (add_lldb_library)<br>
This warning is for project developers. Use -Wno-dev to suppress it.<br>
<br>
CMake Warning at /usr/pkg/lib/cmake/llvm/AddLLVM.cmake:403 (add_library):<br>
Cannot generate a safe linker search path for target liblldb because files<br>
in some directories may conflict with libraries in implicit directories:<br>
<br>
link library [libform.so] in /usr/lib may be hidden by files in:<br>
/usr/pkg/lib<br>
<br>
Some of these libraries may not be found correctly.<br>
Call Stack (most recent call first):<br>
cmake/modules/AddLLDB.cmake:59 (llvm_add_library)<br>
source/API/CMakeLists.txt:9 (add_lldb_library)<br>
<br>
<br>
CMake Warning at /usr/pkg/lib/cmake/llvm/AddLLVM.cmake:636 (add_executable):<br>
Cannot generate a safe linker search path for target lldb-server because<br>
files in some directories may conflict with libraries in implicit<br>
directories:<br>
<br>
link library [libform.so] in /usr/lib may be hidden by files in:<br>
/usr/pkg/lib<br>
<br>
and many similar warnings...<br>
<br>
<br>
Repository:<br>
rL LLVM<br>
<br>
<a href="http://reviews.llvm.org/D19685" rel="noreferrer" target="_blank">http://reviews.llvm.org/D19685</a><br>
<br>
<br>
<br>
</blockquote></div>