LinuxSir.cn,穿越时空的Linuxsir!

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

emerge sys-libs/glibc-2.11.2 出错

[复制链接]
发表于 2010-9-4 09:17:46 | 显示全部楼层 |阅读模式
emerge --info
Portage 2.1.8.3 (default/linux/amd64/10.0/desktop, gcc-4.4.3, glibc-2.10.1-r1, 2.6.34-gentoo-r1 x86_64)
=================================================================
System uname: Linux-2.6.34-gentoo-r1-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P8400_@_2.26GHz-with-gentoo-1.12.13
Timestamp of tree: Sat, 04 Sep 2010 00:15:03 +0000
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
sys-devel/make:      3.81
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.gg3.net/ ftp://ftp.iij.ad.jp/pub/linux/gentoo/ ftp://ftp.twaren.net/Linux/Gentoo/ ftp://mirror.qubenet.net/mirror/gentoo/ ftp://gentoo.mirrors.tds.net/gentoo "
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="zh_CN en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/gentoo-china /var/lib/layman/java-overlay"
SYNC="rsync://rsync.asia.gentoo.org/gentoo-portage"
USE="X a51 a52 aac acl acpi alsa amd64 bash-completion berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups curl cxx dbus device-mapper dri dri2 dts dvd dvdr emboss encode exif expat extras fam firefox flac fontconfig fortran ftp gdbm gdu gif gnome gnutls gpm gps gtk hal iconv ipv6 joystick jpeg kdrive lcms ldap libnotify mad mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly ogg openal opengl openmp oss pam pango pcre pdf perl png policykit ppds pppd python qt3support quicktime readline reflection sdl session smp sndfile spell spl sqlite sse sse2 ssl ssse3 startup-notification svg sysfs tcpd theora tiff truetype unicode usb v4l2 vim-syntax vorbis wqy x264 xcb xext xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="*" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="zh_CN en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

下面是出错日志
-------------------------------------------------------------------------------------------------
* CPV:  sys-libs/glibc-2.11.2
* REPO: gentoo
* USE:  amd64 elibc_glibc kernel_linux multilib nls userland_GNU
make -j3 kern-clo-test
cc -march=native -O2 -pipe  -Wl,-O1 -Wl,--as-needed  kern-clo-test.c   -o kern-clo-test
make -j3 kern-enosys-test
cc -march=native -O2 -pipe  -Wl,-O1 -Wl,--as-needed  kern-enosys-test.c   -o kern-enosys-test

...............................................................................

...............................................................................

/bin/sh: /var/tmp/portage/sys-libs/glibc-2.11.2/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.11.2/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/xnlm_prot.stmp] Error 126
/bin/sh: /var/tmp/portage/sys-libs/glibc-2.11.2/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.11.2/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpcsvc/bootparam_prot.stmp] Error 126
make[2]: Leaving directory `/var/tmp/portage/sys-libs/glibc-2.11.2/work/glibc-2.11.2/sunrpc'
make[1]: *** [sunrpc/others] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-libs/glibc-2.11.2/work/glibc-2.11.2'
make: *** [all] Error 2
* ERROR: sys-libs/glibc-2.11.2 failed:
*   make for x86 failed
*
* Call stack:
*                  ebuild.sh, line   54:  Called src_compile
*                environment, line 3780:  Called eblit-run 'src_compile'
*                environment, line 1218:  Called eblit-glibc-src_compile
*   src_compile-2.11.2.eblit, line  199:  Called src_compile
*                environment, line 3780:  Called eblit-run 'src_compile'
*                environment, line 1218:  Called eblit-glibc-src_compile
*   src_compile-2.11.2.eblit, line  207:  Called toolchain-glibc_src_compile
*   src_compile-2.11.2.eblit, line  123:  Called die
* The specific snippet of code:
*                   make PARALLELMFLAGS="${MAKEOPTS}" || die "make for ${ABI} failed"
*
* If you need support, post the output of 'emerge --info =sys-libs/glibc-2.11.2',
* the complete build log and the output of 'emerge -pqv =sys-libs/glibc-2.11.2'.
* The complete build log is located at '/var/tmp/portage/sys-libs/glibc-2.11.2/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-libs/glibc-2.11.2/temp/environment'.
* S: '/var/tmp/portage/sys-libs/glibc-2.11.2/work/glibc-2.11.2'
发表于 2010-9-4 09:26:32 | 显示全部楼层
参见:https://forums.gentoo.org/viewtopic-t-833721-start-0.html
可能是内核中没有编译IA32支持,却使用了multilib的profile。可以试试转到重新编译内核启用IA32 emulation,或转到no-multilib profile。前者似乎更方便些。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-9-9 09:26:42 | 显示全部楼层
OK,搞定了,谢谢楼主!
回复 支持 反对

使用道具 举报

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

本版积分规则

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