-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
freestanding_module_import_2 assembly failure on ARM64 #23397
Labels
Bug
This tag is applied to issues which reports bugs.
Comments
I see this
|
What distribution and compiler are you using? |
Manjaro on x64, tcc compiler. |
Alright, could you try with GCC, please? |
Same successful output. Command was |
This is because fn sys_call0(scn u64) u64 {
mut res := u64(0)
asm amd64 {
syscall
; =a (res)
; a (scn)
}
return res
}
fn sys_call1(scn u64, arg1 u64) u64 {
mut res := u64(0)
asm amd64 {
syscall
; =a (res)
; a (scn)
D (arg1)
}
return res
}
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Reproduction Steps
Expected Behavior
The test to succeed.
Current Behavior
The test fails to build.
Possible Solution
No response
Additional Information/Context
Full log: https://file-store.openmandriva.org/api/v1/file_stores/32f80acbbdb28ac8e2d5eea7943d7efb4fcce010.log?show=true
V version
0.4.9
Environment details (OS name and version, etc.)
OpenMandriva on ARM64.
Note
You can use the 👍 reaction to increase the issue's priority for developers.
Please note that only the 👍 reaction to the issue itself counts as a vote.
Other reactions and those to comments will not be taken into account.
Huly®: V_0.6-21828
The text was updated successfully, but these errors were encountered: