sys-libs/glibc-2.7 complains of missing declarations and fails shortly afterwards. Wed Oct 24 17:18:17 CEST 2007 Portage 2.1.3.13 (default-linux/hppa/2007.0, gcc-4.1.2, glibc-2.5-r4, 2.6.22-pa1-JeR parisc) ================================================================= System uname: 2.6.22-pa1-JeR parisc PA8700 (PCX-W2) Timestamp of tree: Wed, 24 Oct 2007 04:20:01 +0000 app-shells/bash: 3.2_p17 dev-lang/python: 2.4.4-r5 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.9-r2 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17.50.0.12 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.22-r2 ACCEPT_KEYWORDS="hppa" CBUILD="hppa2.0-unknown-linux-gnu" CFLAGS="-O2 -pipe -march=2.0 -mschedule=8000 -ggdb" CHOST="hppa2.0-unknown-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/spool/PBS /var/bind" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -pipe -march=2.0 -mschedule=8000 -ggdb" DISTDIR="/keeps/gentoo/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms splitdebug strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LC_ALL="en_US.UTF-8" MAKEOPTS="-j2" PKGDIR="/keeps/gentoo/packages/elmer" 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 --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/keeps/gentoo/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="bash-completion berkdb bitmap-fonts bzip2 cli cracklib crypt cups firefox foomaticdb fortran gdbm gpm hppa iconv imlib ipv6 isdnlog libwww midi ncurses nls nptl nptlonly openmp pam pcre perl pic pppd python readline reflection session spell spl ssl tcl tcpd threads truetype-fonts type1-fonts unicode vim-syntax xml2 xorg zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="dummy fbdev" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Created attachment 134238 [details] sys-libs:glibc-2.7:20071024-065832.log
you should send an e-mail to the parisc list about this ... i reproduced the failure, but i think Carlos should be able to provide a solution faster than i can since he is much more familiar with the code looks like a header order problem ... the right files seem to be including the right things, but not in the right order or there's a circular loop lowlevellock.h is already pulling in tls.h for the definitions it's whining about missing, but it looks like tls.h also tries to pull in lowlevellock.h ...
fixed in glibc-2.7-r1 http://sources.gentoo.org/gentoo/src/patchsets/glibc/2.7/1515_all_glibc-hppa-tls-lock-build-fix.patch?rev=1.1