<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Oct 1, 2016 at 3:47 PM, Xinliang David Li <span dir="ltr"><<a href="mailto:xinliangli@gmail.com" target="_blank">xinliangli@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>-plugin-opt is a gold linker option. Turn on gold linker with -fuse-ld=gold </div></div></blockquote><div><br></div><div>But something is odd then - if the builds aren't using gold then I don't see how ThinLTO could have been kicking in? </div><div>Teresa</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span class="HOEnZb"><font color="#888888"><div><br></div><div>David</div></font></span></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Sat, Oct 1, 2016 at 2:20 PM, Carsten Mattner via llvm-dev <span dir="ltr"><<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">Hmm, something wasn't accepted in -Wl flags.<br>
<br>
clang -O2 -pipe -fstack-protector-strong<br>
  --param=ssp-buffer-size=4 -march=x86-64 -mtune=generic<br>
  -Wl,-O1,--sort-common,--as-nee<wbr>ded,-z,relro,--hash-style=gnu<br>
  -Wl,--gc-sections -Wl,-plugin-opt,-function-sect<wbr>ions<br>
  -Wl,-plugin-opt,-data-sections CMakeFiles/cmTC_358cb.dir/test<wbr>CCompiler.c.o<br>
  -o cmTC_358cb && :<br>
<br>
  /usr/bin/ld: bad -plugin-opt option<br>
<br>
  clang-3.9: error: linker command failed with exit code 1 (use -v to see<br>
<span class="m_1374052632259933377im m_1374052632259933377HOEnZb">  invocation)<br>
<br>
  ninja: build stopped: subcommand failed.<br>
</span></div></div><span class=""><div class="m_1374052632259933377HOEnZb"><div class="m_1374052632259933377h5">______________________________<wbr>_________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/llvm-dev</a><br>
</div></div></span></blockquote></div><br></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><span style="font-family:Times;font-size:medium"><table cellspacing="0" cellpadding="0"><tbody><tr style="color:rgb(85,85,85);font-family:sans-serif;font-size:small"><td nowrap style="border-top-style:solid;border-top-color:rgb(213,15,37);border-top-width:2px">Teresa Johnson |</td><td nowrap style="border-top-style:solid;border-top-color:rgb(51,105,232);border-top-width:2px"> Software Engineer |</td><td nowrap style="border-top-style:solid;border-top-color:rgb(0,153,57);border-top-width:2px"> <a href="mailto:tejohnson@google.com" target="_blank">tejohnson@google.com</a> |</td><td nowrap style="border-top-style:solid;border-top-color:rgb(238,178,17);border-top-width:2px"> 408-460-2413</td></tr></tbody></table></span></div>
</div></div>