Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 202026
Alias:
Product:
Component:
Status: RESOLVED
Resolution: DUPLICATE of bug 196031
Assigned To: Gentoo Toolchain Maintainers <toolchain@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Evgeniy Dushistov <dushistov@mail.ru>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 202026 depends on: Show dependency tree
Bug 202026 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-12-12 12:21 0000
If run under gdb any multi thread program,
"info threads" show nothing,
and "thread THREAD_NUMBER" do not switch between threads.

If run gdb under gdb, I can see that problem in
gdb/linux-thread-db.c,
in function check_for_thread_db,
td_ta_new_p return TD_NOLIBTHREAD,

td_ta_new_p is pointer to td_ta_new function from libthread_db.so,
which is part of glibc,

if look at td_ta_new function (nptl_db/td_ta_new.c),
it return TD_NOLIBTHREAD if lookup of nptl_version failed,

if look at /lib/libpthread.so is does not contains nptl_version,

so I remerge glibc with FEATURES="nostrip", and gdb becomes workings.

It would be good to solve it in some other way, do not string all stuff,
and only not touch nptl_version.

Reproducible: Always




Portage 2.1.3.19 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0,
2.6.22-gentoo-r9 i686)
=================================================================
System uname: 2.6.22-gentoo-r9 i686 AMD Athlon(tm) 64 X2 Dual Core Processor
4200+
Timestamp of tree: Thu, 29 Nov 2007 01:47:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p17
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
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.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -mtune=athlon64 -fomit-frame-pointer -pipe"
CHOST="i686-pc-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"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf
/etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c
/etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -mtune=athlon64 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans
userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="ru_RU.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed"
LINGUAS="en ru"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/nx
/usr/portage/local/layman/toolchain /usr/portage/local/layman/vmware
/home/evgeniy/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X acl acpi alsa bash-completion berkdb bitmap-fonts cjk cli
clisp cracklib crypt cups djvu doc dri dvi emacs gdbm gif gpm iconv isdnlog
jpeg kde kdeenablefinal latex logrotate mailwrapper mbox midi mmx mp3 mudflap
ncurses nls nptl nptlonly opengl openmp pam pcre perl png pppd python readline
reflection samba session spell spl sse sse2 ssl tcpd tetex tiff truetype
truetype-fonts type1 type1-fonts unicode vim-syntax vorbis win32codecs x86 xorg
zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci
emu10k1 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" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad
cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ru"
USERLAND="GNU" VIDEO_CARDS="nvidia nv vga fbdev vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS,
PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #1 From Evgeniy Dushistov 2007-12-12 12:23:34 0000 -------
s/do not string all stuff/strip all stuff/g

------- Comment #2 From SpanKY 2007-12-13 07:24:06 0000 -------

*** This bug has been marked as a duplicate of bug 196031 ***

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug