First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 90413
Alias:
Product:
Component:
Status: RESOLVED
Resolution: DUPLICATE of bug 90236
Assigned To: Gentoo Toolchain Maintainers <toolchain@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Bob <custom_basses@yahoo.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 90413 depends on: Show dependency tree
Bug 90413 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-04-25 12:13 0000
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.


# 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"

------- Comment #1 From Carsten Lohrke 2005-04-25 12:18:21 0000 -------
Please use "New -> Gentoo Linux -> Component: Ebuilds" in future.
Infrastructure is not the correct addressee.

------- Comment #2 From Peter Gordon (RETIRED) 2005-04-26 14:14:27 0000 -------
It looks like it's a problem with the linuxthreads part of glibc. Do you
actually need linuxthreads compatibility? If not try remerging glibc with the
"nptlonly" USE flag set and see if it works.
--Peter

------- Comment #3 From Bob 2005-04-26 15:00:34 0000 -------
thread relating to bug report merged by mods into this thread:

http://forums.gentoo.org/viewtopic-p-2352986.html

PS - yes, nptlonly has been excluded on my systems by design, so i would respond that turning off linuxthreads and rebuilding all of my systems to hide the error isn't an optimal solution.

------- Comment #4 From Neil Bothwick 2005-04-27 06:06:31 0000 -------
I get the same failure here too, but only on the one system.
The forum thread says it is limited to i586 system, which this appears to confirm.

Portage 2.0.51.20-r5 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r0, 2.6.11-gentoo-r6 i686)
=================================================================
System uname: 2.6.11-gentoo-r6 i686 VIA Samuel 2
Gentoo Base System version 1.6.11
distcc 2.18.3 i586-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r8
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.11
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i586-pc-linux-gnu"
CFLAGS="-march=c3 -Os -pipe -fomit-frame-pointer"
CHOST="i586-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /var/run/dspam /var/spool/dspam"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=c3 -Os -pipe -fomit-frame-pointer"
DISTDIR="/mnt/portage/distfiles"
FEATURES="autoconfig buildpkg distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://ftp.mirror.ac.uk/sites/www.ibiblio.org/gentoo/ ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
LDFLAGS="-Wl,-O1"
LINGUAS="en_GB"
MAKEOPTS="-j2"
PKGDIR="/mnt/portage/packages/desatio"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/mnt/portage/local"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow apache2 apm avi berkdb bitmap-fonts crypt cups curl emboss
encode fam foomaticdb fortran gdbm gif gtk2 imlib jpeg libg++ libwww mad mbox
mikmod mmx motif mp3 mpeg mysql ncurses oggvorbis opengl oss pdflib perl png
ppds python quicktime readline samba session slang ssl svga tcpd tiff
truetype-fonts type1-fonts usb vhosts xml xml2 xmms xv zlib linguas_en_GB"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL

------- Comment #5 From Julien Cayzac 2005-04-30 02:54:20 0000 -------
I confirm. I have the exact same error on the same architecture (VIA EPIA 800,
whose processor is a Samuel 2, i.e. a 586 with MMX and 3DNow).

Julien.

------- Comment #6 From Alex Handy 2005-04-30 11:15:27 0000 -------
Confirmed on K6-2 with: 
Portage 2.0.51.20-r5 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r1, 2.4.27-gentoo-r1 i586)
3D processor AuthenticAMD GNU/Linux
System uname: 2.4.27-gentoo-r1 i586 AMD-K6(tm) 3D processor
Gentoo Base System version 1.6.11
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.2
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r8
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.11
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i586-pc-linux-gnu"
CFLAGS="-march=k6-2 -O3 -pipe"
CHOST="i586-pc-linux-gnu"

[ebuild     U ] sys-libs/glibc-2.3.5 [2.3.4.20050125-r1] -build -debug -erandom -hardened (-multilib) -nls -nomalloccheck -nptl -nptlonly -pic -userlocales 0 kB

/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthreads/linuxthreads/libpthread_pic.a(pthread.os)(.text+0x21a): In function `pthread_initialize':
: undefined reference to `_res'
/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthreads/linuxthreads/libpthread_pic.a(pthread.os)(.text+0xa3a): In function `__pthread_reset_main_thread':
: undefined reference to `_errno'
/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthreads/linuxthreads/libpthread_pic.a(pthread.os)(.text+0xa43): In function `__pthread_reset_main_thread':
: undefined reference to `_h_errno'
/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthreads/linuxthreads/libpthread_pic.a(pthread.os)(.text+0xa55): In function `__pthread_reset_main_thread':
: undefined reference to `_res'
/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'
/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'
/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]: *** [/home/tmp/portage/glibc-2.3.5/work/build-default-i586-pc-linux-gnu-linuxthreads/linuxthreads/libpthread.so] Error 1

--
Will try rebuilding with NPTLOnly now

------- Comment #7 From Evan Langlois 2005-05-04 10:26:48 0000 -------
Another i586 with the issue.  This one an AMD K6-2.  I'm a bit worried about
the possibility of some apps that don't work with nptl threads, but I guess its
time for nptl-only and see how it goes.

------- Comment #8 From Evan Langlois 2005-05-04 20:35:07 0000 -------
Bug #90236 seems to be the same issue

And I can verify that nptlonly does indeed allow for a successfull compile.

------- Comment #9 From Bob 2005-05-16 07:51:39 0000 -------
yes, this is a linuxthreads problem, not an ntpl problem.  ;)

------- Comment #10 From Jeremy Huddleston (RETIRED) 2005-07-14 03:06:24 0000 -------

*** This bug has been marked as a duplicate of 90236 ***

First Last Prev Next    No search results available      Search page      Enter new bug