LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 472|回复: 3

更新系统出错,glibc报错【已解决】

[复制链接]
发表于 2011-11-25 16:00:23 | 显示全部楼层 |阅读模式
更新系统出错,glibc报错:


/bin/sh: /var/tmp/portage/sys-libs/glibc-2.14.1/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/ld-linux.so.2: cannot execute binary file
make[2]: *** [/var/tmp/portage/sys-libs/glibc-2.14.1/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/xbootparam_prot.stmp] Error 126
make[2]: *** Waiting for unfinished jobs....
/bin/sh: /var/tmp/portage/sys-libs/glibc-2.14.1/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/ld-linux.so.2: cannot execute binary file
CPP='x86_64-pc-linux-gnu-gcc -m32 -E -x c-header'  /var/tmp/portage/sys-libs/glibc-2.14.1/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/ld-linux.so.2 --library-path /var/tmp/portage/sys-libs/glibc-2.14.1/work/build-x86-x86_64-pc-linux-gnu-nptl:/var/tmp/portage/sys-libs/glibc-2.14.1/work/build-x86-x86_64-pc-linux-gnu-nptl/math:/var/tmp/portage/sys-libs/glibc-2.14.1/work/build-x86-x86_64-pc-linux-gnu-nptl/elf:/var/tmp/portage/sys-libs/glibc-2.14.1/work/build-x86-x86_64-pc-linux-gnu-nptl/dlfcn:/var/tmp/portage/sys-libs/glibc-2.14.1/work/build-x86-x86_64-pc-linux-gnu-nptl/nss:/var/tmp/portage/sys-libs/glibc-2.14.1/work/build-x86-x86_64-pc-linux-gnu-nptl/nis:/var/tmp/portage/sys-libs/glibc-2.14.1/work/build-x86-x86_64-pc-linux-gnu-nptl/rt:/var/tmp/portage/sys-libs/glibc-2.14.1/work/build-x86-x86_64-pc-linux-gnu-nptl/resolv:/var/tmp/portage/sys-libs/glibc-2.14.1/work/build-x86-x86_64-pc-linux-gnu-nptl/crypt:/var/tmp/portage/sys-libs/glibc-2.14.1/work/build-x86-x86_64-pc-linux-gnu-nptl/nptl /var/tmp/portage/sys-libs/glibc-2.14.1/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpcgen -Y ../scripts -h rpcsvc/bootparam_prot.x -o /var/tmp/portage/sys-libs/glibc-2.14.1/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpcsvc/bootparam_prot.T
make[2]: *** [/var/tmp/portage/sys-libs/glibc-2.14.1/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/xnlm_prot.stmp] Error 126
/bin/sh: /var/tmp/portage/sys-libs/glibc-2.14.1/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/ld-linux.so.2: cannot execute binary file
make[2]: *** [/var/tmp/portage/sys-libs/glibc-2.14.1/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/xrstat.stmp] Error 126
CPP='x86_64-pc-linux-gnu-gcc -m32 -E -x c-header'  /var/tmp/portage/sys-libs/glibc-2.14.1/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/ld-linux.so.2 --library-path /var/tmp/portage/sys-libs/glibc-2.14.1/work/build-x86-x86_64-pc-linux-gnu-nptl:/var/tmp/portage/sys-libs/glibc-2.14.1/work/build-x86-x86_64-pc-linux-gnu-nptl/math:/var/tmp/portage/sys-libs/glibc-2.14.1/work/build-x86-x86_64-pc-linux-gnu-nptl/elf:/var/tmp/portage/sys-libs/glibc-2.14.1/work/build-x86-x86_64-pc-linux-gnu-nptl/dlfcn:/var/tmp/portage/sys-libs/glibc-2.14.1/work/build-x86-x86_64-pc-linux-gnu-nptl/nss:/var/tmp/portage/sys-libs/glibc-2.14.1/work/build-x86-x86_64-pc-linux-gnu-nptl/nis:/var/tmp/portage/sys-libs/glibc-2.14.1/work/build-x86-x86_64-pc-linux-gnu-nptl/rt:/var/tmp/portage/sys-libs/glibc-2.14.1/work/build-x86-x86_64-pc-linux-gnu-nptl/resolv:/var/tmp/portage/sys-libs/glibc-2.14.1/work/build-x86-x86_64-pc-linux-gnu-nptl/crypt:/var/tmp/portage/sys-libs/glibc-2.14.1/work/build-x86-x86_64-pc-linux-gnu-nptl/nptl /var/tmp/portage/sys-libs/glibc-2.14.1/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpcgen -Y ../scripts -h rpcsvc/nlm_prot.x -o /var/tmp/portage/sys-libs/glibc-2.14.1/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpcsvc/nlm_prot.T
/bin/sh: /var/tmp/portage/sys-libs/glibc-2.14.1/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/ld-linux.so.2: cannot execute binary file
make[2]: *** [/var/tmp/portage/sys-libs/glibc-2.14.1/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpcsvc/bootparam_prot.stmp] Error 126
/bin/sh: /var/tmp/portage/sys-libs/glibc-2.14.1/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/ld-linux.so.2: cannot execute binary file
make[2]: *** [/var/tmp/portage/sys-libs/glibc-2.14.1/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpcsvc/nlm_prot.stmp] Error 126
make[2]: Leaving directory `/var/tmp/portage/sys-libs/glibc-2.14.1/work/glibc-2.14.1/sunrpc'
make[1]: *** [sunrpc/others] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-libs/glibc-2.14.1/work/glibc-2.14.1'
make: *** [all] Error 2
emake failed
* ERROR: sys-libs/glibc-2.14.1 failed (compile phase):
*   make for x86 failed
*
* Call stack:
*           ebuild.sh, line   84:  Called src_compile
*         environment, line 3733:  Called eblit-run 'src_compile'
*         environment, line 1197:  Called eblit-glibc-src_compile
*   src_compile.eblit, line  209:  Called src_compile
*         environment, line 3733:  Called eblit-run 'src_compile'
*         environment, line 1197:  Called eblit-glibc-src_compile
*   src_compile.eblit, line  217:  Called toolchain-glibc_src_compile
*   src_compile.eblit, line  129:  Called die
* The specific snippet of code:
*                   emake || die "make for ${ABI} failed"
*
* If you need support, post the output of 'emerge --info =sys-libs/glibc-2.14.1',
* the complete build log and the output of 'emerge -pqv =sys-libs/glibc-2.14.1'.
* The complete build log is located at '/var/tmp/portage/sys-libs/glibc-2.14.1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-libs/glibc-2.14.1/temp/environment'.
* S: '/var/tmp/portage/sys-libs/glibc-2.14.1/work/glibc-2.14.1'


不知道什么问题。。
发表于 2011-11-25 21:41:04 | 显示全部楼层
~amd64 ?
multilib ?
当前内核启用了 IA32 了没有?
cat /usr/src/linux/.config | grep IA32
CONFIG_IA32_EMULATION=y
CONFIG_IA32_AOUT=y
回复 支持 反对

使用道具 举报

 楼主| 发表于 2011-11-26 23:41:31 | 显示全部楼层
嗯,谢谢回复。

在国外的论坛上看到有提示这个的,但是不确定,因为之前更新过glibc,没有报错,,,

我试试去。

稍后回来。

:>
回复 支持 反对

使用道具 举报

 楼主| 发表于 2011-11-27 01:13:57 | 显示全部楼层
Post by 13121982;2155877
~amd64 ?
multilib ?
当前内核启用了 IA32 了没有?
cat /usr/src/linux/.config | grep IA32
CONFIG_IA32_EMULATION=y
CONFIG_IA32_AOUT=y
谢谢13121982的回复;问题解决。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表