dotnet / dotnet/performance

Mono AOT compilation failing on Ubuntu.2004.Arm64.Perf due to lack of libc++

Open
#3,112 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
F#
Stars
773
Forks
301
Avg merge
6d 9h
Merged PRs (30d)
15

Description

[Link to example Pipeline Run (internal only)](https://dev.azure.com/dnceng/internal/_build/results?buildId=2216333&view=logs&j=8e5e942d-69f3-5310-4122-1f08fc5161c2&t=3b4fff3a-333b-5f02-e97f-03d74a6070da).

Example Failure Log:
```
[2023/07/07 13:40:41][INFO] [Microsoft.DotNet.PlatformAbstractions.dll] Exec (with response file contents expanded) in /home/helixbot/work/AEA40921/w/B0E10940/e/performance/artifacts/bin/MicroBenchmarks/Release/net8.0/def13007-497a-4580-9717-3c426cc3fd3c/bin/net8.0/linux-arm64/publish: MONO_PATH=/home/helixbot/work/AEA40921/w/B0E10940/e/performance/artifacts/bin/MicroBenchmarks/Release/net8.0/def13007-497a-4580-9717-3c426cc3fd3c/bin/net8.0/linux-arm64/publish: MONO_ENV_OPTIONS= /home/helixbot/work/AEA40921/p/monoaot/sgen/mini/mono-sgen --debug --llvm "--aot=mcpu=native,nodebug,llvm-path=/home/helixbot/work/AEA40921/p/monoaot/pack/runtimes/linux-arm64/native,outfile=/home/helixbot/work/AEA40921/w/B0E10940/e/performance/artifacts/bin/MicroBenchmarks/Release/net8.0/def13007-497a-4580-9717-3c426cc3fd3c/bin/net8.0/linux-arm64/publish/Microsoft.DotNet.PlatformAbstractions.dll.so,llvm-outfile=/home/helixbot/work/AEA40921/w/B0E10940/e/performance/artifacts/bin/MicroBenchmarks/Release/net8.0/def13007-497a-4580-9717-3c426cc3fd3c/bin/net8.0/linux-arm64/publish/Microsoft.DotNet.PlatformAbstractions.dll-llvm.o" "Microsoft.DotNet.PlatformAbstractions.dll"
[2023/07/07 13:40:41][INFO]
[2023/07/07 13:40:41][INFO] /home/helixbot/work/AEA40921/p/monoaot/sgen/mini/mono-sgen: error while loading shared libraries: libc++.so.1: cannot open shared object file: No such file or directory
```

Due to [this BDN issue](https://github.com/dotnet/BenchmarkDotNet/issues/2311), the run continues without being marked as a failure and runs the benchmarks against the .NET version installed on the system.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.