I want to enable AppArmor on 4.4.77-rockchip-ayufan-136 on Rock64. To do that, I need to compile into kernel two more lines:
For learning purpose, I use distcc this time. It will also enhances the usability of Rock64 if (test) compile of kernel can be a bit easier job.
For easy execution, I freshly build a Stretch VM on PC as distcc helper. Because
1. it has exactly the same gcc --version as of the 136build : "gcc (Debian 6.3.0-18+deb9u1)"
2. no firewall on both VM and Rock64
I follow exactly the recipes here
https://github.com/ayufan-rock64/linux-b...-distcc.md
but things do not happen magically.
When running "top" on the VM, one or two "distcc" blinks shortly on the list around every 5 mins.
The /var/log/distccd.log consists a long list of
While on the terminal to Rock64 where I fired
it is fluid with
Can I conclude that network connection is established but something else is wrong? Or, there is still some permission issues or what?
Or there is some compiler-related outstanding settings on the VM to fulfill the magic?
(gentoo and some other tutorials do quite some soft-link for gcc,..,g++; not on the recipe here.)
When I run gcc -v, VM shows Target: x86_64-linux-gnu on VM, while Rock64 shows Target: aarch64-linux-gnu. Do I need to align them, or output of gcc -v does not matter here? If I do, what exactly should I do? Run on VM a "export CROSS_COMPILES=??" or what?
Or, what else should I look into?
Thanks for your help.
Code:
CONFIG_SECURITY_APPARMOR_BOOTPARAM_VALUE=1
CONFIG_DEFAULT_SECURITY_APPARMOR=y
For learning purpose, I use distcc this time. It will also enhances the usability of Rock64 if (test) compile of kernel can be a bit easier job.
For easy execution, I freshly build a Stretch VM on PC as distcc helper. Because
1. it has exactly the same gcc --version as of the 136build : "gcc (Debian 6.3.0-18+deb9u1)"
2. no firewall on both VM and Rock64
I follow exactly the recipes here
https://github.com/ayufan-rock64/linux-b...-distcc.md
but things do not happen magically.
When running "top" on the VM, one or two "distcc" blinks shortly on the list around every 5 mins.
The /var/log/distccd.log consists a long list of
Code:
distccd[399] (dcc_job_summary) client: 192.168.0.52:54524 COMPILE_ERROR exit:1 sig:0 core:0 ret:0 time:412ms cc drivers/base/devcoredump.c
While on the terminal to Rock64 where I fired
Code:
make -j 9 CC=distcc
Code:
distcc[32589] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
Can I conclude that network connection is established but something else is wrong? Or, there is still some permission issues or what?
Or there is some compiler-related outstanding settings on the VM to fulfill the magic?
(gentoo and some other tutorials do quite some soft-link for gcc,..,g++; not on the recipe here.)
When I run gcc -v, VM shows Target: x86_64-linux-gnu on VM, while Rock64 shows Target: aarch64-linux-gnu. Do I need to align them, or output of gcc -v does not matter here? If I do, what exactly should I do? Run on VM a "export CROSS_COMPILES=??" or what?
Or, what else should I look into?
Thanks for your help.