Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 228931 - compiling net-libs/xulrunner-1.9-r2 fails with undefined reference to `__tls_get_addr' errors in mozilla/memory/jemalloc
Summary: compiling net-libs/xulrunner-1.9-r2 fails with undefined reference to `__tls...
Status: VERIFIED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-22 17:36 UTC by Christian Korff
Modified: 2008-06-27 10:38 UTC (History)
0 users

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


Attachments
build log (xulrunner.log,59.25 KB, text/plain)
2008-06-22 17:38 UTC, Christian Korff
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Korff 2008-06-22 17:36:43 UTC
I wanted to try Firefox 3.0 but I ran into trouble with the new xulrunner version (1.9-r2).

gmake[3]: Entering directory `/var/tmp/portage/net-libs/xulrunner-1.9-r2/work/mozilla/memory/jemalloc'
jemalloc.c
x86_64-pc-linux-gnu-gcc -o jemalloc.o -c -fvisibility=hidden -DOSTYPE=\"Linux2.6\" -DOSARCH=Linux -DGENTOO_LIB_DIR=\"/usr/lib64\"  -I. -I.  -I../../dist/include   -I../../dist/include/jemalloc -I/usr/include/nspr     -I../../dist/sdk/include    -fPIC -DGENTOO_NSPLUGINS_DIR=\"/usr/lib64/nsplugins\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\"/usr/lib64/nsbrowser/plugins\"   -W -Wno-unused -Wpointer-arith -Wcast-align -W -Wno-long-long -march=nocona -pipe -fPIC -Wno-return-type -w -fno-strict-aliasing -pthread -pipe  -DNDEBUG -DTRIMMED -O2  -DGENTOO_NSPLUGINS_DIR=\"/usr/lib64/nsplugins\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\"/usr/lib64/nsbrowser/plugins\"  -include ../../mozilla-config.h -DMOZILLA_CLIENT -Wp,-MD,.deps/jemalloc.pp jemalloc.c
rm -f libjemalloc.so
x86_64-pc-linux-gnu-g++ -DGENTOO_NSPLUGINS_DIR=\"/usr/lib64/nsplugins\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\"/usr/lib64/nsbrowser/plugins\"  -fno-rtti -fno-handle-exceptions  -Wconversion -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-long-long -march=nocona -pipe -fPIC -Wno-deprecated -Wno-return-type -w -fno-strict-aliasing -fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -O2 -fPIC -shared -Wl,-z,defs -Wl,-rpath,'$ORIGIN' -Wl,-h,libjemalloc.so -o libjemalloc.so  jemalloc.o     -lpthread   -Wl,-rpath,'$ORIGIN' -Wl,-rpath-link,../../dist/bin   -ldl -lm    
jemalloc.o: In function `choose_arena_hard':
jemalloc.c:(.text+0x33d0): undefined reference to `__tls_get_addr'
jemalloc.c:(.text+0x3429): undefined reference to `__tls_get_addr'
jemalloc.o: In function `malloc_init_hard':
jemalloc.c:(.text+0x39c0): undefined reference to `__tls_get_addr'
jemalloc.o: In function `malloc':
jemalloc.c:(.text+0x3d85): undefined reference to `__tls_get_addr'
jemalloc.o: In function `memalign':
jemalloc.c:(.text+0x40e9): undefined reference to `__tls_get_addr'
jemalloc.o:jemalloc.c:(.text+0x43ea): more undefined references to `__tls_get_addr' follow
collect2: ld gab 1 als Ende-Status zurück
gmake[3]: *** [libjemalloc.so] Fehler 1
gmake[3]: Leaving directory `/mnt/sda1/portage/portage/net-libs/xulrunner-1.9-r2/work/mozilla/memory/jemalloc'
gmake[2]: *** [libs_tier_base] Fehler 2
gmake[2]: Leaving directory `/var/tmp/portage/net-libs/xulrunner-1.9-r2/work/mozilla'
gmake[1]: *** [tier_base] Fehler 2
gmake[1]: Leaving directory `/var/tmp/portage/net-libs/xulrunner-1.9-r2/work/mozilla'
make: *** [default] Fehler 2
 * 
 * ERROR: net-libs/xulrunner-1.9-r2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 4935:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed"
 *  The die message:
 *   emake failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/net-libs/xulrunner-1.9-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-libs/xulrunner-1.9-r2/temp/environment'.
 * 
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="." JAVA_HOME="/etc/java-config-2/current-system-vm"
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info

 * Messages for package dev-libs/nspr-4.7.1:

 * disabling confcache, binary cannot be found
 * Old versions of installed libraries were detected on your system.
 * In order to avoid breaking packages that depend on these old libs,
 * the libraries are not being removed.  You need to run revdep-rebuild
 * in order to remove these old dependencies.  If you do not have this
 * helper program, simply emerge the 'gentoolkit' package.
 * 
 *   # revdep-rebuild --library libnspr4.so.6
 *   # revdep-rebuild --library libplc4.so.6
 *   # revdep-rebuild --library libplds4.so.6
 * 
 * Once you've finished running revdep-rebuild, it should be safe to
 * delete the old libraries.  Here is a copy & paste for the lazy:
 *   # rm '/usr/lib64/nspr/libnspr4.so.6'
 *   # rm '/usr/lib64/nspr/libplc4.so.6'
 *   # rm '/usr/lib64/nspr/libplds4.so.6'

 * Messages for package app-text/hunspell-1.1.9:

 * disabling confcache, binary cannot be found
 * To use this package you will also need a dictionary.
 * Hunspell uses myspell format dictionaries; find them
 * in the app-dicts category as myspell-<LANG>.

 * Messages for package net-libs/xulrunner-1.9-r2:

 * 
 * ERROR: net-libs/xulrunner-1.9-r2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 4935:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed"
 *  The die message:
 *   emake failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/net-libs/xulrunner-1.9-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-libs/xulrunner-1.9-r2/temp/environment'.
 * 
 * disabling confcache, binary cannot be found
 * GNU info directory index is up-to-date.

# emerge --info
Portage 2.1.4.4 (hardened/amd64/multilib, gcc-3.4.6-vanilla, glibc-2.3.6-r5, 2.6.20-hardened-r10 x86_64)
=================================================================
System uname: 2.6.20-hardened-r10 x86_64 Intel(R) Pentium(R) 4 CPU 3.00GHz
Timestamp of tree: Fri, 20 Jun 2008 16:30:02 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r13
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.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.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/mpd/conf /usr/NX/etc /usr/NX/home /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.0/env /usr/kde/4.0/share/config /usr/kde/4.0/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=nocona -pipe"
DISTDIR="/usr/src/portage-distfiles"
FEATURES="autoconfig ccache confcache distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms splitdebug strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://gentoo.tiscali.nl/ http://gentoo.mneisen.org/ http://mirror.switch.ch/ftp/mirror/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LINGUAS="fr de en_GB"
PKGDIR="/usr/local/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://rsync.gentoo.org/gentoo-portage"
USE="16bit 7zip X a52 aac aalib accessibility acct ace acl acpi activefilter adsl agg aiglx aim akode alsa amd64 amr amuled animgif ao aoss arj auth avahi avantgo avi background bash-completion berkdb bluetooth bonjour bzip2 cairo calendar canna cap capi cdda cddb cdparanoia cdr cdrom cgi charconv chardet chipcard chipcard2 chm cjk cracklib crypt cups dmx dri dts dv dvb dvd dvdr dvdread enca eurofile exif fax flac gdbm geoip gif gimpprint gpm gps gstreamer gtk hardened ipv6 jpeg jpeg2k justify kerberos kolab lame ldap libcaca loop-aes midi mng mp3 mpeg multilib ncurses nls nptl nptlonly ogg opengl pam perl pic png python readline scanner sdl sqlite sse2 ssl svg tcpd tiff unicode urandom usb vorbis wmf xcb xinerama xml xorg xprint xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" FRITZCAPI_CARDS="fcdsl2 fcdslsl fcpci" INPUT_DEVICES="keyboard mouse vmmouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr de en_GB" LIRC_DEVICES="all" USERLAND="GNU" VIDEO_CARDS="ati dummy fbdev i810 mach64 nv r128 s3 s3virge sis v4l vesa vga vmware radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Christian Korff 2008-06-22 17:38:47 UTC
Created attachment 158021 [details]
build log
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2008-06-22 18:45:23 UTC
Please run revdep-rebuild from the app-portage/gentoolkit package and then see if xulrunner compiles properly.
Comment 3 Christian Korff 2008-06-27 10:38:34 UTC
Okay, seems that something was broken. revdep-rebuild did it's job.