undefined reference to `_dl_tls_symaddr at GLIBC_PRIVATE'

Mukesh Kaushal mukeshk at compucomtech.co.in
Sun Jan 2 20:21:33 PST 2005


Hi all,
host: Fedora Core 1 (kernel 2.4.22)
      LFS-5.1.1

When I compile (make) the binutils-2.14-pass2, I get some error message
related to tls support.The snapshot is:
-----------------------------------------------------------------------------
gcc -DHAVE_CONFIG_H -I. -I../../sources/binutils-2.14/binutils -I.
-D_GNU_SOURCE -I. -I../../sources/binutils-2.14/binutils -I../bfd
-I../../sources/binutils-2.14/binutils/../bfd
-I../../sources/binutils-2.14/binutils/../include
-I../../sources/binutils-2.14/binutils/../intl -I../intl
-DLOCALEDIR="\"/tools/share/locale\""
-Dbin_dummy_emulation=bin_vanilla_emulation   -W -Wall -Wstrict-prototypes
-Wmissing-prototypes -g -O2 -c
../../sources/binutils-2.14/binutils/filemode.c
/bin/sh ./libtool --mode=link gcc -W -Wall -Wstrict-prototypes
-Wmissing-prototypes -g -O2  -o size  size.o bucomm.o version.o filemode.o
../bfd/libbfd.la ../libiberty/libiberty.a
mkdir .libs
gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2 -o .libs/size
size.o bucomm.o version.o filemode.o  ../bfd/.libs/libbfd.so
-L/mnt/lfs/binutils-build/libiberty/pic -liberty ../libiberty/libiberty.a
-Wl,--rpath -Wl,/tools/lib
bucomm.o(.text+0x8ce): In function `make_tempname':
../../sources/binutils-2.14/binutils/bucomm.c:441: warning: the use of
`mktemp' is dangerous, better use `mkstemp'
/lib/libc.so.6: undefined reference to `_dl_tls_symaddr at GLIBC_PRIVATE'
collect2: ld returned 1 exit status
make[3]: *** [size] Error 1
make[3]: Leaving directory `/mnt/lfs/binutils-build/binutils'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/mnt/lfs/binutils-build/binutils'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/mnt/lfs/binutils-build/binutils'
make: *** [all-binutils] Error 2
[root at lfs binutils-build]#
----------------------------------------------------------------------------
Any suggestion ? Also getting the same message (/lib/libc.so.6: undefined
reference to `_dl_tls_symaddr at GLIBC_PRIVATE') during the compilation of
tcl-8.4.6 package.

Thanx in advance
Mukesh



More information about the lfs-support mailing list