Skip to content
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

RISC-V failing to build on latest nightly toolchain #155

Closed
mokurin000 opened this issue Dec 26, 2024 · 2 comments
Closed

RISC-V failing to build on latest nightly toolchain #155

mokurin000 opened this issue Dec 26, 2024 · 2 comments

Comments

@mokurin000
Copy link

mokurin000 commented Dec 26, 2024

upstream issue from LLVM.
rust-lang/rust#80608

may take workaround like nbdd0121/unwinding#42

@mokurin000
Copy link
Author

error: instruction requires the following: 'D' (Double-Precision Floating-Point)
   |
note: instantiated into assembly here
  --> <inline asm>:20:1
   |
20 | fsd fs0, 112(a0)
   | ^

error: instruction requires the following: 'D' (Double-Precision Floating-Point)
   |
note: instantiated into assembly here
  --> <inline asm>:21:1
   |
21 | fsd fs1, 120(a0)
   | ^

error: instruction requires the following: 'D' (Double-Precision Floating-Point)
   |
note: instantiated into assembly here
  --> <inline asm>:22:1
   |
22 | fsd fs2, 128(a0)
   | ^

error: instruction requires the following: 'D' (Double-Precision Floating-Point)
   |
note: instantiated into assembly here
  --> <inline asm>:23:1
   |
23 | fsd fs3, 136(a0)
   | ^

error: instruction requires the following: 'D' (Double-Precision Floating-Point)
   |
note: instantiated into assembly here
  --> <inline asm>:24:1
   |
24 | fsd fs4, 144(a0)
   | ^

error: instruction requires the following: 'D' (Double-Precision Floating-Point)
   |
note: instantiated into assembly here
  --> <inline asm>:25:1
   |
25 | fsd fs5, 152(a0)
   | ^

error: instruction requires the following: 'D' (Double-Precision Floating-Point)
   |
note: instantiated into assembly here
  --> <inline asm>:26:1
   |
26 | fsd fs6, 160(a0)
   | ^

error: instruction requires the following: 'D' (Double-Precision Floating-Point)
   |
note: instantiated into assembly here
  --> <inline asm>:27:1
   |
27 | fsd fs7, 168(a0)
   | ^

error: instruction requires the following: 'D' (Double-Precision Floating-Point)
   |
note: instantiated into assembly here
  --> <inline asm>:28:1
   |
28 | fsd fs8, 176(a0)
   | ^

error: instruction requires the following: 'D' (Double-Precision Floating-Point)
   |
note: instantiated into assembly here
  --> <inline asm>:29:1
   |
29 | fsd fs9, 184(a0)
   | ^

error: instruction requires the following: 'D' (Double-Precision Floating-Point)
   |
note: instantiated into assembly here
  --> <inline asm>:30:1
   |
30 | fsd fs10, 192(a0)
   | ^

error: instruction requires the following: 'D' (Double-Precision Floating-Point)
   |
note: instantiated into assembly here
  --> <inline asm>:31:1
   |
31 | fsd fs11, 200(a0)
   | ^

error: instruction requires the following: 'D' (Double-Precision Floating-Point)
   |
note: instantiated into assembly here
  --> <inline asm>:55:1
   |
55 | fld fs0, 112(a0)
   | ^

error: instruction requires the following: 'D' (Double-Precision Floating-Point)
   |
note: instantiated into assembly here
  --> <inline asm>:56:1
   |
56 | fld fs1, 120(a0)
   | ^

error: instruction requires the following: 'D' (Double-Precision Floating-Point)
   |
note: instantiated into assembly here
  --> <inline asm>:57:1
   |
57 | fld fs2, 128(a0)
   | ^

error: instruction requires the following: 'D' (Double-Precision Floating-Point)
   |
note: instantiated into assembly here
  --> <inline asm>:58:1
   |
58 | fld fs3, 136(a0)
   | ^

error: instruction requires the following: 'D' (Double-Precision Floating-Point)
   |
note: instantiated into assembly here
  --> <inline asm>:59:1
   |
59 | fld fs4, 144(a0)
   | ^

error: instruction requires the following: 'D' (Double-Precision Floating-Point)
   |
note: instantiated into assembly here
  --> <inline asm>:60:1
   |
60 | fld fs5, 152(a0)
   | ^

error: instruction requires the following: 'D' (Double-Precision Floating-Point)
   |
note: instantiated into assembly here
  --> <inline asm>:61:1
   |
61 | fld fs6, 160(a0)
   | ^

error: instruction requires the following: 'D' (Double-Precision Floating-Point)
   |
note: instantiated into assembly here
  --> <inline asm>:62:1
   |
62 | fld fs7, 168(a0)
   | ^

error: instruction requires the following: 'D' (Double-Precision Floating-Point)
   |
note: instantiated into assembly here
  --> <inline asm>:63:1
   |
63 | fld fs8, 176(a0)
   | ^

error: instruction requires the following: 'D' (Double-Precision Floating-Point)
   |
note: instantiated into assembly here
  --> <inline asm>:64:1
   |
64 | fld fs9, 184(a0)
   | ^

error: instruction requires the following: 'D' (Double-Precision Floating-Point)
   |
note: instantiated into assembly here
  --> <inline asm>:65:1
   |
65 | fld fs10, 192(a0)
   | ^

error: instruction requires the following: 'D' (Double-Precision Floating-Point)
   |
note: instantiated into assembly here
  --> <inline asm>:66:1
   |
66 | fld fs11, 200(a0)
   | ^

error: could not compile `c-scape` (lib) due to 24 previous errors
warning: build failed, waiting for other jobs to finish...
Error: Process completed with exit code 101.

@sunfishcode
Copy link
Owner

Thanks! This is fixed, using the workaroud like nbdd0121/unwinding#42, in #156 which is released in c-scape 0.21.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants