distcc和arm交叉编译

发布于 2024-12-13 20:42:47 字数 1052 浏览 6 评论 0原文

我正在尝试为我正在处理的新项目设置一个小型 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

im trying to setup a small 2 system distcc compile cluster for a new project im working on but for some reason i cant get the second server in the cluster to compile.

the arm-eabi-gcc file works if i try to run it on said server i get the normal no input files error but distcc has other ideas.

extract from its log file :

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

any ideas what is going on?

edit: i can compile for x86 and x86_64 quite happily using distcc just not arm for some reason

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

虚拟世界 2024-12-20 20:42:48

交叉编译器必须

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

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

The cross compiler must

  • (a) be installed (exactly the same binary, not just the same name/location)
  • (b) in the search path for distcc

Depending on your system setup (distcc as a daemon, or under inetd) the easiest way to achieve things might be to symlink the binaries into /usr/local/bin for the distcc hosts.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文