Trying to upgrade a mips system to the new ~mips. Mostly, this has gone ok, with a few notable exceptions (binutils, utils-linux, glibc, and e2fsprogs). I could see how the problem being reported here *could* be tied to one of the others, but it's not clear to be precisely how, so it's unclear how to untangle the web. Gcc seems to have had a patch for tls_get_addr for a long time <http://gcc.gnu.org/ml/gcc-patches/2005-03/msg00925.html> so I don't know where this problem is coming from. Anyway, compiling sys-fs/e2fsprogs-1.40.6 fails for me. Reproducible: Always Steps to Reproduce: 1. trying to update e2fsprogs from 1.39 to 1.40.6 Actual Results: Fails with: LD uuid_time ../../lib/libuuid.so: undefined reference to `__tls_get_addr' collect2: ld returned 1 exit status Expected Results: compiled e2fsprogs # emerge --info Portage 2.1.4.4 (default-linux/mips/2007.1-dev/generic-be/o32, gcc-4.1.2, glibc-2.3.6-r4, 2.6.23.14-mipsgit-20080206 mips64) ================================================================= System uname: 2.6.23.14-mipsgit-20080206 mips64 R5000 V2.1 FPU V1.0 Timestamp of tree: Wed, 27 Feb 2008 00:16:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p33 dev-lang/python: 2.4.3-r1, 2.5.1-r5 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.61-r1 sys-devel/automake: 1.6.3, 1.9.6-r2, 1.10.1 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="mips ~mips" CBUILD="mips-unknown-linux-gnu" CFLAGS="-O2 -march=mips4 -pipe -mabi=32" CHOST="mips-unknown-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=mips4 -pipe -mabi=32" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sfperms strict unmerge-orphans user-fetch userfetch" GENTOO_MIRRORS="http://ftp.linux.ee/pub/gentoo/distfiles/ http://ftp.rhnet.is/pub/gentoo/ http://mirror.gentoo.no/ http://gentoo.osuosl.org/ http://ftp.du.se/pub/os/gentoo" LC_ALL="en_US.utf8" LINGUAS="en_US en_GB sv_SE sv" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://giddy.michael.hammill.name/gentoo-portage" USE="/ bash-completion berkdb bitmap-fonts cli cracklib fam fortran gdbm gpm iconv isdnlog libwww mailwrapper midi mips mudflap nls no-old-linux nptl nptlonly openmp pam pcre perl pppd python readline reflection sdl session spl ssl tcpd truetype-fonts type1-fonts unicode vram xorg" 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" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US en_GB sv_SE sv" USERLAND="GNU" VIDEO_CARDS="dummy fbdev impact newport v4l" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 144750 [details] full emerge log e2fsprogs
Perhaps upgrade your glibc to something decent... *** This bug has been marked as a duplicate of bug 204102 ***
(In reply to comment #2) > Perhaps upgrade your glibc to something decent... > > > *** This bug has been marked as a duplicate of bug 204102 *** > What do you consider decent? I filed bug #211684 on trying to get to glibc-2.6.1 (current ~mips). If glibc-2.3.6-r4 is too old, which of the version between it and 2.6.1 is decent: 2.3.6-r5 [M](~)2.4-r4 [M]2.5-r2 [M]2.5-r3 [M]2.5-r4 [M]**2.5.1 [M]~*2.6 ? Any suggestions helpful. It takes a full day plus to compile, so I hate wasting the time on something that has no chance of making it.
(In reply to comment #2) > Perhaps upgrade your glibc to something decent... Just wanted to confirm that--now that one *can* upgrade to a newer glibc-- e2fsprogs also compiles as suggested. Problem with compiling glibc was reported in Bug #211684. Now that that is fixed, so is this bug resolved for me.