<div dir="ltr">config.log<div><br></div><div><div>configure:8125: checking for compiler -Wl,--version-script option</div><div>configure:8181: clang -o conftest  -Wl,--version-script=/var/folders/64/fwfkm1k51zbd4_c5lwpsbljh0000gn/T//foo5HBXoG/export.map   conftest.c  &gt;&amp;5</div>
<div>ld: unknown option: --version-script=/var/folders/64/fwfkm1k51zbd4_c5lwpsbljh0000gn/T//foo5HBXoG/export.map</div><div>clang: error: linker command failed with exit code 1 (use -v to see invocation)</div></div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">2013/9/26 Anton Smirnov <span dir="ltr">&lt;<a href="mailto:dev@antonsmirnov.name" target="_blank">dev@antonsmirnov.name</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">in &quot;config.log&quot; i&#39;ve found:<div>llvm_cv_link_use_version_script=no<br></div><div><br></div><div>but it&#39;s used actually</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra">
<br><br><div class="gmail_quote">2013/9/26 Anton Smirnov <span dir="ltr">&lt;<a href="mailto:dev@antonsmirnov.name" target="_blank">dev@antonsmirnov.name</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote"><div><div>2013/9/26 Renato Golin <span dir="ltr">&lt;<a href="mailto:renato.golin@linaro.org" target="_blank">renato.golin@linaro.org</a>&gt;</span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div>On 26 September 2013 09:54, Anton Smirnov <span dir="ltr">&lt;<a href="mailto:dev@antonsmirnov.name" target="_blank">dev@antonsmirnov.name</a>&gt;</span> wrote:<br></div><div class="gmail_extra">
<div class="gmail_quote"><div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>This is not &quot;bug&quot; i believe since i was able to find similar problems in other projects and they are solved by additional checking -</div>



<div>for apple command line just does not have this parameter.</div></div></div></div></blockquote><div><br></div></div><div>So the parameter is optional, that&#39;s ok.</div><div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div> Also i don&#39;t have problem for compilation for host system. It means</div>
<div>that it is taken into account, but it&#39;s missed for cross-compilation.</div></div></div></div></blockquote><div><br></div></div><div>Yup, does seem like a bug in the Android build system.</div></div></div></div></blockquote>


<div><br></div></div></div><div>there is no &quot;Android build system&quot;, it&#39;s build on my machine (host) with default macosx compiler (which is clang-3.1).</div><div>so it&#39;s llvm/clang configuration script bug.</div>

<div><div>
 </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><br></div><div>cheers,</div>
<div>--renato</div></div></div></div>
<br>_______________________________________________<br>
LLVMLinux mailing list<br>
<a href="mailto:LLVMLinux@lists.linuxfoundation.org" target="_blank">LLVMLinux@lists.linuxfoundation.org</a><br>
<a href="https://lists.linuxfoundation.org/mailman/listinfo/llvmlinux" target="_blank">https://lists.linuxfoundation.org/mailman/listinfo/llvmlinux</a><br></blockquote></div></div><br></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>