Compilation chroot环境抱怨交叉编译(gentoo stage3 mips)

Compilation chroot环境抱怨交叉编译(gentoo stage3 mips),compilation,mips,chroot,gentoo,Compilation,Mips,Chroot,Gentoo,我遇到了gentoo的问题:我拿了stage3(实验mips32-)防水布,把它放在我的Ubuntu14x64上。与qemu合作设置binfmt以支持mips二进制文件,装入/dev、/proc等,并导入未打包的tarball。我emerge--sync-ed,它建议我在最后做一次emerge--oneshot移植。我也这样做了。问题是,如果要进行编译,它会说: checking whether the C compiler works... yes checking for C compile

我遇到了gentoo的问题:我拿了stage3(实验mips32-)防水布,把它放在我的Ubuntu14x64上。与qemu合作设置binfmt以支持mips二进制文件,装入
/dev
/proc
等,并导入未打包的tarball。我
emerge--sync
-ed,它建议我在最后做一次
emerge--oneshot移植。我也这样做了。问题是,如果要进行编译,它会说:

checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... configure: error: in `/var/tmp/portage/dev-lang/python-exec-2.0.2/work/python-exec-2.0.2_build':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
是否有任何从主机读取的变量(可能通过
/proc
)使ditro认为它是交叉编译的?我怎样才能挽回呢?提前谢谢

附言:

编辑:
问题解决了。查看此处了解详细信息:

您可以使用
uname-m
检查您的体系结构。您可能遇到此问题:请将日志发布到pastebin或类似版本。您可以使用
uname-m
检查您的体系结构。您可能遇到此问题:请将日志发布到pastebin或类似站点。