[PROBLEM SOLVED] Distcc Help
#1
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:
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
it is fluid with
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.
  Reply


Messages In This Thread
[PROBLEM SOLVED] Distcc Help - by cooker - 04-30-2018, 03:43 AM
RE: Distcc Help - by cooker - 05-01-2018, 12:44 AM
RE: Distcc Help - by cooker - 05-01-2018, 05:35 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  problem with debian emmc boot G4zCDzWb 10 1,635 11-01-2024, 04:32 PM
Last Post: bits
  Rock64 Debian 11 (Bullseye) install problem jbize 15 11,243 10-12-2023, 05:14 PM
Last Post: tpaul
  External hard drive problem k8Va 17 24,828 03-09-2021, 02:31 PM
Last Post: calinb
  Arch Linux Arm - external RTC problem max 1 3,317 08-17-2020, 10:35 AM
Last Post: max
  Read-only problem mikedhoore 5 7,643 07-14-2020, 11:41 AM
Last Post: zein
  Display limited to 800x600 [SOLVED] Averell 16 21,184 06-05-2020, 11:07 PM
Last Post: ab1jx
Question bluetooth rock64 problem deta 3 5,677 05-06-2020, 11:29 PM
Last Post: deta
  Fedora 31 crosscompilation fdt problem mimics debian 888789 kf5zmi 2 4,655 01-20-2020, 12:25 PM
Last Post: kf5zmi
Question [SOLVED] Alpine Linux won't boot rock7 1 6,553 10-22-2019, 04:30 PM
Last Post: rock7
  ROCK64 Kernel compilation problem cao 0 2,699 01-21-2019, 01:21 AM
Last Post: cao

Forum Jump:


Users browsing this thread: 4 Guest(s)