runtime: Running dotnet in Linux chroot with FreeBSD host fails
The helloworld app in Linux chroot of FreeBSD still failed when invoking the compiler (at dotnet exec /path/csc.dll..., during the build). Tested with 3.1.2, without the workaround. Here is the truss output: https://api.cirrus-ci.com/v1/task/6667788790005760/logs/emulate dotnet.log. With the sched_getcpu workaround, it continues to work.
_Originally posted by @am11 in https://github.com/dotnet/runtime/issues/13475#issuecomment-593388064_
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 18 (18 by maintainers)
@adamsitnik, thanks for the reminder. Waiting for https://github.com/dotnet/sdk/pull/12935 to pick up that change.
Opened https://github.com/microsoft/clrmd/issues/875 for
dump analyzesupport.The missing membarrier should not be a problem, the mprotect / mlock is a fallback that we use if the membarrier doesn’t work. Only arm64 would have problems because the mprotect / mlock thing doesn’t work on it.