<div dir="ltr">(earlier message got bumped since I wasnt subscribed to llvm-commits)<div><br></div><div>Is this the change triggering the error. It only changes mlir/Linalg. I'll try it locally, but the buildable passed...</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Feb 7, 2020 at 12:17 PM Petr Hosek via Phabricator <<a href="mailto:reviews@reviews.llvm.org">reviews@reviews.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">phosek added a comment.<br>
<br>
I just noticed it's failing on macOS as well with a different error:<br>
<br>
  FAIL: Clang :: CodeGen/stack-clash-protection.c (3400 of 16811)<br>
  ******************** TEST 'Clang :: CodeGen/stack-clash-protection.c' FAILED ********************<br>
  Script:<br>
  --<br>
  : 'RUN: at line 2';   /b/s/w/ir/k/recipe_cleanup/clanghb5vUd/llvm_build_dir/bin/clang -target x86_64 -O0 -o /b/s/w/ir/k/recipe_cleanup/clanghb5vUd/llvm_build_dir/tools/clang/test/CodeGen/Output/stack-clash-protection.c.tmp.out /b/s/w/ir/k/llvm-project/clang/test/CodeGen/stack-clash-protection.c -fstack-clash-protection && /b/s/w/ir/k/recipe_cleanup/clanghb5vUd/llvm_build_dir/tools/clang/test/CodeGen/Output/stack-clash-protection.c.tmp.out<br>
  --<br>
  Exit Code: 1<br>
<br>
  Command Output (stderr):<br>
  --<br>
  clang-11: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]<br>
  ld: warning: ignoring file /b/s/w/ir/tmp/t/stack-clash-protection-ccc8da.o, file was built for unsupported file format ( 0x7F 0x45 0x4C 0x46 0x02 0x01 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ) which is not the architecture being linked (x86_64): /b/s/w/ir/tmp/t/stack-clash-protection-ccc8da.o<br>
  Undefined symbols for architecture x86_64:<br>
    "_main", referenced from:<br>
       implicit entry/start for main executable<br>
  ld: symbol(s) not found for architecture x86_64<br>
  clang: error: linker command failed with exit code 1 (use -v to see invocation)<br>
  clang-11: error: linker (via gcc) command failed with exit code 1 (use -v to see invocation)<br>
<br>
  ---<br>
<br>
<br>
Repository:<br>
  rG LLVM Github Monorepo<br>
<br>
CHANGES SINCE LAST ACTION<br>
  <a href="https://reviews.llvm.org/D74172/new/" rel="noreferrer" target="_blank">https://reviews.llvm.org/D74172/new/</a><br>
<br>
<a href="https://reviews.llvm.org/D74172" rel="noreferrer" target="_blank">https://reviews.llvm.org/D74172</a><br>
<br>
<br>
<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr">Mahesh</div></div>