Open wateret opened 7 years ago
On my x64/Linux machine, I was able to get libcoredistools.so
with tests/setup-runtime-dependencies.sh
. Is there a same file for x86/Linux?
In the script file, I've tried to change the $rid
from ubuntu.14.04-x64 to ubuntu.14.04-x86 but I still get the x64 version.
I also tried to build LLILC but it is not easy to build it on x86. Is LLILC is the right source for CoreDisTools?
Yes, it requires the libcoredistools.so - a disassembler - to figure out sizes of instructions so that it can insert an invalid instruction after each generated asm instruction to invoke a signal handler and trigger a GC. I think that llilc is the right source of the coredistools stuff. But most of the GC related issues can be discovered with GC modes 1, 2 and 3, so if you want to use it now just as a tool for verifying the changes you are working on, then I'd recommend using just those three modes and leaving the support for the modes >=4 for later.
Yeah, we need to produce libcoredistools.so for Linux/x86.
@dotnet/jit-contrib @swaroop-sridhar FYI
@zamont I was talking to you yesterday about how we need coredistools for more platforms; here's an issue related to Linux/x86, and @sergign60 has a need for this in the referenced issue.
This is still an issue, but I don't think it is a priority right now. The solution seems to just be to build the coredistools for linux/x86.
GC Stress test with level less than 4 are fine but with level 4 looks like CLR requires CoreDisTools.
category:reach theme:testing skill-level:intermediate cost:medium