<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>4069</bug_id>
          
          <creation_ts>2004-05-01 20:50:12 +0400</creation_ts>
          <short_desc>gdb requires _dl_debug_state symbol in /lib/ld-linux.so.2</short_desc>
          <delta_ts>2006-12-17 16:22:30 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>glibc-core</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>3459</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Sergey Vlasov">vsu</reporter>
          <assigned_to name="Gleb F-Malinovskiy">glebfm</assigned_to>
          <cc>glebfm</cc>
    
    <cc>ldv</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>13213</commentid>
    <comment_count>0</comment_count>
    <who name="Sergey Vlasov">vsu</who>
    <bug_when>2004-05-01 20:50:12 +0400</bug_when>
    <thetext>После обновления до glibc-2.3.3.200404240000-alt1 при попытке использования gdb
для отладки любой программы выдаётся следующее предупреждение:

warning: Unable to find dynamic linker breakpoint function.
GDB will be unable to debug shared library initializers
and track explicitly loaded dynamic code.

gdb ищет в /lib/ld-linux.so.2 символ _dl_debug_state, но в новой glibc он
перестал экспортироваться из ld-linux.so.2 и доступен только в таблице символов
для отладки; поскольку отладочная информация из /lib/ld-linux.so.2 убрана,
символ не обнаруживается.

Аналогичная ситуация уже была с /lib/libpthread.so.0; необходимо либо
восстановить экспорт, либо оставлять в /lib/ld-linux.so.2 отладочные символы
хотя бы в минимальном объёме.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13222</commentid>
    <comment_count>1</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2004-05-03 00:24:36 +0400</bug_when>
    <thetext>Fixed in glibc-core-2.3.3.200404240000-alt4

$ readelf -s /lib/ld-2.2.6.so |fgrep _dl_debug_state
    35: 0000a090     5 FUNC    GLOBAL DEFAULT    9 _dl_debug_state@@GLIBC_2.0

$ readelf -s /lib/ld-2.3.3.so |fgrep _dl_debug_state
   245: 0000a5a0     5 FUNC    LOCAL  HIDDEN    9 _dl_debug_state
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>