erichkeane added a comment.

I just found that build failure in our downstream, and did a little 
investigation.  Running the clang-invocations directly resulted in :

  [ekeane1@scsel-clx-24 llvm]$ 
/localdisk2/ekeane1/workspaces/xmain-web/builds/xmainefi2linux_debug/llvm/bin/clang
 -target arm-arm-none-eabi -mbranch-protection=pac-ret+b-key -c 
/localdisk2/ekeane1/workspaces/xmain-web/llvm/clang/test/Frontend/arm-invalid-branch-protection.c
 -o /dev/null 2>&1
  clang-14: warning: invalid branch protection option 'b-key' in 
'-mbranch-protection=pac-ret+b-key' [-Wbranch-protection]
  error: unable to create target: 'No available targets are compatible with 
triple "armv4t-arm-none-eabi"'
  1 error generated.
  [ekeane1@scsel-clx-24 llvm]$ 
/localdisk2/ekeane1/workspaces/xmain-web/builds/xmainefi2linux_debug/llvm/bin/clang
 -target arm-arm-none-eabi -mbranch-protection=pac-ret+b-key+leaf -c 
/localdisk2/ekeane1/workspaces/xmain-web/llvm/clang/test/Frontend/arm-invalid-branch-protection.c
 -o /dev/null 2>&1
  clang-14: warning: invalid branch protection option 'b-key' in 
'-mbranch-protection=pac-ret+b-key+leaf' [-Wbranch-protection]
  error: unable to create target: 'No available targets are compatible with 
triple "armv4t-arm-none-eabi"'
  1 error generated.
  [ekeane1@scsel-clx-24 llvm]$ 
/localdisk2/ekeane1/workspaces/xmain-web/builds/xmainefi2linux_debug/llvm/bin/clang
 -target arm-arm-none-eabi -mbranch-protection=bti+pac-ret+b-key -c 
/localdisk2/ekeane1/workspaces/xmain-web/llvm/clang/test/Frontend/arm-invalid-branch-protection.c
 -o /dev/null 2>&1
  clang-14: warning: invalid branch protection option 'b-key' in 
'-mbranch-protection=bti+pac-ret+b-key' [-Wbranch-protection]
  error: unable to create target: 'No available targets are compatible with 
triple "armv4t-arm-none-eabi"'
  1 error generated.
  [ekeane1@scsel-clx-24 llvm]$ 
/localdisk2/ekeane1/workspaces/xmain-web/builds/xmainefi2linux_debug/llvm/bin/clang
 -target arm-arm-none-eabi -mbranch-protection=bti+pac-ret+b-key+leaf -c 
/localdisk2/ekeane1/workspaces/xmain-web/llvm/clang/test/Frontend/arm-invalid-branch-protection.c
 -o /dev/null 2>&1
  clang-14: warning: invalid branch protection option 'b-key' in 
'-mbranch-protection=bti+pac-ret+b-key+leaf' [-Wbranch-protection]
  error: unable to create target: 'No available targets are compatible with 
triple "armv4t-arm-none-eabi"'

I suspect the problem with the bots is that the test needs to have the 
'requires' clause added to the top, like you did with the CodeGen tests.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D112421/new/

https://reviews.llvm.org/D112421

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to