<div dir="ltr">Adding Richard, who authored the patch. It looks like the issue is "svn" in the name, RequiredLibs doesn't expect it?<div><br></div><div>We can simply revert the patch, and fix separately.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 14, 2015 at 1:52 AM, Laurent Carlier <span dir="ltr"><<a href="mailto:lordheavym@gmail.com" target="_blank">lordheavym@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">Le vendredi 10 juillet 2015, 20:24:17 JF Bastien a écrit :<br>
> Author: jfb<br>
> Date: Fri Jul 10 15:24:17 2015<br>
> New Revision: 241938<br>
><br>
> URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject-3Frev-3D241938-26view-3Drev&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=aiaHuQxIJXOAaaGbZWg9_BLBNfHn5nIEDcZaGV7itfA&s=jVW-gb1QWV4KL7oocqIVgGFPIDtgaLLatHGdWwBcM4M&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project?rev=241938&view=rev</a><br>
> Log:<br>
> Fix `llvm-config` to emit the linker flag for the combined shared object<br>
> built by autoconfig/make instead of the individual components.<br>
><br>
> Summary:<br>
> This fixes `llvm-config` instead of fixing the makefiles because, AIUI,<br>
> LLVM's autoconfig/make build system is on the way out anyway.<br>
><br>
> This change only affects builds that use autoconfig/make.<br>
><br>
> Reviewers: jfb<br>
><br>
> Subscribers: echristo, dschuff, llvm-commits<br>
><br>
> Differential Revision: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__reviews.llvm.org_D10716&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=aiaHuQxIJXOAaaGbZWg9_BLBNfHn5nIEDcZaGV7itfA&s=g7X2yoN6CKGHbEUgIS7TOreKtKeH0qmhTF6UY-rgkNM&e=" rel="noreferrer" target="_blank">http://reviews.llvm.org/D10716</a><br>
><br>
> Modified:<br>
>     llvm/trunk/tools/llvm-config/<a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__BuildVariables.inc.in&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=aiaHuQxIJXOAaaGbZWg9_BLBNfHn5nIEDcZaGV7itfA&s=q97Vwf54M0dTP6gR3s4UuHUtnC2-uuRx0YhdZrZe0x4&e=" rel="noreferrer" target="_blank">BuildVariables.inc.in</a><br>
>     llvm/trunk/tools/llvm-config/CMakeLists.txt<br>
>     llvm/trunk/tools/llvm-config/Makefile<br>
>     llvm/trunk/tools/llvm-config/llvm-config.cpp<br>
><br>
<br>
</span>Now llvm fail to build for me with following options:<br>
  CC=gcc CXX=g++ \<br>
  ../llvm/configure \<br>
    --prefix=/usr \<br>
    --sysconfdir=/etc \<br>
    --enable-shared \<br>
    --enable-libffi \<br>
    --enable-targets=all \<br>
    --disable-assertions \<br>
    --with-python=/usr/bin/python2 \<br>
    --enable-optimized<br>
<br>
  make REQUIRES_RTTI=1 ENABLE_PIC=1<br>
<br>
results:<br>
llvm[2]: Compiling RegexTest.cpp for Release build<br>
llvm[2]: Compiling ScaledNumberTest.cpp for Release build<br>
llvm[2]: Compiling SourceMgrTest.cpp for Release build<br>
llvm[2]: Compiling SpecialCaseListTest.cpp for Release build<br>
llvm[2]: Compiling StreamingMemoryObject.cpp for Release build<br>
llvm[2]: Compiling StringPool.cpp for Release build<br>
llvm[2]: Compiling SwapByteOrderTest.cpp for Release build<br>
llvm[2]: Compiling TargetRegistry.cpp for Release build<br>
llvm[2]: Compiling ThreadLocalTest.cpp for Release build<br>
llvm[2]: Compiling TimeValueTest.cpp for Release build<br>
llvm[2]: Compiling UnicodeTest.cpp for Release build<br>
llvm[2]: Compiling YAMLIOTest.cpp for Release build<br>
llvm[2]: Compiling YAMLParserTest.cpp for Release build<br>
llvm[2]: Compiling formatted_raw_ostream_test.cpp for Release build<br>
llvm[2]: Compiling raw_ostream_test.cpp for Release build<br>
llvm[2]: Compiling raw_pwrite_stream_test.cpp for Release build<br>
llvm[2]: Linking Release unit test Support (without symbols)<br>
llvm[2]: ======= Finished Linking Release Unit test Support (without symbols)<br>
make[2]: Leaving directory '/build/llvm-svn/src/build/unittests/Support'<br>
make[1]: Leaving directory '/build/llvm-svn/src/build/unittests'<br>
make[1]: Entering directory '/build/llvm-svn/src/build/projects'<br>
make[1]: Nothing to be done for 'all'.<br>
make[1]: Leaving directory '/build/llvm-svn/src/build/projects'<br>
make[1]: Entering directory '/build/llvm-svn/src/build/bindings'<br>
make[2]: Entering directory '/build/llvm-svn/src/build/bindings/ocaml'<br>
make[3]: Entering directory '/build/llvm-svn/src/build/bindings/ocaml/llvm'<br>
make[3]: *** No rule to make target '/build/llvm-<br>
svn/src/build/Release/lib/ocaml/<a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__libLLVM-2D3.7.0svn.so&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=aiaHuQxIJXOAaaGbZWg9_BLBNfHn5nIEDcZaGV7itfA&s=qTyiDY_4awFnDq4QRsiOAzrYmeaso5oILTA0PsO4BHk&e=" rel="noreferrer" target="_blank">libLLVM-3.7.0svn.so</a>', needed by 'build-<br>
deplibs'.  Stop.<br>
make[3]: *** Waiting for unfinished jobs....<br>
llvm[3]: Compiling llvm_ocaml.c for Release build<br>
make[3]: Leaving directory '/build/llvm-svn/src/build/bindings/ocaml/llvm'<br>
/build/llvm-svn/src/llvm/Makefile.rules:880: recipe for target 'all' failed<br>
make[2]: *** [all] Error 1<br>
make[2]: Leaving directory '/build/llvm-svn/src/build/bindings/ocaml'<br>
/build/llvm-svn/src/llvm/Makefile.rules:939: recipe for target<br>
'ocaml/.makeall' failed<br>
make[1]: *** [ocaml/.makeall] Error 2<br>
make[1]: Leaving directory '/build/llvm-svn/src/build/bindings'<br>
/build/llvm-svn/src/llvm/Makefile.rules:965: recipe for target 'all' failed<br>
<br>
241937 was building fine<br>
<span class="HOEnZb"><font color="#888888">--<br>
Laurent Carlier<br>
<a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__www.archlinux.org&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=aiaHuQxIJXOAaaGbZWg9_BLBNfHn5nIEDcZaGV7itfA&s=FbPKI2Lg6eWiV6FdEDt5JDkq0vQyU6AnH8s5IsgogPY&e=" rel="noreferrer" target="_blank">http://www.archlinux.org</a></font></span></blockquote></div><br></div>