1

我试图为我正在处理的一个新项目设置一个小型 2 系统 distcc 编译集群,但由于某种原因,我无法让集群中的第二台服务器进行编译。

如果我尝试在所述服务器上运行 arm-eabi-gcc 文件,我会得到正常的无输入文件错误,但 distcc 有其他想法。

从其日志文件中提取:

distccd[13005] (dcc_execvp) ERROR: failed to exec arm-eabi-gcc: No such file or directory
distccd[13002] (dcc_job_summary) client: xxx.xxx.xxx.xxx:32890 COMPILE_ERROR exit:110 sig:0 core:0 ret:0 time:1103ms arm-eabi-gcc arch/arm/vfp/vfpdouble.c
distccd[13003] (dcc_pump_readwrite) ERROR: unexpected eof on fd5
distccd[13003] (dcc_job_summary) client: xxx.xxx.xxx.xxx:32891 CLI_DISCONN exit:0 sig:0 core:0 ret:107 time:429ms
distccd[12998] (dcc_pump_readwrite) ERROR: unexpected eof on fd5
distccd[12998] (dcc_job_summary) client: xxx.xxx.xxx.xxx:32888 CLI_DISCONN exit:0 sig:0 core:0 ret:107 time:2499ms
distccd[13001] (dcc_pump_readwrite) ERROR: unexpected eof on fd5
distccd[13001] (dcc_job_summary) client: xxx.xxx.xxx.xxx:32889 CLI_DISCONN exit:0 sig:0 core:0 ret:107 time:2512ms

任何想法发生了什么?

编辑:我可以很高兴地使用 distcc 为 x86 和 x86_64 编译,只是由于某种原因不能使用 arm

4

1 回答 1

0

交叉编译器必须

  • (a) 安装(完全相同的二进制文件,而不仅仅是相同的名称/位置)
  • (b) 在 distcc 的搜索路径中

根据您的系统设置(distcc 作为守护程序,或在 inetd 下),实现事情的最简单方法可能是将二进制文件符号链接到 distcc 主机的 /usr/local/bin 中。

于 2011-11-04T12:50:41.363 回答