-
-
Notifications
You must be signed in to change notification settings - Fork 288
The image for rpi4 is not compiled #3842
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
Comments
"Please re-run make with -j1 V=s or V=sc for a higher verbosity level to see what's going on" in rpi4/6.6/source |
The answer to make -j1 V=s
The answer to make -j1 V=sc
|
Seems to be an out of memory error, need more RAM or swap. |
@Ysurac , got it, thanks Can you tell me which way is better to compile an image for a custom platform? Copy a ready-made platform and edit it for a custom one? Unfortunately, I don't fully understand the steps in the instructions. Is a "OMR_TARGET="myplatform" OMR_FEED_SRC="master" OMR_KERNEL="6.6"./build.sh" call required if there is no custom platform? |
"myplatform" will select the right config file if it exist and set the directory of the platform. OMR_FEED_SRC select the branch you want to use (develop/master) and OMR_KERNEL the Linux Kernel you want to use. |
The config-myplatform file is required in the root of openmptcprouter, right? |
No, but without it you have to select arch via "make menuconfig" |
Increased RAM. Now I get this
|
I don't really see the real error here. Seems to be on Linux kernel compilation. Check available disk space. |
There are about 80GB free on the disk |
I think I figured out what the problem was. I did "make -j2 V=s" to split into 2 threads, but apparently it was not applicable for me. I did "make -j1 V=s" and the build went on. The next problem is this:
|
Seems that LLVM is not installed, select it in |
Both should work I think, but LLVM is not found on your host here. |
|
Really too old |
I removed the llvm-7 package and installed llvm-13 - nothing has changed. I will try the "Build LLVM toolchain for eBPF" option or use Debian 12.
|
This is with option "Build LLVM toolchain for eBPF"
|
This is happening on Debian 12. LLVM version 14
|
With "Build LLVM toolchain for eBPF" you seems to go further but you used master branch, and as indicated Rust 1.81 package is not more available. |
Branch v0.61 is used with the option "Build LLVM toolchain for eBPF" For Debian 12, I'm trying to install clang and repeat |
v0.61 will not compile due to rust. use v0.62 or develop |
Debian 12: installed clang, selected the v0.62 branch
|
Debian 10: The v0.62 branch is being used. I installed clang-13 and llvm-13 packages on top of the default packages clang-7 and llvm-7. Redirected the links /usr/bin/clang and /usr/bin/llvm to /usr/bin/clang-13 and /usr/bin/llvm-13
|
As you can see, there is a conflict between LLVM 13 and LLVM 7. |
As a result, I took ubuntu 24.04, since ubuntu-latest is specified in the file https://github.com/Ysurac/openmptcprouter-feeds/blob/develop/.github/workflows/main.yml, and followed the following steps:
I get a rust unpacking error.
Another option. I have made a fork of the required repositories - the build is successful. I don't understand why difficulties arise when working with a VPS machine. |
You have a problem on file download. Try again. |
I tried it three times and there is an error in the same place. There is a problem with unzipping. The file itself downloads 100% successfully. Maybe the file on the remote repository is corrupted. I would like to understand why the chosen VPS is bad. I don't rule it out, but what should I pay attention to later? |
Expected Behavior
I'm trying to build an image for raspberry pi 4 from the master branch using the 6.6 kernel
Current Behavior
I do everything according to the instructions https://github.com/Ysurac/openmptcprouter/wiki/Create-image-for-unsupported-platform . I have a clean Debian 10 OS, downloaded the necessary packages, master the openmptcprouter branch and launched "OMR_TARGET="rpi4" OMR_FEED_SRC="master" OMR_KERNEL="6.6"./build.sh ". As a result, compilation stops at
...
make[3] -C tools/dwarves clean-build
make[3] -C tools/dwarves compile
make[2] toolchain/compile
make[3] -C toolchain/binutils compile
make[3] -C toolchain/gcc/initial compile
ERROR: toolchain/gcc/initial failed to build.
make -r world: build failed. Please re-run make with -j1 V=s or V=sc for a higher verbosity level to see what's going on
make: *** [/home/username/openmptcprouter/rpi4/6.6/source/include/toplevel.mk:233: world] Error 1
The text was updated successfully, but these errors were encountered: