Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 211650

Summary: sys-fs/e2fsprogs-1.40.6 fails to compile on ~mips with __tls_get_addr error in libuuid
Product: Gentoo Linux Reporter: Mike Hammill <michael>
Component: [OLD] Core systemAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Severity: normal    
Priority: High    
Version: 2006.1   
Hardware: MIPS   
OS: Linux   
Package list:
Runtime testing required: ---
Attachments: full emerge log e2fsprogs

Description Mike Hammill 2008-02-27 16:20:54 UTC
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 <> 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/ undefined reference to `__tls_get_addr'
collect2: ld returned 1 exit status

Expected Results:  
compiled e2fsprogs

# emerge --info
Portage (default-linux/mips/2007.1-dev/generic-be/o32, gcc-4.1.2, glibc-2.3.6-r4, mips64)
System uname: 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-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"
CFLAGS="-O2 -march=mips4 -pipe -mabi=32"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=mips4 -pipe -mabi=32"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sfperms strict unmerge-orphans user-fetch userfetch"
LINGUAS="en_US en_GB sv_SE sv"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
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"
Comment 1 Mike Hammill 2008-02-27 16:23:39 UTC
Created attachment 144750 [details]
full emerge log e2fsprogs
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2008-02-27 17:40:37 UTC
Perhaps upgrade your glibc to something decent...

*** This bug has been marked as a duplicate of bug 204102 ***
Comment 3 Mike Hammill 2008-02-27 23:58:32 UTC
(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.

Comment 4 Mike Hammill 2008-03-06 13:00:59 UTC
(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.