Open celinesantosh98 opened 5 months ago
Clone Failed Error: yes, it is very intentional that we are using the .git links for the repo: they make it easier for contributors to push changes since everything is done through ssh keys (I recommend doing everything on github with ssh keys, it makes life much easier)
Missing File Error: Ya, sorry about that, I think the mac filename was renamed at some point, I'll fix that.
I'll take a look at the other mac issues you have, but it seems that proc_macro is using the wrong version on mac (?). I can't promise that I'll look at this immediately since I don't have a mac machine to test on.
Tbh, the easiest fix would just be to use linux, which I test often and know to work.
Thank you for your previous reply. When trying to build the image using the Dockerfile from the WaVe repository, the following build errors were encountered:
1908.2 error: cannot find macro `llvm_asm` in this scope
1908.2 --> /root/.cargo/git/checkouts/system-call.rs-d3ba18a5a1a818aa/5161ba2/src/platform/linux-aarch64/mod.rs:100:5
1908.2 |
1908.2 100 | llvm_asm!("svc 0"
1908.2 | ^^^^^^^^
1908.2
1908.2 error: cannot find macro `llvm_asm` in this scope
1908.2 --> /root/.cargo/git/checkouts/system-call.rs-d3ba18a5a1a818aa/5161ba2/src/platform/linux-aarch64/mod.rs:83:5
1908.2 |
1908.2 83 | llvm_asm!("svc 0" : "={x0}"(ret)
1908.2 | ^^^^^^^^
1908.2
1908.2 error: cannot find macro `llvm_asm` in this scope
1908.2 --> /root/.cargo/git/checkouts/system-call.rs-d3ba18a5a1a818aa/5161ba2/src/platform/linux-aarch64/mod.rs:66:5
1908.2 |
1908.2 66 | llvm_asm!("svc 0"
1908.2 | ^^^^^^^^
1908.2
1908.2 error: cannot find macro `llvm_asm` in this scope
1908.2 --> /root/.cargo/git/checkouts/system-call.rs-d3ba18a5a1a818aa/5161ba2/src/platform/linux-aarch64/mod.rs:50:5
1908.2 |
1908.2 50 | llvm_asm!("svc 0"
1908.2 | ^^^^^^^^
1908.2
1908.2 error: cannot find macro `llvm_asm` in this scope
1908.2 --> /root/.cargo/git/checkouts/system-call.rs-d3ba18a5a1a818aa/5161ba2/src/platform/linux-aarch64/mod.rs:39:5
1908.2 |
1908.2 39 | llvm_asm!("svc 0"
1908.2 | ^^^^^^^^
1908.2
1908.2 error: cannot find macro `llvm_asm` in this scope
1908.2 --> /root/.cargo/git/checkouts/system-call.rs-d3ba18a5a1a818aa/5161ba2/src/platform/linux-aarch64/mod.rs:28:5
1908.2 |
1908.2 28 | llvm_asm!("svc 0"
1908.2 | ^^^^^^^^
1908.2
1908.2 error: cannot find macro `llvm_asm` in this scope
1908.2 --> /root/.cargo/git/checkouts/system-call.rs-d3ba18a5a1a818aa/5161ba2/src/platform/linux-aarch64/mod.rs:17:5
1908.2 |
1908.2 17 | llvm_asm!("svc 0"
1908.2 | ^^^^^^^^
1908.2
1908.3 error: could not compile `system-call` due to 7 previous errors
1908.3 warning: build failed, waiting for other jobs to finish...
1911.4 error: build failed
1911.4 make: *** [Makefile:15: bootstrap] Error 101
------
Dockerfile:30
--------------------
28 | RUN git clone git@github.com:PLSysSec/wave.git
29 | WORKDIR /wave
30 | >>> RUN make bootstrap
31 | RUN make build
32 |
--------------------
ERROR: failed to solve: process "/bin/sh -c make bootstrap" did not complete successfully: exit code: 2
Thanks in advance.
Hmm, I haven't been able to reproduce this, what architecture are you running on?
Mac OS Ventura version 13.5.2, apple M1 chip, arm64
is this executable on this environment?
I second that WaVe does not build on darwin, even after fixing the file name issues.
Alright. Easiest fix is just to run it on Linux, but ill take a look at it this weekend
No rush. I just tried to build on darwin because I had one handy and the paper mentions that WaVe is implemented for both linux and darwin. I had no problem building on Linux.
Issue: Multiple Errors While Building WaVe
Hi,
My name is Celine, and I am currently pursuing my Master's from Universität des Saarlandes. I am using WaVe as a part of my thesis, and I encountered several errors while trying to clone and build the project.
Clone Failed Error
Initially, I encountered a clone failed error of submodules as they were cloning using SSH keys. I changed the
.gitmodules
file to use HTTPS URLs, which resolved the cloning issue.proc_macro_span_shrink
ErrorNext, I encountered the following error:
I resolved this by commenting out the corresponding line in the file.
Missing File Error
Subsequently, I encountered this error:
It seems like the file name is macos.rs and in the files Mac.rs was specified. So I changed it to macos.rs in all files which eliminated the error.
Multiple Errors in macos.rs
After that, I got a lot of errors:
Any help would be appreciated Thanks