12543122 发表于 2005-3-25 19:50:24

gentoo编译glibc时报错

stage1-x86-2005.0-20050110
看样子就要编译完了。 这是个啥错误涅

zh_TW.EUC-TW... done
zh_TW.UTF-8... done
zh_TW.BIG5... done
zu_ZA.UTF-8... done
zu_ZA.ISO-8859-1... done
make[2]: Leaving directory `/var/tmp/portage/glibc-2.3.4.20041102-r1/work/glibc-2.3.3/localedata'
make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.4.20041102-r1/work/glibc-2.3.3'
* Installing man pages and docs...
ls: relocation error: /var/tmp/portage/glibc-2.3.4.20041102-r1/image//lib/libc.so.6: symbol ___tls_get_addr, version GLIBC_2.3 not defined in file ld-linux.so.2 with link time reference

!!! ERROR: sys-libs/glibc-2.3.4.20041102-r1 failed.
!!! Function src_install, Line 1008, Exitcode 127
!!! simple run test (ls) failed
!!! If you need support, post the topmost build error, NOT this status message.

localhost portage #

wingger 发表于 2005-3-26 13:49:57

!!! ERROR: sys-libs/glibc-2.3.4.20041102-r1 failed.
!!! Function src_install, Line 1008, Exitcode 127
!!! simple run test (ls) failed
!!! If you need support, post the topmost build error, NOT this status message.

我也出错了,不知为什么,你贴出你的emerge info看看?

wingger 发表于 2005-3-26 13:57:23

livecd / # emerge info
Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.3.4, unavailable, 2.6.9-gentoo-r1 i686)
=================================================================
System uname: 2.6.9-gentoo-r1 i686 Pentium III (Katmai)
Gentoo Base System version 1.4.16
Python:               
dev-lang/python:   
sys-devel/autoconf:
sys-devel/automake:
sys-devel/binutils:2.14.90.0.8-r1
sys-devel/libtool:   
virtual/os-headers:2.4.22-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer"
CHOST="i386-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X apm arts avi berkdb bitmap-fonts crypt cups emboss encode font-server foomaticdb fortran gdbm gif gnome gpm gtk gtk2 imlib ipv6 jpeg libg++ libwww mad mikmod motif mp3 mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl spell ssl svga tcpd truetype truetype-fonts type1-fonts xml2 xmms xv zlib"
Unset:ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY

这个是我的

12543122 发表于 2005-3-26 14:00:38

总算有人回帖了 :lol:
今天换成stage1-x86-2005.0 正式版了,glibc正编译呢,不知道行不行。还有这个版本里linux-headers 全被mask了,汗~ 。
我把他解了,用了2.6.8.1-r2。 也不知道会不会出问题。
第一次从stage1 装啊。。。

bash-2.05b# emerge info
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.9 i686)
=================================================================
System uname: 2.6.9 i686
Gentoo Base System version 1.4.16
Python:            dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar 10 2005, 18:18:11)]
dev-lang/python:   2.3.4-r1
sys-devel/autoconf:[Not Present]
sys-devel/automake:[Not Present]
sys-devel/binutils:2.15.92.0.2-r1
sys-devel/libtool:   [Not Present]
virtual/os-headers:2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop-frerun-loop-opt -falign-functions=4 -maccumulate-outgoing-args -ffast-math -fprefetch-loop-arrays"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -O3 -pipe-fforce-addr -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -maccumulate-outgoing-args -ffast-math -fprefetch-loop-arrays -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.gg3.net/"
LANG="zh_CN.GBK"
LDFLAGS="-Wl,-O3 -Wl,--enable-new-dtags -Wl,--sort-common -s"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://ftp.tsinghua.edu.cn/gentoo/gentoo-portage"
USE="x86 X alsa apm avi berkdb bitmap-fonts cjk crypt emboss encode foomaticdb fortran gdbm gif gnome gpm gtk gtk2 imlib jpeg libg++ libwwwmad mikmod motif mp3 mpeg ncurses nls oggvorbis opengl oss pam pdflibperl png python quicktime readline sdl spell ssl svga tcpd truetype truetype-fonts type1-fonts xml2 xv zlib"
Unset:ASFLAGS, CBUILD, CTARGET, LC_ALL, PORTDIR_OVERLAY

bash-2.05b#                           

12543122 发表于 2005-3-26 14:18:43

编译通过了
:lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol:
:lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol:
:lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol:
:lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol:

wingger 发表于 2005-3-26 15:04:10

http://forums.gentoo.org/viewtopic-t-313432-postdays-0-postorder-asc-highlight-bootstrap-start-0.html
好像是个BUG,看看这里

wingger 发表于 2005-3-26 15:07:59

我的版本是stage1-x86-2004.3.tar.bz2

我也去下一个2005的

真郁闷啊。

12543122 发表于 2005-3-26 15:38:20

官方的2005.0还不可以下载。
我这个也不知道是不是正式版的。。
等官方的能下了再校对MD5吧

wingger 发表于 2005-3-26 17:58:48

我找了一个下午了,只找到stage1-x86-2005.0-20050110

12543122 发表于 2005-3-26 18:10:32

我在这下的。不知道是不是正式版,官方的还不给下载,连MD5都不给看

http://mirror.uni-c.dk/gentoo/releases/x86/2005.0/

bluemx 发表于 2005-3-26 18:48:52

make: Leaving directory `/var/tmp/portage/glibc-2.3.4.20050125-r1/work/glibc-2.3.4/localedata'
make: Leaving directory `/var/tmp/portage/glibc-2.3.4.20050125-r1/work/glibc-2.3.4'
* Installing man pages...
env: ps: No such file or directory

!!! ERROR: sys-libs/glibc-2.3.4.20050125-r1 failed.
!!! Function toolchain-glibc_src_install, Line 489, Exitcode 127
!!! simple run test (ps) failed
!!! If you need support, post the topmost build error, NOT this status message.
:roll:我编译了4个小时也出错了555
是不是挂载dev的原因啊?

12543122 发表于 2005-3-26 19:52:09

别挂dev,挂了dev,glidc倒是不会出问题,后面有个东西就会出错了。

bluemx 发表于 2005-3-26 20:34:06

。还有这个版本里linux-headers 全被mask了,汗~ 。
我把他解了,用了2.6.8.1-r2。 也不知道会不会出问题。

我没有做这一步 会不会是这个原因啊?

12543122 发表于 2005-3-26 21:02:45

应该不会啊, 我是迫不得已。 提示没有可用的linux-headers 。2005.0要用2.6的linux-headers,但是linux-headers2.6被mask 了


我用的glibc-2.3.4.20041102-r1 , glibc-2.3.4.20050125-r1 也被mask了……

wingger 发表于 2005-3-28 18:58:36

现在可以下了,hoho.
页: [1] 2
查看完整版本: gentoo编译glibc时报错