-
Notifications
You must be signed in to change notification settings - Fork 1
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
Build Failure #1
Comments
Hi! Thanks for trying! It's not entirely clear to me yet what specifically caused the errors you saw, but I did find that I had messed something up in the build process. Could you retry with the latest version on the master branch? |
@jasonyu1996 Hi, thanks for reply, I tried again with new This time, previous steps are OK. Bug 0:
Bug 1: The multiple definition in eyrie still exists.
Here is my toolchain info: $
$
|
The problem should be the same as reported in that issue of Keystone. You are using a toolchain that is too new. I will probably update the code so it can be built with newer toolchains later, but for now, you should already have a pre-built toolchain available under |
PROBLEM SOLVED Conclusion:
I wrote a long bug report about my recent building problems, but fortunately, I succeed in the end. I decide to paste it here all the same, maybe it will help others. Hi, Jason. Thanks for pointing it out. I did change the path in Then I ran into some bugs which are probably caused by Ubuntu 18.04 ( supports up to
I restarted building on Ubuntu 20.04. This time, previous steps are bug-free. Almost done. Finally, it failed during tests building. I tried other
Looks like there is something wrong with the path of Well, I got it.. :-) You forgot to Here is mine:
|
@bows7ring Thank you so much for the detailed report! I will try reproducing the problems you encountered and see what I can do to improve README and the build scripts |
Awesome project!
I want to run it on QEMU, but I'm having some build problems.
Build Failure:
Ubuntu 18.04.
Working on
master
branch.Result of
git submodule status
:Result of
git branch -a
:Error Log:
Bug 0:
Firstly, I followed the steps in Readme. I ran
./docker.sh
with all submodules updated.But I found some small bugs, as shown in log message below:
Wrong PATH. I changed the relevant 'Makefile' to get it fixed, and I decided to build it step by step.
sudo ./docker-build.sh
Succeed.
sudo ./docker-run.sh ./fast-setup.sh
Looks right. But I got:
sudo ./docker-run.sh ./make-sodium.sh
Succeed.
sudo ./docker-run.sh ./make-musl.sh
Succeed.
BUG 1:
There is something wrong in this step:
sudo ./docker-run.sh ./make.sh
Here is Error Log:
Well, it seems that my kernel header is too NEW. I found some comments in
buildroot/toolchain/toolchain/toolchain.mk
:So I changed the kernel header to 4.14 via
make menuconfig
in/buildroot
, but failed again with the same Log.Bug 2:
./docker-run.sh ./make-sdk.sh
Looks like there's something wrong with the RISC-V linker rather than
eyrie
. I noticed that there is a similar issue in Keystone's repo. However, I still didn't figure out the solution... Well, I'm really not an expert on toolchain or docker.Merry Xmas !
Any help would be appreciated !
The text was updated successfully, but these errors were encountered: