[PATCH] D130788: [clang-repl] Disable building when LLVM_STATIC_LINK_CXX_STDLIB is ON.

Sunho Kim via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Jul 31 13:53:29 PDT 2022


sunho added a comment.

In D130788#3689693 <https://reviews.llvm.org/D130788#3689693>, @dyung wrote:

> The test simple-exception.cpp is failing on the PS5 Windows bot after this change. Can you take a look?
>
> I forced a build using the commit prior to yours which passed: https://lab.llvm.org/buildbot/#/builders/216/builds/7636
> And then I forced a build using your commit, and the test failed: https://lab.llvm.org/buildbot/#/builders/216/builds/7637
>
>   ******************** TEST 'Clang :: Interpreter/simple-exception.cpp' FAILED ********************
>   Script:
>   --
>   : 'RUN: at line 4';   cat Z:\test\llvm-project\clang\test\Interpreter\simple-exception.cpp | z:\test\build\bin\clang-repl.exe | z:\test\build\bin\filecheck.exe Z:\test\llvm-project\clang\test\Interpreter\simple-exception.cpp
>   --
>   Exit Code: 1
>   Command Output (stdout):
>   --
>   $ ":" "RUN: at line 4"
>   $ "cat" "Z:\test\llvm-project\clang\test\Interpreter\simple-exception.cpp"
>   $ "z:\test\build\bin\clang-repl.exe"
>   # command stderr:
>   JIT session error: Symbols not found: [ ??_7type_info@@6B@ ]
>   error: Failed to materialize symbols: { (main, { _CT??_R0PEAX at 88, ?f@@YAHXZ, ?r1@@3HA, _CTA2PEAD, ??_C at _0BB@DPCIAKEG at Simple?5exception?$AA@, ??_C at _03OFAPEBGM@?$CFs?6?$AA@, $.incr_module_8.__inits.0, ?checkException@@YAHXZ, _TIC2PEAD, ??_R0PEAD at 8, ??_R0PEAX at 8, __orc_init_func.incr_module_8, ??_C at _0N@CKKDCGKM at Running?5f?$CI?$CJ?6?$AA@, _CT??_R0PEAD at 88 }) }
>   error: Failed to materialize symbols: { (main, { __orc_init_func.incr_module_8 }) }
>   $ "z:\test\build\bin\filecheck.exe" "Z:\test\llvm-project\clang\test\Interpreter\simple-exception.cpp"
>   # command stderr:
>   Z:\test\llvm-project\clang\test\Interpreter\simple-exception.cpp:10:11: error: CHECK: expected string not found in input
>   // CHECK: Running f()
>             ^
>   <stdin>:1:1: note: scanning from here
>   clang-repl> clang-repl> clang-repl> clang-repl> clang-repl> clang-repl> clang-repl> clang-repl> clang-repl> clang-repl> clang-repl> clang-repl> clang-repl> 
>   ^
>   <stdin>:1:11: note: possible intended match here
>   clang-repl> clang-repl> clang-repl> clang-repl> clang-repl> clang-repl> clang-repl> clang-repl> clang-repl> clang-repl> clang-repl> clang-repl> clang-repl> 
>             ^
>   Input file: <stdin>
>   Check file: Z:\test\llvm-project\clang\test\Interpreter\simple-exception.cpp
>   -dump-input=help explains the following input dump.
>   Input was:
>   <<<<<<
>               1: clang-repl> clang-repl> clang-repl> clang-repl> clang-repl> clang-repl> clang-repl> clang-repl> clang-repl> clang-repl> clang-repl> clang-repl> clang-repl>  
>   check:10'0     X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
>   check:10'1               ?                                                                                                                                                   possible intended match
>   >>>>>>
>   error: command failed with exit status: 1
>   --
>   ********************

The test isn't supposed to be ran on windows -- we don't support exception on windows at all yet. I guess XFAIL: windows-msvc, windows-gnu is not working out.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D130788



More information about the cfe-commits mailing list