View previous topic :: View next topic |
Author |
Message |
Bob P Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/36737323419016f7c7ee5.jpg)
Joined: 20 Oct 2004 Posts: 3355 Location: Jackass! Development Labs
|
Posted: Mon Apr 25, 2005 7:00 pm Post subject: glibc 2.3.5 fatal errors: linuxthreads/libpthread.so on 586 |
|
|
Edit: This thread was originally in Portage & Programming, but was merged into this thread in Installing Gentoo.
Edit: I am aware of the fact that this box is properly configured for "pentium" class installations, even though it is a Pentium3. I am intentionally using a faster box to test the x86 tarball, pentium arch spec, and 586 chost against the current contents of the portage tree.
hmmm. glibc 2.3.5 is supposed to be a bugfix upgrade, right?
has anyone else encountered a problem with pthreading?
Code: | -g0 -o /var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthreads/linuxthreads/crtn.o
i586-pc-linux-gnu-gcc -shared -static-libgcc -Wl,-O1 -Wl,-z,defs -Wl,-dynamic-linker=/lib/ld-linux.so.2 -B/var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthreads/linuxthreads/
-B/var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthreads/csu/
-B/var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthreads/linuxthreads/ -Wl,--version-script=
/var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthreads/libpthread.map
-Wl,-soname=libpthread.so.0 -Wl,-z,combreloc -Wl,-z,relro -Wl,--enable-new-dtags,-z,nodelete -Wl,
--enable-new-dtags,-z,initfirst -L/var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthreads -L/var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthreads/math
-L/var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthreads/elf
-L/var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthreads/dlfcn
-L/var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthreads/nss
-L/var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthreads/nis
-L/var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthreads/rt
-L/var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthreads/resolv
-L/var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthreads/crypt
-L/var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthreads/linuxthreads -Wl,-rpath-link=/var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthreads:
/var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthreads/math:/var/tmp/portage/
glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthreads/elf:/var/tmp/portage/glibc-2.3.5/
work/build-default-i586-pc-linux-gnu-linuxthreads/dlfcn:
/var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthreads/nss:
/var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthreads/nis:
/var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthreads/rt:
/var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthreads/resolv:
/var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthreads/crypt:
/var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthreads/linuxthreads -o
/var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthreads/linuxthreads/libpthread.so -T /var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthreads/shlib.lds
/var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthreads/csu/abi-note.o -Wl,--whole-archive
/var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthreads/linuxthreads/libpthread_pic.a
-Wl,--no-whole-archive /var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthreads/elf/interp.os
/var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthreads/libc.so
/var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthreads/libc_nonshared.a
/var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthreads/elf/ld.so
/var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthreads/linuxthreads/libpthread_pic.a(pthread.os)
(.text+0x223): In function `pthread_initialize':
: undefined reference to `_res'
/var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthreads/linuxthreads/libpthread_pic.a(pthread.os)
(.text+0xa0e): In function `__pthread_reset_main_thread':
: undefined reference to `_h_errno'
/var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthreads/linuxthreads/libpthread_pic.a(pthread.os)
(.text+0xa14): In function `__pthread_reset_main_thread':
: undefined reference to `_res'
/var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthreads/linuxthreads/libpthread_pic.a(pthread.os)
(.text+0xa1d): In function `__pthread_reset_main_thread':
: undefined reference to `_errno'
/var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthreads/linuxthreads/libpthread_pic.a(pthread.os)
(.data.rel+0x698): undefined reference to `_errno'
/var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthreads/linuxthreads/libpthread_pic.a(pthread.os)
(.data.rel+0x6a0): undefined reference to `_h_errno'
/var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthreads/linuxthreads/libpthread_pic.a(pthread.os)
(.data.rel+0x6a8): undefined reference to `_res'
collect2: ld returned 1 exit status
make[2]: *** [/var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthreads/linuxthreads/libpthread.so] Error 1
make[2]: Leaving directory `/var/tmp/portage/glibc-2.3.5/work/glibc-2.3.5/linuxthreads'
make[1]: *** [linuxthreads/others] Error 2
make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.5/work/glibc-2.3.5'
make: *** [all] Error 2
!!! ERROR: sys-libs/glibc-2.3.5 failed.
!!! Function toolchain-glibc_src_compile, Line 237, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message. |
Code: | # cat emerge --info
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r1, 2.6.9-gentoo-r9 i686)
=================================================================
System uname: 2.6.9-gentoo-r9 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.16
Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Apr 23 2005, 01:56:54)]
dev-lang/python: 2.3.4-r1
sys-devel/autoconf: 2.59-r6, 2.13
sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils: 2.15.92.0.2-r7
sys-devel/libtool: 1.5.14
virtual/os-headers: 2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium-mmx -mtune=pentium-mmx -pipe -O3 -fweb -frename-registers -fforce-addr -momit-leaf-frame-pointer
-fomit-frame-pointer -ftracer"
CHOST="i586-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium-mmx -mtune=pentium-mmx -pipe -O3 -fweb -frename-registers -fforce-addr -momit-leaf-frame-pointer
-fomit-frame-pointer -ftracer -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts avi berkdb bitmap-fonts crypt cups emboss encode foomaticdb fortran gdbm gif gnome gpm gtk gtk2
imlib ipv6 jpeg kde libg++ libwww mad mikmod motif mp3 mpeg ncurses nls nptl oggvorbis opengl oss pam pdflib perl png python
qt quicktime readline sdl spell ssl svga tcpd truetype truetype-fonts type1-fonts xml2 xmms xv zlib" |
to facilitate reading the error's output i've added line breaks as needed to keep the text from running off of the page. i'd appreciate it if everyone else could try to do the same. ![Wink :wink:](images/smiles/icon_wink.gif) _________________ .
Stage 1/3 | Jackass! | Rockhopper! | Thanks | Google Sucks
Last edited by Bob P on Sat Apr 30, 2005 6:58 pm; edited 2 times in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Bob P Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/36737323419016f7c7ee5.jpg)
Joined: 20 Oct 2004 Posts: 3355 Location: Jackass! Development Labs
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
blackwhite Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 24 Jun 2004 Posts: 250
|
Posted: Mon Apr 25, 2005 7:47 pm Post subject: |
|
|
same problem here.
I can not figure it out. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Ascodas Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/9569738004509137b28f8c.jpg)
Joined: 18 Nov 2004 Posts: 263
|
Posted: Mon Apr 25, 2005 8:15 pm Post subject: glibc merge |
|
|
Hello,
I try to upgrade my system but i am stopped on the glibc merge :
Code: | /lib/gcc-lib/i386-pc-linux-gnu/3.3.4/include -isystem /usr/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h -DPIC -DSHARED -D'LOCALEDIR="/usr/share/locale"' -D'LOCALE_ALIAS_PATH="/usr/share/locale"' -o /var/tmp/portage/glibc-2.3.5/work/build-default-i386-pc-linux-gnu-linuxthreads/intl/loadmsgcat.os -MD -MP -MF /var/tmp/portage/glibc-2.3.5/work/build-default-i386-pc-linux-gnu-linuxthreads/intl/loadmsgcat.os.dt -MT /var/tmp/portage/glibc-2.3.5/work/build-default-i386-pc-linux-gnu-linuxthreads/intl/loadmsgcat.os
loadmsgcat.c: In function `_nl_init_domain_conv':
[b]../sysdeps/i386/bits/string.h:655: error: can't find a register in class `GENERAL_REGS' while reloading `asm'[/b]
make[2]: *** [/var/tmp/portage/glibc-2.3.5/work/build-default-i386-pc-linux-gnu-linuxthreads/intl/loadmsgcat.os] Error 1
make[2]: Leaving directory `/var/tmp/portage/glibc-2.3.5/work/glibc-2.3.5/intl'
make[1]: *** [intl/subdir_lib] Error 2
make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.5/work/glibc-2.3.5'
make: *** [all] Error 2
!!! ERROR: sys-libs/glibc-2.3.5 failed.
!!! Function toolchain-glibc_src_compile, Line 237, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
[root@gentoo make.profile]# |
See there more infos, is ti normal that i have only 2.4 in my /etc/make profile ?, cause i use a Linux gentoo 2.6.10-gentoo-r6
Code: |
[root@gentoo make.profile]# ls -la /etc/make.profile
lrwxrwxrwx 1 root root 47 avr 21 07:11 /etc/make.profile -> /usr/portage/profiles/default-linux/x86/2005.0/
[root@gentoo make.profile]# pwd
/etc/make.profile
[root@gentoo make.profile]# ll
total 8,0K
drwxr-xr-x 2 root root 120 jan 21 23:08 2.4
-rw-r--r-- 1 root root 679 mar 29 00:35 packages
-rw-r--r-- 1 root root 343 déc 3 15:37 parent
[root@gentoo make.profile]# |
Thanks for any help ! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
electrofreak l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/15031571814205af8bce539.gif)
Joined: 30 Jun 2004 Posts: 713 Location: Ohio, USA
|
Posted: Mon Apr 25, 2005 8:17 pm Post subject: |
|
|
the latest glibc doesn't compile for me either. Same kernel. But, I think I had a different error. I think I'll try building it again so I can get you guys my actual error message. I'll get back to yay tomorrow ![Wink ;)](images/smiles/icon_wink.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
electrofreak l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/15031571814205af8bce539.gif)
Joined: 30 Jun 2004 Posts: 713 Location: Ohio, USA
|
Posted: Tue Apr 26, 2005 8:08 pm Post subject: |
|
|
As promised, here is my error:
Code: | i586-pc-linux-gnu-gcc -shared -static-libgcc -Wl,-O1 -Wl,-z,defs
-Wl,-dynamic-linker=/lib/ld-linux.so.2
-B/var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthreads/linuxthreads/
-B/var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthreads/csu/
-B/var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthreads/linuxthreads/
-Wl,--version-script=/var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthreads/libpthread.map
-Wl,-soname=libpthread.so.0 -Wl,-z,combreloc -Wl,-z,relro -Wl,--enable-new-dtags,-z,nodelete
-Wl,--enable-new-dtags,-z,initfirst
-L/var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthreads
-L/var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthreads/math
-L/var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthreads/elf
-L/var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthreads/dlfcn
-L/var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthreads/nss
-L/var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthreads/nis
-L/var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthreads/rt
-L/var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthreads/resolv
-L/var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthreads/crypt
-L/var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthreads/linuxthreads
-Wl,-rpath-link=/var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthreads:/var/tmp/
portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthreads/math:/var/tmp/portage/glibc-2.3.5/
work/build-default-i586-pc-linux-gnu-linuxthreads/elf:/var/tmp/portage/glibc-2.3.5/work/build-default-i586
-pc-linux-gnu-linuxthreads/dlfcn:/var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxt
hreads/nss:/var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthreads/nis:/var/tmp/
portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthreads/rt:/var/tmp/portage/glibc-2.3.5/wor
k/build-default-i586-pc-linux-gnu-linuxthreads/resolv:/var/tmp/portage/glibc-2.3.5/work/build-default-i586
-pc-linux-gnu-linuxthreads/crypt:/var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxth
reads/linuxthreads -o /var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthreads/linuxthreads/libpthread.so
-T /var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthreads/shlib.lds
/var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthreads/csu/abi-note.o
-Wl,--whole-archive
/var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthreads/linuxthreads/libpthread_pic.a
-Wl,--no-whole-archive
/var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthreads/elf/interp.os
/var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthreads/libc.so
/var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthreads/libc_nonshared.a
/var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthreads/elf/ld.so
/var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthreads/linuxthreads/libpthread_pic.a
(pthread.os)(.text+0x223): In function `pthread_initialize':
: undefined reference to `_res'
/var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthreads/linuxthreads/libpthread_pic.a
(pthread.os)(.text+0xa0e): In function `__pthread_reset_main_thread':
: undefined reference to `_h_errno'
/var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthreads/linuxthreads/libpthread_pic.a
(pthread.os)(.text+0xa14): In function `__pthread_reset_main_thread':
: undefined reference to `_res'
/var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthreads/linuxthreads/libpthread_pic.a
(pthread.os)(.text+0xa1d): In function `__pthread_reset_main_thread':
: undefined reference to `_errno'
/var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthreads/linuxthreads/libpthread_pic.a
(pthread.os)(.data.rel+0x698): undefined reference to `_errno'
/var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthreads/linuxthreads/libpthread_pic.a
(pthread.os)(.data.rel+0x6a0): undefined reference to `_h_errno'
/var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthreads/linuxthreads/libpthread_pic.a
(pthread.os)(.data.rel+0x6a8): undefined reference to `_res'
collect2: ld returned 1 exit status
make[2]: *** [/var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthreads/linuxthreads/libpthread.so] Error 1
make[2]: Leaving directory `/var/tmp/portage/glibc-2.3.5/work/glibc-2.3.5/linuxthreads'
make[1]: *** [linuxthreads/others] Error 2
make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.5/work/glibc-2.3.5'
make: *** [all] Error 2
!!! ERROR: sys-libs/glibc-2.3.5 failed.
!!! Function toolchain-glibc_src_compile, Line 237, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message. |
My make.conf:
Code: | CHOST="i586-pc-linux-gnu"
CFLAGS="-Os -march=pentium-mmx -mtune=pentium-mmx -fforce-addr -momit-leaf-frame-pointer -fomit-frame-pointer -ftracer -pipe"
CXXFLAGS="${CFLAGS} -fvisibility-inlines-hidden"
ACCEPT_KEYWORDS="x86"
PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
DISTDIR=${PORTDIR}/distfiles
PKGDIR=${PORTDIR}/packages
#PORT_LOGDIR=/var/log/portage
PORTDIR_OVERLAY=/usr/local/portage
GENTOO_MIRRORS="http://distfiles.gentoo.org http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
RSYNC_RETRIES="3"
RSYNC_TIMEOUT=180
MAKEOPTS="-j2"
PORTAGE_NICENESS="16"
FEATURES="prelink"
USE="X aac aalib aim apci audiofile avi bash-completion bcmath
bmp bzlib cups divx4linux exif truetype foomaticdb flash ftp gd gif
gphoto2 gtk gtk2 icq imagemagick imap inifile jabber java javascript
jpeg libcaca mad mmx mp3 mpeg msn opengl oscar oss ogg oggvorbis
pdflib png pnp samba sharedmem simplexml sndfile spell tiff usb wifi
wavelan xine xml xml2 xmms xpm yahoo xlib nptl ithreads pthreads real -alsa" |
Yes, it's a 200Mhz Pentium MMX.
edit: sorry about the long horizontal lenth of that.
edit 2: Fixed the width thing.
Last edited by electrofreak on Wed Apr 27, 2005 12:58 am; edited 2 times in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Bob P Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/36737323419016f7c7ee5.jpg)
Joined: 20 Oct 2004 Posts: 3355 Location: Jackass! Development Labs
|
Posted: Tue Apr 26, 2005 8:12 pm Post subject: |
|
|
based on my observations, this appears to be a bug that is specific to the 586 CHOST. i have attempted to install glibc 235 on Pentium, Pentium-MMX, Pentium Pro, Pentium 2 and Pentium 3 platforms. the ebuild only borks for the pentium-class boxes.
when i started this thread, i added carriage returns to my post to control the page width. your post made the problem come back. please take a minute to edit your post to make the page width reasonable. all that you need to do is insert a few carriage returns. ![Idea :idea:](images/smiles/icon_idea.gif) _________________ .
Stage 1/3 | Jackass! | Rockhopper! | Thanks | Google Sucks
Last edited by Bob P on Tue Apr 26, 2005 9:52 pm; edited 2 times in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Ascodas Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/9569738004509137b28f8c.jpg)
Joined: 18 Nov 2004 Posts: 263
|
Posted: Tue Apr 26, 2005 8:18 pm Post subject: |
|
|
Ok i solve the problem by deleting the arch flags. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Bob P Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/36737323419016f7c7ee5.jpg)
Joined: 20 Oct 2004 Posts: 3355 Location: Jackass! Development Labs
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Bob P Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/36737323419016f7c7ee5.jpg)
Joined: 20 Oct 2004 Posts: 3355 Location: Jackass! Development Labs
|
Posted: Tue Apr 26, 2005 8:23 pm Post subject: |
|
|
please edit your posts to eliminate the page wrap problem. thanks. _________________ .
Stage 1/3 | Jackass! | Rockhopper! | Thanks | Google Sucks
Last edited by Bob P on Tue Apr 26, 2005 9:58 pm; edited 2 times in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
pilla Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/9555681074926d9b92f09a.jpg)
Joined: 07 Aug 2002 Posts: 7729 Location: Underworld
|
Posted: Tue Apr 26, 2005 9:18 pm Post subject: |
|
|
Merged threads by user request. _________________ "I'm just very selective about the reality I choose to accept." -- Calvin |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
electrofreak l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/15031571814205af8bce539.gif)
Joined: 30 Jun 2004 Posts: 713 Location: Ohio, USA
|
Posted: Wed Apr 27, 2005 12:59 am Post subject: |
|
|
Ascodas wrote: | Ok i solve the problem by deleting the arch flags. |
Come again, please. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Ascodas Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/9569738004509137b28f8c.jpg)
Joined: 18 Nov 2004 Posts: 263
|
Posted: Wed Apr 27, 2005 5:21 am Post subject: |
|
|
Code: | [root@gentoo lem]# cat /etc/make.conf
# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
#CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
CHOST="i386-pc-linux-gnu"
#CXXFLAGS="${CFLAGS}"
LINGUAS="fr"
#SYNC="http://gentoo.mirror.sdv.fr/"
ACCEPT_KEYWORDS="~x86"
#USE="divx4linux xvid matroska"
USE="-svga"
ALSA_CARDS="emu10k1"
#PORTDIR_OVERLAY="/usr/local/portage" |
i comment the two lines who referer to the cpu optimisation .
scuse my english ... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
thagame Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Futurama/cartoon_futurama_bender.gif)
Joined: 07 Mar 2004 Posts: 210 Location: Windsor, Ontario, Canada
|
Posted: Wed Apr 27, 2005 5:53 am Post subject: |
|
|
[ebuild R ] sys-libs/glibc-2.3.5 -build -debug -erandom -hardened (-multilib) +nls -nomalloccheck -nptl -nptlonly -pic +userlocales 15,656 kB
i have it installed no problem. but now that i do i get glx / xorg compat issues but thats for a diff section. im just letting you know that it has been emerged and could be something on your system. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
electrofreak l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/15031571814205af8bce539.gif)
Joined: 30 Jun 2004 Posts: 713 Location: Ohio, USA
|
Posted: Wed Apr 27, 2005 11:10 am Post subject: |
|
|
thagame wrote: | [ebuild R ] sys-libs/glibc-2.3.5 -build -debug -erandom -hardened (-multilib) +nls -nomalloccheck -nptl -nptlonly -pic +userlocales 15,656 kB
i have it installed no problem. but now that i do i get glx / xorg compat issues but thats for a diff section. im just letting you know that it has been emerged and could be something on your system. |
I noticed you're not using NPTL.
So you think the glx / xorg issue is unrelated? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Naib Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/10548223558c42f2887453.jpg)
Joined: 21 May 2004 Posts: 6053 Location: Removed by Neddy
|
Posted: Wed Apr 27, 2005 11:35 am Post subject: |
|
|
COmpiled fine here.
Rebuilt my chaintool so it got build abt 3time I think.
it is a P4 and the CFLAGS are pretty much that of Bob P stage1/3 installation. _________________
Quote: | Removed by Chiitoo |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Bob P Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/36737323419016f7c7ee5.jpg)
Joined: 20 Oct 2004 Posts: 3355 Location: Jackass! Development Labs
|
Posted: Wed Apr 27, 2005 3:14 pm Post subject: |
|
|
Naib wrote: | COmpiled fine here.
Rebuilt my chaintool so it got build abt 3time I think.
it is a P4 and the CFLAGS are pretty much that of Bob P stage1/3 installation. |
the fact that it worked on a P4 doesn't surprise me. i had mentioned earlier that the glibc update works fine on all of the 686 chosts i've tried it on, including PPro, P2, P3... and that this thread specifically addresses an issue that appears to be confined to 586 or lower chost setttings. thanks for confirming my observations. _________________ .
Stage 1/3 | Jackass! | Rockhopper! | Thanks | Google Sucks |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
pilla Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/9555681074926d9b92f09a.jpg)
Joined: 07 Aug 2002 Posts: 7729 Location: Underworld
|
Posted: Wed Apr 27, 2005 3:19 pm Post subject: |
|
|
Have you submitted a bug report? _________________ "I'm just very selective about the reality I choose to accept." -- Calvin |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Bob P Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/36737323419016f7c7ee5.jpg)
Joined: 20 Oct 2004 Posts: 3355 Location: Jackass! Development Labs
|
Posted: Wed Apr 27, 2005 4:48 pm Post subject: |
|
|
yes i have. it may not be obvious because the thread was merged. the bug report is in the second post in this thread.
_________________ .
Stage 1/3 | Jackass! | Rockhopper! | Thanks | Google Sucks |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
pilla Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/9555681074926d9b92f09a.jpg)
Joined: 07 Aug 2002 Posts: 7729 Location: Underworld
|
Posted: Wed Apr 27, 2005 5:31 pm Post subject: |
|
|
Bob P wrote: | yes i have. it may not be obvious because the thread was merged. the bug report is in the second post in this thread.
|
Oh sorry. _________________ "I'm just very selective about the reality I choose to accept." -- Calvin |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
electrofreak l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/15031571814205af8bce539.gif)
Joined: 30 Jun 2004 Posts: 713 Location: Ohio, USA
|
Posted: Wed Apr 27, 2005 8:04 pm Post subject: |
|
|
so... the only solution at this point is to comment out the CFLAGS and CXXFLAGS? I don't like that. Then glibc wont be optimized!?!?! Seriously, My system needs all the optimizations it can get. (Pentium MMX 200MHz) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Bob P Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/36737323419016f7c7ee5.jpg)
Joined: 20 Oct 2004 Posts: 3355 Location: Jackass! Development Labs
|
Posted: Wed Apr 27, 2005 10:13 pm Post subject: |
|
|
electrofreak wrote: | so... the only solution at this point is to comment out the CFLAGS and CXXFLAGS? I don't like that. Then glibc wont be optimized!?!?! Seriously, My system needs all the optimizations it can get. (Pentium MMX 200MHz) |
i can't imagine that the solution of commenting out CFLAGS and the arch specification was seriously advised.
until such time as glibc-2.3.5 is fixed, i've limited my 586-based systems to revisions of 2.3.4.20050125:
Code: | # cat /etc/portage/package.keywords
~sys-devel/gcc-3.4.3.20050110 ~x86
sys-devel/gcc-config ~x86
sys-libs/libstdc++-v3 ~x86
~sys-libs/glibc-2.3.4.20050125 ~x86 |
_________________ .
Stage 1/3 | Jackass! | Rockhopper! | Thanks | Google Sucks |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
GeorgeM n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Monkey Island/Monkey_Island_-_Monkey.gif)
Joined: 31 Oct 2004 Posts: 23 Location: Southern New Jersey
|
Posted: Sat Apr 30, 2005 3:17 pm Post subject: |
|
|
/var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthreads/linuxthreads
/libpthread_pic.a(pthread.os)(.text+0x1cd): In function `pthread_initialize': : undefined reference to `_res'
/var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthreads/linuxthreads
/libpthread_pic.a(pthread.os)(.text+0x1033): In function `__pthread_reset_main_thread': : undefined reference to `_errno'
/var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthreads/linuxthreads
/libpthread_pic.a(pthread.os)(.text+0x1042): In function `__pthread_reset_main_thread': : undefined reference to `_h_errno'
/var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthreads/linuxthreads
/libpthread_pic.a(pthread.os)(.text+0x1051): In function `__pthread_reset_main_thread': : undefined reference to `_res'
/var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthreads/linuxthreads
/libpthread_pic.a(pthread.os)(.data.rel+0x1b8): undefined reference to `_errno' /var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthreads/linuxthreads
/libpthread_pic.a(pthread.os)(.data.rel+0x1c0): undefined reference to `_h_errno'
/var/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthreads/linuxthreads
/libpthread_pic.a(pthread.os)(.data.rel+0x1c8): undefined reference to `_res'
collect2: ld returned 1 exit status
livecd / # emerge --info
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.11-gentoo-r3 i686)
=================================================================
System uname: 2.6.11-gentoo-r3 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.16
Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar 10 2005, 20:47:05)]
dev-lang/python: 2.3.4-r1
sys-apps/sandbox: [Not Present]
sys-devel/autoconf: 2.59-r6, 2.13
sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils: 2.15.92.0.2-r1
sys-devel/libtool: 1.5.10-r4
virtual/os-headers: 2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=i586 -pipe"
CHOST="i586-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 -march=i586 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts avi berkdb bitmap-fonts crypt cups emboss encode foomaticdb fortran gdbm gif gnome gpm gtk gtk2 imlib ipv6 jpeg kde libg++ libwww mad mikmod motif mp3 mpeg ncurses nls nptl oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl spell ssl svga tcpd truetype truetype-fonts type1-fonts xml2 xmms xv zlib"
Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
I've gotten this error as well. I have a PIII 1GHz, so I'm going to change arch to i686 even though the guide says you should use i586
Sure takes a long time to crash after you've tweaked something. The guide I'm reading says 'march=pentium' and CHOST is 'i586', so I tried changing march to i586, but no dice. I also tried omitting the '-fomit-frame-pointer'. No luck there, either
And my USE flags and FEATURES aren't what I typed in from the guide ![Confused :?](images/smiles/icon_confused.gif) _________________ Registered Linux User # 121842
MCP # 1662338
Agnosticism is no excuse for indecision, it is a catalyst for action. It demands an ethics of empathy rather than a metaphysics of hope and fear. S. Batchelor |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Bob P Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/36737323419016f7c7ee5.jpg)
Joined: 20 Oct 2004 Posts: 3355 Location: Jackass! Development Labs
|
Posted: Sat Apr 30, 2005 6:55 pm Post subject: |
|
|
GeorgeM wrote: | I've gotten this error as well. I have a PIII 1GHz, so I'm going to change arch to i686 even though the guide says you should use i586
Sure takes a long time to crash after you've tweaked something. The guide I'm reading says 'march=pentium' and CHOST is 'i586', so I tried changing march to i586, but no dice. I also tried omitting the '-fomit-frame-pointer'. No luck there, either
And my USE flags and FEATURES aren't what I typed in from the guide ![Confused :?](images/smiles/icon_confused.gif) |
you are having this problem because you chose to use the pentium architecture specification and the 586 chost setting (an presumably an x86 tarball) on a 686-class box. the only reason to do something like that is to test the pentium class tarball, arch specification and chost specification in order to troubleshoot the portage tree, so thanks for offering your help in confirming our observations.
<OT>
to fix your system, don't just go changing the chost to 686. you need to start off with the pentium3 tarball, use the pentium3 arch specification, and the 686 chost, and reinstall. that will take less time than attempting to thoroughly rebuild your system without reinstalling.
</OT> _________________ .
Stage 1/3 | Jackass! | Rockhopper! | Thanks | Google Sucks |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
electrofreak l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/15031571814205af8bce539.gif)
Joined: 30 Jun 2004 Posts: 713 Location: Ohio, USA
|
Posted: Sat Apr 30, 2005 8:06 pm Post subject: |
|
|
So is it just i586? or is it i586 and below?? Anyone want to test i486 and i386? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|