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

ch4-lab无法编译成功 #164

Open
Hlinbit opened this issue Feb 10, 2023 · 4 comments
Open

ch4-lab无法编译成功 #164

Hlinbit opened this issue Feb 10, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@Hlinbit
Copy link

Hlinbit commented Feb 10, 2023

切换到ch4-lab分之后执行make run,在编译中会出现大量错误,错误如下:

error[E0658]: use of unstable library feature 'asm': inline assembly is not stable enough for use and is subject to change
   --> /home/hlinbit/.cargo/git/checkouts/riscv-ab2abd16c438337b/11d43cf/src/register/macros.rs:105:23
    |
105 |                 () => core::arch::asm!("csrrw x0, {1}, {0}", in(reg) bits, const $csr_number),
    |                       ^^^^^^^^^^^^^^^
    |
   ::: /home/hlinbit/.cargo/git/checkouts/riscv-ab2abd16c438337b/11d43cf/src/register/hypervisorx64/vsepc.rs:3:1

环境:Ubuntu64/Macos-M1都出现这个问题,rust版本:rustc 1.57.0-nightly (e1e9319d9 2021-10-14)。

@wyfcyx
Copy link
Collaborator

wyfcyx commented Feb 10, 2023

@Hlinbit 暂时没时间维护实验分支,如果要做实验的话可以去看实验向的指导书

@lsy1109
Copy link

lsy1109 commented Feb 14, 2023

@Hlinbit 暂时没时间维护实验分支,如果要做实验的话可以去看实验向的指导书

如果想要写一下实验的话 是不是只能去看实验向指导书 而不是这个v3 book啊

@wyfcyx
Copy link
Collaborator

wyfcyx commented Feb 14, 2023

@lsy1109 目前实验向指导书比较新,一些相关的实验内容还没有更新到v3 book中,我们会尽快更新的。

@lsy1109
Copy link

lsy1109 commented Feb 14, 2023

@wyfcyx 那v3book 的理论知识是不是也不够新呢? 相比实验向的指导书。是不是理论部分也应该去看实验向指导书啊?还是只有实验相关和 实验code方面 v3book需要更新。理论方面是很完善的呢?

@wyfcyx wyfcyx added the bug Something isn't working label Jun 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants