Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 153384 - glibc-2.4-r3 fails to compile
Summary: glibc-2.4-r3 fails to compile
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-29 17:51 UTC by Paul Roberts
Modified: 2006-10-31 12:25 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Full emerge glibc log (glibc.log.bz2,133.38 KB, application/octet-stream)
2006-10-30 12:06 UTC, Paul Roberts
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Roberts 2006-10-29 17:51:22 UTC
The error seems to occur due to a whole slew of undefined references:


/var/tmp/portage/glibc-2.4-r3/work/build-default-i686-pc-linux-gnu-nptl/rt/librt_pic.a(aio_misc.os): In function `__aio_enqueue_request':
aio_misc.c:(.text+0x395): undefined reference to `pthread_attr_setstacksize'
aio_misc.c:(.text+0x3f9): undefined reference to `pthread_create'
/var/tmp/portage/glibc-2.4-r3/work/build-default-i686-pc-linux-gnu-nptl/rt/librt
_pic.a(aio_misc.os): In function `handle_fildes_io':
aio_misc.c:(.text+0x99f): undefined reference to `pthread_create'
/var/tmp/portage/glibc-2.4-r3/work/build-default-i686-pc-linux-gnu-nptl/rt/librt
_pic.a(aio_notify.os): In function `__aio_notify_only':
aio_notify.c:(.text+0x8a): undefined reference to `pthread_create'
/var/tmp/portage/glibc-2.4-r3/work/build-default-i686-pc-linux-gnu-nptl/rt/librt
_pic.a(clock_gettime.os): In function `hp_timing_gettime':
clock_gettime.c:(.text+0xe4): undefined reference to `_rtld_global'
/var/tmp/portage/glibc-2.4-r3/work/build-default-i686-pc-linux-gnu-nptl/rt/librt
_pic.a(clock_settime.os): In function `clock_settime':
clock_settime.c:(.text+0xf0): undefined reference to `_rtld_global'
/var/tmp/portage/glibc-2.4-r3/work/build-default-i686-pc-linux-gnu-nptl/rt/librt_pic.a(timer_create.os): In function `timer_create':
timer_create.c:(.text+0x117): undefined reference to `pthread_once'
/var/tmp/portage/glibc-2.4-r3/work/build-default-i686-pc-linux-gnu-nptl/rt/librt_pic.a(mq_notify.os): In function `mq_notify':
mq_notify.c:(.text+0x78): undefined reference to `pthread_once'
/var/tmp/portage/glibc-2.4-r3/work/build-default-i686-pc-linux-gnu-nptl/rt/librt_pic.a(mq_notify.os): In function `change_sigmask':
mq_notify.c:(.text+0x1a1): undefined reference to `pthread_sigmask'
/var/tmp/portage/glibc-2.4-r3/work/build-default-i686-pc-linux-gnu-nptl/rt/librt_pic.a(mq_notify.os): In function `init_mq_netlink':
mq_notify.c:(.text+0x1ea): undefined reference to `pthread_barrier_init'
mq_notify.c:(.text+0x299): undefined reference to `pthread_attr_setstacksize'
mq_notify.c:(.text+0x2d7): undefined reference to `pthread_create'
mq_notify.c:(.text+0x32a): undefined reference to `pthread_sigmask'
mq_notify.c:(.text+0x34a): undefined reference to `pthread_atfork'
mq_notify.c:(.text+0x359): undefined reference to `pthread_cancel'
/var/tmp/portage/glibc-2.4-r3/work/build-default-i686-pc-linux-gnu-nptl/rt/librt_pic.a(mq_notify.os): In function `helper_thread':
mq_notify.c:(.text+0x3e5): undefined reference to `pthread_create'
mq_notify.c:(.text+0x3f4): undefined reference to `pthread_barrier_wait'
/var/tmp/portage/glibc-2.4-r3/work/build-default-i686-pc-linux-gnu-nptl/rt/librt_pic.a(mq_notify.os): In function `notification_function':
mq_notify.c:(.text+0x420): undefined reference to `pthread_barrier_wait'
mq_notify.c:(.text+0x42d): undefined reference to `pthread_detach'
/var/tmp/portage/glibc-2.4-r3/work/build-default-i686-pc-linux-gnu-nptl/rt/librt_pic.a(timer_routines.os): In function `__start_helper_thread':
timer_routines.c:(.text+0x5e): undefined reference to `pthread_attr_setstacksize'
timer_routines.c:(.text+0xcc): undefined reference to `pthread_create'
timer_routines.c:(.text+0x125): undefined reference to `pthread_atfork'
/var/tmp/portage/glibc-2.4-r3/work/build-default-i686-pc-linux-gnu-nptl/rt/librt_pic.a(timer_routines.os): In function `timer_helper_thread':
timer_routines.c:(.text+0x257): undefined reference to `pthread_create'
/var/tmp/portage/glibc-2.4-r3/work/build-default-i686-pc-linux-gnu-nptl/rt/librt_pic.a(librt-cancellation.os): In function `__librt_enable_asynccancel':
librt-cancellation.c:(.text+0x99): undefined reference to `__pthread_unwind'
collect2: ld returned 1 exit status
make[2]: *** [/var/tmp/portage/glibc-2.4-r3/work/build-default-i686-pc-linux-gnu-nptl/rt/librt.so] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/glibc-2.4-r3/work/glibc-2.4/nscd'
make[1]: *** [nscd/others] Error 2
make[1]: Leaving directory `/var/tmp/portage/glibc-2.4-r3/work/glibc-2.4'
make: *** [all] Error 2

!!! ERROR: sys-libs/glibc-2.4-r3 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  glibc-2.4-r3.ebuild, line 1192:   Called toolchain-glibc_src_compile
  glibc-2.4-r3.ebuild, line 255:   Called die


My emerge info:

# emerge --info
Portage 2.1.1-r1 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r7 i686)
=================================================================
System uname: 2.6.17-gentoo-r7 i686 Intel(R) Pentium(R) 4 Mobile CPU 1.60GHz
Gentoo Base System version 1.12.5
Last Sync: Sun, 29 Oct 2006 23:00:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4m -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=pentium4m -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks fixpackages metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac acpi alsa arts bash-completion bcmath berkdb bitmap-fonts blas bluetooth bonobo bzip2 calendar cardbus cdparanoia cdr cli cracklib crypt cups dlloader doc dri dvd dvdread dvr elibc_glibc encode exif ffmpeg fftw flac foomaticdb fortran ftp gdbm gif ginac glut gnome gpm gstreamer gtk gtk2 hal iconv ieee1394 imagemagick input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog jabber java javascript jpeg jpeg2k kde kernel_linux lapack libg++ lm_sensors mad madwifi mmx mozilla mp3 mpeg ncurses nls nptl nptlonly nsplugin ogg oggvorbis opengl oss pam pcmica pcre pdf perl png ppds pppd python qt quicktime readline reflection samba session sockets spell spl sse sse2 ssl tcpd tetex tiff tpcd truetype truetype-fonts type1-fonts udev unicode usb userland_GNU video_cards_fbdev video_cards_fglrx video_cards_i810 video_cards_radeon video_cards_vesa vorbis wifi win32codecs xorg xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 SpanKY gentoo-dev 2006-10-30 08:24:45 UTC
post a full emerge log as an attachment

emerge glibc >& log
Comment 2 Paul Roberts 2006-10-30 11:31:04 UTC
(In reply to comment #1)
> post a full emerge log as an attachment
> 
> emerge glibc >& log
> 

The log file was too big to add as an attachement, put I put it up on my website at:

http://jaffeweb.ucsd.edu/pages/paul/blosxom/downloads/glibc.log



Comment 3 SpanKY gentoo-dev 2006-10-30 11:44:22 UTC
it's call compression, use bzip2
Comment 4 Paul Roberts 2006-10-30 12:06:46 UTC
Created attachment 100815 [details]
Full emerge glibc log
Comment 5 SpanKY gentoo-dev 2006-10-30 22:04:11 UTC
your clock is screwed up:
make[2]: Warning: File `/var/tmp/portage/glibc-2.4-r3/work/build-default-i686-pc-linux-gnu-nptl/elf/in
terp.os' has modification time 1e+03 s in the future
Comment 6 SpanKY gentoo-dev 2006-10-30 22:04:44 UTC
fix your clock/system and then try emerging glibc again
Comment 7 Paul Roberts 2006-10-31 12:25:34 UTC
(In reply to comment #6)
> fix your clock/system and then try emerging glibc again
> 

You are right. I updated the clock, re-emerged glibc, and did not receive the error. Spurious bug after all. My mistake.