-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Linux: corerun can not find libcoreclr.so (undefined symbol CHAIN_SUCCESS_COUNTER) #3901
Comments
just run this... |
@janvorli I'm testing it now |
I can not reproduce this even by using your method. For me the libcoreclr.so does load. not to mention fate_file.txt is not an assembly also but it should at least give you this error. |
... No visible warnings or errors.
|
Same here:
Ubuntu 14.10. |
I also get this behavior on Ubuntu 14.10 64bit The symbol is indeed undefined as shown by readelf command. readelf -s libcoreclr.so |
@piot @OtherCrashOverride @kuzirashi Maybe there is a problem with the fact that the |
I am trying the change in coreclr/src/vm/amd64/virtualcallstubamd64.S (note the different path) |
@OtherCrashOverride I am sorry for the wrong path, the one you are using is the right one. |
That appears to correct it: for this test I now get the expected readelf shows no CHAIN_SUCCESS_COUNTER symbol preset |
Great! Thanks a lot for testing it. I will check in the fix in a minute. |
@OtherCrashOverride Fix is in as dotnet/coreclr#109 |
I fulltext-searched CoreCLR source code and I have found almost no conditional checks for Windows. I ended up using _WINNT_ and it seems to work. Thanks Tomas
...which builds
amd64
debug
by default:It produces the same error, even if a valid executable is placed instead of
fake_file.txt
.The files
libcoreclr.so
andlibmscordaccore.so
are present in the same directory, and should be found by dlopen?distro: Ubuntu 14.10
clang: 3.5.0-4ubuntu2
gcc: 4.9.1
cmake: 2.8.12.2
The text was updated successfully, but these errors were encountered: