-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Arm/Arm64 cross builds failing #4502
Comments
/cc @benpye |
@mmitche Working on fixing the build break, however I believe arm64 shouldn't be broken. It appears the arm64 build is actually also building the arm files:
|
@benpye Agh...how did that happen. Changed. |
After I believe I have fixed the first error I am hitting the assert at https://github.com/dotnet/coreclr/blob/master/src/debug/inc/dbgipcevents.h#L2355 . I guess this is a cause of the conversion from |
Different error on arm64: In file included from /mnt/j/workspace/dotnet_coreclr_arm64_linux_debug/src/pal/src/exception/seh.cpp:282: |
I've disabled that code for non AMD64 platforms for now since it seems like it's only called from the AMD64 VM. Something I would like @kangaroo to look at though, libunwind lies on both ARM and ARM64 about the registers it's using, in this case, it uses LR for both IP and LR as per https://github.com/fdoray/libunwind/blob/master/include/libunwind-aarch64.h hence it has two of the same case. I already use the exact registers on ARM to avoid this, maybe this should be done for ARM64 too? |
As of:
http://dotnet-ci.cloudapp.net/job/dotnet_coreclr_arm64_linux_debug/29/
Changes in that build:
Changes 1.Add link to .NET Core Roadmap (commit: 2c65582) (detail)
2.Use Frame list context when GetThreadContext is unavailable (commit: eb3260e) (detail)
3.Use out-of-proc libunwind to unwind native stack from DAC (commit: d0f71d0) (detail)
Error:
In file included from /mnt/j/workspace/dotnet_coreclr_arm64_linux_debug/src/pal/src/exception/seh.cpp:282:
/mnt/j/workspace/dotnet_coreclr_arm64_linux_debug/src/pal/src/exception/seh-unwind.cpp:494:5: error: use of undeclared identifier 'WinContextToUnwindContext'; did you mean 'WinContextToUnwindCursor'?
WinContextToUnwindContext(context, &unwContext);
^~~~~~~~~~~~~~~~~~~~~~~~~
WinContextToUnwindCursor
/mnt/j/workspace/dotnet_coreclr_arm64_linux_debug/src/pal/src/exception/seh-unwind.cpp:88:13: note: 'WinContextToUnwindCursor' declared here
static void WinContextToUnwindCursor(CONTEXT *winContext, unw_cursor_t *cursor)
^
/mnt/j/workspace/dotnet_coreclr_arm64_linux_debug/src/pal/src/exception/seh-unwind.cpp:494:40: error: cannot initialize a parameter of type 'unw_cursor_t *' (aka 'unw_cursor *') with an rvalue of type 'unw_context_t *' (aka 'unw_tdep_context *')
WinContextToUnwindContext(context, &unwContext);
^~~~~~~~~~~
/mnt/j/workspace/dotnet_coreclr_arm64_linux_debug/src/pal/src/exception/seh-unwind.cpp:88:73: note: passing argument to parameter 'cursor' here
static void WinContextToUnwindCursor(CONTEXT *winContext, unw_cursor_t *cursor)
The text was updated successfully, but these errors were encountered: