|
|
发表于 2007-4-19 01:22:12
|
显示全部楼层
Post by robinswan
不会吧,我的公司的机器就是amd64的,非常顺利啊!
是不是你原来是x8632的,现在转向amd64啊?那么make.conf中的CHOST应该是:
- CHOST = x86_64-pc-linux-gnu
复制代码
我自己不小心,切换到2007的时候,从amd64变成了i686了,等发现的时候,晚了,已经修改了系统的不少文件,再换会amd64,编译的时候有不少问题。然后我chroot到一个新的环境,编译了一个基本的系统。然后替换这个出错的系统的基本文件后,还是有问题。
本来我的系统之前就有问题了,经常出现C compiler error。下面是现在典型的问题。
checking host system type... x86_64-unknown-linux
XEmacs has no builtin knowledge of `x86_64' machines.
Using configure-time autodetection only.
checking for gcc... gcc
checking whether the C compiler (gcc -march=k8 -fomit-frame-pointer -pipe -O2 ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
!!! ERROR: app-editors/xemacs-21.4.20-r1 failed.
经常前面编译包没有问题,等到某个包的时候,就突然出现发现不gcc,或者和编译器有关的错误。
make[1]: *** [make-dump-id] Error 127
make[1]: Leaving directory `/var/tmp/portage/app-editors/xemacs-21.4.20-r1/work/xemacs-21.4.20/lib-src'
make: *** [lib-src] Error 2
make: *** Waiting for unfinished jobs....
gcc -c -march=k8 -fomit-frame-pointer -pipe -O2 -Demacs -I. -DHAVE_CONFIG_H -I/usr/X11R6/include callint.c
Inconsistency detected by ld.so: rtld.c: 1219: dl_main: Assertion `_rtld_local._dl_rtld_map.l_libname' failed!
make[1]: *** [bytecode.o] Error 127
make[1]: *** Waiting for unfinished jobs....
/usr/bin/gcc: /usr/bin/gcc: cannot execute binary file
Inconsistency detected by ld.so
不知道是哪里还有错误?基本上是编译系统一段时间后,成功编译不少包后,就会出现这个错误。
请指导! |
|