跨 NG GCC 4.6.3 配置失败:找不到可用的 PPL(如果存在)



我正在尝试为ARM和i586架构构建交叉NG。ct-ng build在尝试编译GCC时失败。我已经安装了PPL版本1.0-1。还尝试了0.11.2-2版本。我能理解为什么GCC的配置脚本找不到PPL,而它已经存在了。。。

所有相同的结果:

...
[CFG  ]    checking for the correct version of gmp.h... yes
[CFG  ]    checking for the correct version of mpfr.h... yes
[CFG  ]    checking for the correct version of mpc.h... yes
[CFG  ]    checking for the correct version of the gmp/mpfr/mpc libraries... yes
[CFG  ]    checking for PWL_handle_timeout in -lpwl... yes
[CFG  ]    checking for version 0.11 (revision 0 or later) of PPL... no
[ERROR]    configure: error: Unable to find a usable PPL.  See config.log for details.
[ERROR]  
[ERROR]  >>
[ERROR]  >>  Build failed in step 'Installing pass-1 core C compiler'
[ERROR]  >>        called in step '(top-level)'
[ERROR]  >>
[ERROR]  >>  Error happened in: CT_DoExecLog[scripts/functions@172]
[ERROR]  >>        called from: do_cc_core_backend[scripts/build/cc/gcc.sh@343]
[ERROR]  >>        called from: do_cc_core_pass_1[scripts/build/cc/gcc.sh@88]
[ERROR]  >>        called from: main[scripts/crosstool-NG.sh@598]
[ERROR]  >>
[ERROR]  >>  For more info on this error, look at the file: 'build.log'
[ERROR]  >>  There is a list of known issues, some with workarounds, in:
[ERROR]  >>      'docs/B - Known issues.txt'
[ERROR]  
[ERROR]  (elapsed: 7:27.12)

如果这很重要,我的盒子:

uname -m x86_64
distro: archlinux
gcc -v: gcc version 4.7.1 20120721 (prerelease) (GCC)

Crosstool NG下载&建立自己的依赖关系。在ct-ng菜单配置中,有这样一条注释:

  │ │    ()  Extra addons                                                 │ │  
  │ │          *** WARNING !!!                                            │ │  
  │ │          ***   For glibc >= 2.8, it can happen that the tarballs    │ │  
  │ │          ***   for the addons are not available for download.       │ │  
  │ │          ***   If that happens, bad luck... Try a previous version  │ │  
  │ │          ***   or try again later... :-(

也许下载服务器暂时关闭,或者你的网络连接出现故障。"稍后再试"?

另一件需要尝试的事情是在Companion库下的ct ng menuconfig中选择不同版本的PPL。在我的案例中,我选择了一个gcc和其他版本的组合,而交叉工具不支持这些版本。尝试在不修改的情况下使用股票通用arm未知linux gnueabi配置。这是为我构建的。

相关内容

最新更新