Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WASI][Mono AOT] Failed to compile System.Private.CoreLib.dll.bc #103520

Open
jkotas opened this issue Jun 15, 2024 · 5 comments
Open

[WASI][Mono AOT] Failed to compile System.Private.CoreLib.dll.bc #103520

jkotas opened this issue Jun 15, 2024 · 5 comments
Assignees
Labels
arch-wasm WebAssembly architecture area-VM-meta-mono blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' Known Build Error Use this to report build issues in the .NET Helix tab os-wasi Related to WASI variant of arch-wasm
Milestone

Comments

@jkotas
Copy link
Member

jkotas commented Jun 15, 2024

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=708755
Build error leg or test failing: Invariant.Tests.WorkItemExecution
Pull request: #103501

Error Message

Fill the error message using step by step known issues guidance.

{
  "ErrorMessage": "",
  "ErrorPattern": "Failed to compile .*System.Private.CoreLib.dll.bc",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=708755
Error message validated: [Failed to compile .*System.Private.CoreLib.dll.bc]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 6/15/2024 2:48:32 PM UTC

Report

Build Definition Test Pull Request
841460 dotnet/runtime System.Collections.Specialized.Tests.WorkItemExecution #108780
840359 dotnet/runtime Invariant.Tests.WorkItemExecution #108685
832491 dotnet/runtime System.Collections.Specialized.Tests.WorkItemExecution #108673
831335 dotnet/runtime System.Collections.Specialized.Tests.WorkItemExecution #108654
830058 dotnet/runtime Invariant.Tests.WorkItemExecution #108602
2549287 dotnet-runtime x64.micro.net10.0.Partition13.WorkItemExecution
819645 dotnet/runtime Invariant.Tests.WorkItemExecution #108302
819615 dotnet/runtime Invariant.Tests.WorkItemExecution

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 1 8
@jkotas jkotas added blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' Known Build Error Use this to report build issues in the .NET Helix tab labels Jun 15, 2024
@dotnet-issue-labeler dotnet-issue-labeler bot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Jun 15, 2024
@dotnet-policy-service dotnet-policy-service bot added the untriaged New issue has not been triaged by the area owner label Jun 15, 2024
@jeffschwMSFT jeffschwMSFT added arch-wasm WebAssembly architecture area-VM-meta-mono labels Jun 17, 2024
@vcsjones vcsjones removed the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Jun 18, 2024
@lewing lewing added this to the 9.0.0 milestone Jun 19, 2024
@dotnet-policy-service dotnet-policy-service bot removed the untriaged New issue has not been triaged by the area owner label Jun 19, 2024
@pavelsavara pavelsavara changed the title Failed to compile /root/helix/work/workitem/e/wasm_build/obj/wasm/for-build/System.Private.CoreLib.dll.bc [WASI] Failed to compile /root/helix/work/workitem/e/wasm_build/obj/wasm/for-build/System.Private.CoreLib.dll.bc Jul 11, 2024
@pavelsavara pavelsavara added the os-wasi Related to WASI variant of arch-wasm label Jul 11, 2024
@pavelsavara
Copy link
Member

This seems to be timeout. All cases so far are LLVM 18.1.2 on ubuntu helix.
I wonder what's the memory usage there.

@pavelsavara
Copy link
Member

What is killing it ?

Log

/root/helix/work/correlation/build/wasm-shared/WasmApp.Common.targets(838,5): 
error : Killed [took 21.935s] [/root/helix/work/workitem/e/publish/ProxyProjectForAOTOnHelix.proj]

The overall helix job was just 4 minutes

@pavelsavara pavelsavara changed the title [WASI] Failed to compile /root/helix/work/workitem/e/wasm_build/obj/wasm/for-build/System.Private.CoreLib.dll.bc [WASI][Mono AOT] Failed to compile System.Private.CoreLib.dll.bc Jul 12, 2024
@maraf
Copy link
Member

maraf commented Jul 29, 2024

Could this be a problem?

CSC : warning CS8021: No value for RuntimeMetadataVersion found. No assembly containing System.Object was found nor was a value for RuntimeMetadataVersion specified through options.

It always fails for both System.Private.Uri.dll.bc and System.Private.CoreLib.dll.bc

@lewing lewing modified the milestones: 9.0.0, 10.0.0 Aug 15, 2024
@pavelsavara
Copy link
Member

Could this be a problem?

CSC : warning CS8021: No value for RuntimeMetadataVersion found. No assembly containing System.Object was found nor was a value for RuntimeMetadataVersion specified through options.

I think that's a consequence, not a root cause.

@pavelsavara
Copy link
Member

this is nice log with LLVM stack trace

  • clang frontend command failed with exit code 139
    • this is LLVM 19 but
  • we had similar problems already with LLVM 18
    • dmesg: read kernel buffer failed: Operation not permitted

LLVM 19

 Failed to compile Job-ZJHDLH/obj/Release/net9.0/wasm/for-publish/System.Private.CoreLib.dll.bc -> Job-ZJHDLH/obj/Release/net9.0/wasm/for-publish/System.Private.CoreLib.dll.o [Job-ZJHDLH/BenchmarkDotNet.Autogenerated.csproj]
  Microsoft.NET.Runtime.Emscripten.3.1.56.Sdk.linux-x64/10.0.0-alpha.1.24474.1/tools/bin/clang -target wasm32-unknown-emscripten -fvisibility=default -mllvm -combiner-global-alias-analysis=false -mllvm -wasm-enable-sjlj -mllvm -disable-lsr --sysroot=Microsoft.NET.Runtime.Emscripten.3.1.56.Cache.linux-x64/10.0.0-alpha.1.24474.1/tools/emscripten/cache/sysroot -DEMSCRIPTEN -Werror=implicit-function-declaration -Xclang -iwithsysroot/include/fakesdl -Xclang -iwithsysroot/include/compat -msimd128 -O2 -g3 -v -fwasm-exceptions -c Job-ZJHDLH/obj/Release/net9.0/wasm/for-publish/System.Private.CoreLib.dll.bc -o /home/helixbot/work/BF7F0A37/t/tmpRHF2zb.tmp [Job-ZJHDLH/BenchmarkDotNet.Autogenerated.csproj]
 clang version 19.0.0 (https://[email protected]/dnceng/internal/_git/dotnet-llvm-project 3b3b27985991b7132e77117dbf85f7f7372f7f18) [Job-ZJHDLH/BenchmarkDotNet.Autogenerated.csproj]
 Target: wasm32-unknown-emscripten [Job-ZJHDLH/BenchmarkDotNet.Autogenerated.csproj]
 Thread model: posix [Job-ZJHDLH/BenchmarkDotNet.Autogenerated.csproj]
 InstalledDir: Microsoft.NET.Runtime.Emscripten.3.1.56.Sdk.linux-x64/10.0.0-alpha.1.24474.1/tools/bin [Job-ZJHDLH/BenchmarkDotNet.Autogenerated.csproj]
  (in-process) [Job-ZJHDLH/BenchmarkDotNet.Autogenerated.csproj]
  "Microsoft.NET.Runtime.Emscripten.3.1.56.Sdk.linux-x64/10.0.0-alpha.1.24474.1/tools/bin/clang-19" -cc1 -triple wasm32-unknown-emscripten -emit-obj -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name System.Private.CoreLib.dll.bc -mrelocation-model static -mframe-pointer=none -ffp-contract=on -fno-rounding-math -mconstructor-aliases -target-feature +exception-handling -mllvm -wasm-enable-eh -target-feature +exception-handling -exception-model=wasm -target-cpu generic -target-feature +simd128 -debug-info-kind=constructor -dwarf-version=4 -debugger-tuning=gdb -fdebug-compilation-dir=Job-ZJHDLH -v -fcoverage-compilation-dir=Job-ZJHDLH -resource-dir Microsoft.NET.Runtime.Emscripten.3.1.56.Sdk.linux-x64/10.0.0-alpha.1.24474.1/tools/lib/clang/19 -O2 -Werror=implicit-function-declaration -ferror-limit 19 -fvisibility=default -fgnuc-version=4.2.1 -fskip-odr-check-in-gmf -exception-model=wasm -vectorize-loops -vectorize-slp -iwithsysroot/include/fakesdl -iwithsysroot/include/compat -mllvm -combiner-global-alias-analysis=false -mllvm -wasm-enable-sjlj -mllvm -disable-lsr -o /home/helixbot/work/BF7F0A37/t/tmpRHF2zb.tmp -x ir Job-ZJHDLH/obj/Release/net9.0/wasm/for-publish/System.Private.CoreLib.dll.bc [Job-ZJHDLH/BenchmarkDotNet.Autogenerated.csproj]
 clang -cc1 version 19.0.0 based upon LLVM 19.0.0 default target x86_64-linux-gnu [Job-ZJHDLH/BenchmarkDotNet.Autogenerated.csproj]
 PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. [Job-ZJHDLH/BenchmarkDotNet.Autogenerated.csproj]
 Stack dump: [Job-ZJHDLH/BenchmarkDotNet.Autogenerated.csproj]
 0.	Program arguments: Microsoft.NET.Runtime.Emscripten.3.1.56.Sdk.linux-x64/10.0.0-alpha.1.24474.1/tools/bin/clang-19 -target wasm32-unknown-emscripten -fvisibility=default -mllvm -combiner-global-alias-analysis=false -mllvm -wasm-enable-sjlj -mllvm -disable-lsr --sysroot=Microsoft.NET.Runtime.Emscripten.3.1.56.Cache.linux-x64/10.0.0-alpha.1.24474.1/tools/emscripten/cache/sysroot -DEMSCRIPTEN -Werror=implicit-function-declaration -Xclang -iwithsysroot/include/fakesdl -Xclang -iwithsysroot/include/compat -msimd128 -O2 -g3 -v -fwasm-exceptions -c Job-ZJHDLH/obj/Release/net9.0/wasm/for-publish/System.Private.CoreLib.dll.bc -o /home/helixbot/work/BF7F0A37/t/tmpRHF2zb.tmp [Job-ZJHDLH/BenchmarkDotNet.Autogenerated.csproj]
 1.	Optimizer [Job-ZJHDLH/BenchmarkDotNet.Autogenerated.csproj]
  #0 0x00005941f5384488 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (Microsoft.NET.Runtime.Emscripten.3.1.56.Sdk.linux-x64/10.0.0-alpha.1.24474.1/tools/bin/clang-19+0x3676488) [Job-ZJHDLH/BenchmarkDotNet.Autogenerated.csproj]
  #1 0x00005941f538222e llvm::sys::RunSignalHandlers() (Microsoft.NET.Runtime.Emscripten.3.1.56.Sdk.linux-x64/10.0.0-alpha.1.24474.1/tools/bin/clang-19+0x367422e) [Job-ZJHDLH/BenchmarkDotNet.Autogenerated.csproj]
  #2 0x00005941f538393e llvm::sys::CleanupOnSignal(unsigned long) (Microsoft.NET.Runtime.Emscripten.3.1.56.Sdk.linux-x64/10.0.0-alpha.1.24474.1/tools/bin/clang-19+0x367593e) [Job-ZJHDLH/BenchmarkDotNet.Autogenerated.csproj]
  #3 0x00005941f52fa1e9 (Microsoft.NET.Runtime.Emscripten.3.1.56.Sdk.linux-x64/10.0.0-alpha.1.24474.1/tools/bin/clang-19+0x35ec1e9) [Job-ZJHDLH/BenchmarkDotNet.Autogenerated.csproj]
  #4 0x000072ab8fc42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520) [Job-ZJHDLH/BenchmarkDotNet.Autogenerated.csproj]
  #5 0x00005941f47ec610 (Microsoft.NET.Runtime.Emscripten.3.1.56.Sdk.linux-x64/10.0.0-alpha.1.24474.1/tools/bin/clang-19+0x2ade610) [Job-ZJHDLH/BenchmarkDotNet.Autogenerated.csproj]
  #6 0x00005941f47f1184 (Microsoft.NET.Runtime.Emscripten.3.1.56.Sdk.linux-x64/10.0.0-alpha.1.24474.1/tools/bin/clang-19+0x2ae3184) [Job-ZJHDLH/BenchmarkDotNet.Autogenerated.csproj]
  #7 0x00005941f47f1825 llvm::simplifyInstruction(llvm::Instruction*, llvm::SimplifyQuery const&) (Microsoft.NET.Runtime.Emscripten.3.1.56.Sdk.linux-x64/10.0.0-alpha.1.24474.1/tools/bin/clang-19+0x2ae3825) [Job-ZJHDLH/BenchmarkDotNet.Autogenerated.csproj]
  #8 0x00005941f51e64b0 (Microsoft.NET.Runtime.Emscripten.3.1.56.Sdk.linux-x64/10.0.0-alpha.1.24474.1/tools/bin/clang-19+0x34d84b0) [Job-ZJHDLH/BenchmarkDotNet.Autogenerated.csproj]
  #9 0x00005941f51e55a6 llvm::EarlyCSEPass::run(llvm::Function&, llvm::AnalysisManager<llvm::Function>&) (Microsoft.NET.Runtime.Emscripten.3.1.56.Sdk.linux-x64/10.0.0-alpha.1.24474.1/tools/bin/clang-19+0x34d75a6) [Job-ZJHDLH/BenchmarkDotNet.Autogenerated.csproj]
 #10 0x00005941f5a28cbd (Microsoft.NET.Runtime.Emscripten.3.1.56.Sdk.linux-x64/10.0.0-alpha.1.24474.1/tools/bin/clang-19+0x3d1acbd) [Job-ZJHDLH/BenchmarkDotNet.Autogenerated.csproj]
 #11 0x00005941f4f89862 llvm::PassManager<llvm::Function, llvm::AnalysisManager<llvm::Function>>::run(llvm::Function&, llvm::AnalysisManager<llvm::Function>&) (Microsoft.NET.Runtime.Emscripten.3.1.56.Sdk.linux-x64/10.0.0-alpha.1.24474.1/tools/bin/clang-19+0x327b862) [Job-ZJHDLH/BenchmarkDotNet.Autogenerated.csproj]
 #12 0x00005941f41ed59d (Microsoft.NET.Runtime.Emscripten.3.1.56.Sdk.linux-x64/10.0.0-alpha.1.24474.1/tools/bin/clang-19+0x24df59d) [Job-ZJHDLH/BenchmarkDotNet.Autogenerated.csproj]
 #13 0x00005941f4f8cfd2 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) (Microsoft.NET.Runtime.Emscripten.3.1.56.Sdk.linux-x64/10.0.0-alpha.1.24474.1/tools/bin/clang-19+0x327efd2) [Job-ZJHDLH/BenchmarkDotNet.Autogenerated.csproj]
 #14 0x00005941f41ed3dd (Microsoft.NET.Runtime.Emscripten.3.1.56.Sdk.linux-x64/10.0.0-alpha.1.24474.1/tools/bin/clang-19+0x24df3dd) [Job-ZJHDLH/BenchmarkDotNet.Autogenerated.csproj]
 #15 0x00005941f4f88b74 llvm::PassManager<llvm::Module, llvm::AnalysisManager<llvm::Module>>::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) (Microsoft.NET.Runtime.Emscripten.3.1.56.Sdk.linux-x64/10.0.0-alpha.1.24474.1/tools/bin/clang-19+0x327ab74) [Job-ZJHDLH/BenchmarkDotNet.Autogenerated.csproj]
 #16 0x00005941f5a22490 (Microsoft.NET.Runtime.Emscripten.3.1.56.Sdk.linux-x64/10.0.0-alpha.1.24474.1/tools/bin/clang-19+0x3d14490) [Job-ZJHDLH/BenchmarkDotNet.Autogenerated.csproj]
 #17 0x00005941f5a1a4be clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>, std::__1::unique_ptr<llvm::raw_pwrite_stream, std::__1::default_delete<llvm::raw_pwrite_stream>>, clang::BackendConsumer*) (Microsoft.NET.Runtime.Emscripten.3.1.56.Sdk.linux-x64/10.0.0-alpha.1.24474.1/tools/bin/clang-19+0x3d0c4be) [Job-ZJHDLH/BenchmarkDotNet.Autogenerated.csproj]
 #18 0x00005941f5a3e8ac clang::CodeGenAction::ExecuteAction() (Microsoft.NET.Runtime.Emscripten.3.1.56.Sdk.linux-x64/10.0.0-alpha.1.24474.1/tools/bin/clang-19+0x3d308ac) [Job-ZJHDLH/BenchmarkDotNet.Autogenerated.csproj]
 #19 0x00005941f5e36a26 clang::FrontendAction::Execute() (Microsoft.NET.Runtime.Emscripten.3.1.56.Sdk.linux-x64/10.0.0-alpha.1.24474.1/tools/bin/clang-19+0x4128a26) [Job-ZJHDLH/BenchmarkDotNet.Autogenerated.csproj]
 #20 0x00005941f5da9064 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (Microsoft.NET.Runtime.Emscripten.3.1.56.Sdk.linux-x64/10.0.0-alpha.1.24474.1/tools/bin/clang-19+0x409b064) [Job-ZJHDLH/BenchmarkDotNet.Autogenerated.csproj]
 #21 0x00005941f5efd3e9 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (Microsoft.NET.Runtime.Emscripten.3.1.56.Sdk.linux-x64/10.0.0-alpha.1.24474.1/tools/bin/clang-19+0x41ef3e9) [Job-ZJHDLH/BenchmarkDotNet.Autogenerated.csproj]
 #22 0x00005941f3f52776 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) (Microsoft.NET.Runtime.Emscripten.3.1.56.Sdk.linux-x64/10.0.0-alpha.1.24474.1/tools/bin/clang-19+0x2244776) [Job-ZJHDLH/BenchmarkDotNet.Autogenerated.csproj]
 #23 0x00005941f3f50020 (Microsoft.NET.Runtime.Emscripten.3.1.56.Sdk.linux-x64/10.0.0-alpha.1.24474.1/tools/bin/clang-19+0x2242020) [Job-ZJHDLH/BenchmarkDotNet.Autogenerated.csproj]
 #24 0x00005941f5bfdb79 (Microsoft.NET.Runtime.Emscripten.3.1.56.Sdk.linux-x64/10.0.0-alpha.1.24474.1/tools/bin/clang-19+0x3eefb79) [Job-ZJHDLH/BenchmarkDotNet.Autogenerated.csproj]
 #25 0x00005941f52f9fcc llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) (Microsoft.NET.Runtime.Emscripten.3.1.56.Sdk.linux-x64/10.0.0-alpha.1.24474.1/tools/bin/clang-19+0x35ebfcc) [Job-ZJHDLH/BenchmarkDotNet.Autogenerated.csproj]
 #26 0x00005941f5bfd43b clang::driver::CC1Command::Execute(llvm::ArrayRef<std::__1::optional<llvm::StringRef>>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>*, bool*) const (Microsoft.NET.Runtime.Emscripten.3.1.56.Sdk.linux-x64/10.0.0-alpha.1.24474.1/tools/bin/clang-19+0x3eef43b) [Job-ZJHDLH/BenchmarkDotNet.Autogenerated.csproj]
 #27 0x00005941f5bbcf2e clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (Microsoft.NET.Runtime.Emscripten.3.1.56.Sdk.linux-x64/10.0.0-alpha.1.24474.1/tools/bin/clang-19+0x3eaef2e) [Job-ZJHDLH/BenchmarkDotNet.Autogenerated.csproj]
 #28 0x00005941f5bbd19e clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl<std::__1::pair<int, clang::driver::Command const*>>&, bool) const (Microsoft.NET.Runtime.Emscripten.3.1.56.Sdk.linux-x64/10.0.0-alpha.1.24474.1/tools/bin/clang-19+0x3eaf19e) [Job-ZJHDLH/BenchmarkDotNet.Autogenerated.csproj]
 #29 0x00005941f5bdc36f clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl<std::__1::pair<int, clang::driver::Command const*>>&) (Microsoft.NET.Runtime.Emscripten.3.1.56.Sdk.linux-x64/10.0.0-alpha.1.24474.1/tools/bin/clang-19+0x3ece36f) [Job-ZJHDLH/BenchmarkDotNet.Autogenerated.csproj]
 #30 0x00005941f3f4f421 clang_main(int, char**, llvm::ToolContext const&) (Microsoft.NET.Runtime.Emscripten.3.1.56.Sdk.linux-x64/10.0.0-alpha.1.24474.1/tools/bin/clang-19+0x2241421) [Job-ZJHDLH/BenchmarkDotNet.Autogenerated.csproj]
 #31 0x00005941f3f5db37 main (Microsoft.NET.Runtime.Emscripten.3.1.56.Sdk.linux-x64/10.0.0-alpha.1.24474.1/tools/bin/clang-19+0x224fb37) [Job-ZJHDLH/BenchmarkDotNet.Autogenerated.csproj]
 #32 0x000072ab8fc29d90 __libc_start_call_main ./csu/../sysdeps/nptl/libc_start_call_main.h:58:16 [Job-ZJHDLH/BenchmarkDotNet.Autogenerated.csproj]
 #33 0x000072ab8fc29e40 call_init ./csu/../csu/libc-start.c:128:20 [Job-ZJHDLH/BenchmarkDotNet.Autogenerated.csproj]
 #34 0x000072ab8fc29e40 __libc_start_main ./csu/../csu/libc-start.c:379:5 [Job-ZJHDLH/BenchmarkDotNet.Autogenerated.csproj]
 #35 0x00005941f3f4c729 _start (Microsoft.NET.Runtime.Emscripten.3.1.56.Sdk.linux-x64/10.0.0-alpha.1.24474.1/tools/bin/clang-19+0x223e729) [Job-ZJHDLH/BenchmarkDotNet.Autogenerated.csproj]
 clang-19: error: clang frontend command failed with exit code 139 (use -v to see invocation) [Job-ZJHDLH/BenchmarkDotNet.Autogenerated.csproj]
 clang version 19.0.0 (https://[email protected]/dnceng/internal/_git/dotnet-llvm-project 3b3b27985991b7132e77117dbf85f7f7372f7f18) [Job-ZJHDLH/BenchmarkDotNet.Autogenerated.csproj]
 Target: wasm32-unknown-emscripten [Job-ZJHDLH/BenchmarkDotNet.Autogenerated.csproj]
 Thread model: posix [Job-ZJHDLH/BenchmarkDotNet.Autogenerated.csproj]
 InstalledDir: Microsoft.NET.Runtime.Emscripten.3.1.56.Sdk.linux-x64/10.0.0-alpha.1.24474.1/tools/bin [Job-ZJHDLH/BenchmarkDotNet.Autogenerated.csproj]
 clang-19: note: diagnostic msg: Error generating preprocessed source(s) - no preprocessable inputs. [took 4.029s] [Job-ZJHDLH/BenchmarkDotNet.Autogenerated.csproj]
[2024/09/30 00:58:58][INFO]   [105/147] System.Runtime.InteropServices.JavaScript.dll.bc -> System.Runtime.InteropServices.JavaScript.dll.o [took 1.255s]
[2024/09/30 00:58:58][INFO]   [106/147] Sigil.dll.bc -> Sigil.dll.o [took 18.708s]
[2024/09/30 00:58:59][INFO]   [107/147] System.Runtime.Numerics.dll.bc -> System.Runtime.Numerics.dll.o [took 2.348s]
[2024/09/30 00:59:03][INFO]   [108/147] System.Linq.Expressions.dll.bc -> System.Linq.Expressions.dll.o [took 13.785s]
[2024/09/30 00:59:03][INFO]   [109/147] System.Data.Common.dll.bc -> System.Data.Common.dll.o [took 18.469s]
[2024/09/30 00:59:04][INFO]   [110/147] Job-ZJHDLH.dll.bc -> Job-ZJHDLH.dll.o [took 40.914s]
[2024/09/30 00:59:04][INFO]   [111/147] System.Reflection.Metadata.dll.bc -> System.Reflection.Metadata.dll.o [took 8.091s]
[2024/09/30 00:59:07][INFO]   [112/147] System.Private.DataContractSerialization.dll.bc -> System.Private.DataContractSerialization.dll.o [took 13.399s]
[2024/09/30 00:59:11][INFO]   [113/147] MicroBenchmarks.dll.bc -> MicroBenchmarks.dll.o [took 48.316s]
[2024/09/30 00:59:32][INFO]   [114/147] Microsoft.Diagnostics.Tracing.TraceEvent.dll.bc -> Microsoft.Diagnostics.Tracing.TraceEvent.dll.o [took 66.508s]
[2024/09/30 00:59:41][INFO]   [115/147] System.Private.Xml.dll.bc -> System.Private.Xml.dll.o [took 47.498s]
[2024/09/30 00:59:41][INFO] Build FAILED.
[2024/09/30 00:59:41][INFO] CSC : warning CS8002: Referenced assembly 'MicroBenchmarks, Version=42.42.42.42, Culture=neutral, PublicKeyToken=null' does not have a strong name. [Job-ZJHDLH/BenchmarkDotNet.Autogenerated.csproj]

LLVM 18

/root/helix/work/correlation/build/wasm-shared/WasmApp.Common.targets(838,5): error : Failed to compile /root/helix/work/workitem/e/wasm_build/obj/wasm/for-build/System.Private.CoreLib.dll.bc -> /root/helix/work/workitem/e/wasm_build/obj/wasm/for-build/System.Private.CoreLib.dll.o [/root/helix/work/workitem/e/publish/ProxyProjectForAOTOnHelix.proj]
/root/helix/work/correlation/build/wasm-shared/WasmApp.Common.targets(838,5): error : clang version 18.1.2-wasi-sdk (https://github.com/llvm/llvm-project 26a1d6601d727a96f4301d0d8647b5a42760ae0c) [/root/helix/work/workitem/e/publish/ProxyProjectForAOTOnHelix.proj]
/root/helix/work/correlation/build/wasm-shared/WasmApp.Common.targets(838,5): error : Target: wasm32-unknown-wasip2 [/root/helix/work/workitem/e/publish/ProxyProjectForAOTOnHelix.proj]
/root/helix/work/correlation/build/wasm-shared/WasmApp.Common.targets(838,5): error : Thread model: posix [/root/helix/work/workitem/e/publish/ProxyProjectForAOTOnHelix.proj]
/root/helix/work/correlation/build/wasm-shared/WasmApp.Common.targets(838,5): error : InstalledDir: /root/helix/work/correlation/build//wasi-sdk/bin [/root/helix/work/workitem/e/publish/ProxyProjectForAOTOnHelix.proj]
/root/helix/work/correlation/build/wasm-shared/WasmApp.Common.targets(838,5): error :  (in-process) [/root/helix/work/workitem/e/publish/ProxyProjectForAOTOnHelix.proj]
/root/helix/work/correlation/build/wasm-shared/WasmApp.Common.targets(838,5): error :  "/root/helix/work/correlation/build/wasi-sdk/bin/clang" -cc1 -triple wasm32-unknown-wasip2 -emit-obj -mrelax-all -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name System.Private.CoreLib.dll.bc -mrelocation-model static -mframe-pointer=none -ffp-contract=on -fno-rounding-math -mconstructor-aliases -target-cpu generic -fvisibility=hidden -debug-info-kind=constructor -dwarf-version=4 -debugger-tuning=gdb -fdebug-compilation-dir=/root/helix/work/workitem/e/publish -v -fcoverage-compilation-dir=/root/helix/work/workitem/e/publish -resource-dir /root/helix/work/correlation/build/wasi-sdk/lib/clang/18 -ferror-limit 19 -fgnuc-version=4.2.1 -fskip-odr-check-in-gmf -o /tmp/tmp49sRpe.tmp -x ir /root/helix/work/workitem/e/wasm_build/obj/wasm/for-build/System.Private.CoreLib.dll.bc [/root/helix/work/workitem/e/publish/ProxyProjectForAOTOnHelix.proj]
/root/helix/work/correlation/build/wasm-shared/WasmApp.Common.targets(838,5): error : clang -cc1 version 18.1.2-wasi-sdk based upon LLVM 18.1.2-wasi-sdk default target wasm32-wasi [/root/helix/work/workitem/e/publish/ProxyProjectForAOTOnHelix.proj]
/root/helix/work/correlation/build/wasm-shared/WasmApp.Common.targets(838,5): error : Killed [took 18.648s] [/root/helix/work/workitem/e/publish/ProxyProjectForAOTOnHelix.proj]


\nLast few messages from dmesg:\n
dmesg: read kernel buffer failed: Operation not permitted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arch-wasm WebAssembly architecture area-VM-meta-mono blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' Known Build Error Use this to report build issues in the .NET Helix tab os-wasi Related to WASI variant of arch-wasm
Projects
None yet
Development

No branches or pull requests

7 participants