This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug nptl/2419] New: broken .eh_frame for one argument syscalls.


The .eh_frame sections for the nptl single argument syscalls (close and fsync)
in glibc 2.3.6 are being created incorrectly.  Valgrind compains about this, as
discussed here:

http://sourceforge.net/mailarchive/forum.php?thread_id=7568951&forum_id=32038

valgrind emits the message:

DWARF2 CFI reader: unhandled CFI instruction 0:50

on startup of every program linking to the offending object.  This
creates a lot of noise.

readelf agrees that there is a problem with the sections:

$ readelf --debug-dump=frames /lib/tls/libc.so.6 > /dev/null
unsupported or unknown DW_CFA_50
unsupported or unknown DW_CFA_50
$

The patch I will attach shortly fixes the problem.  At least the error message
goes away and to me the CFI instructions now look correct.

FWIW, I noticed the problem on Debian stable (sarge) and current unstable (sid)
but it doesn't look like a Debian only issue.

-- 
           Summary: broken .eh_frame for one argument syscalls.
           Product: glibc
           Version: 2.3.6
            Status: NEW
          Severity: normal
          Priority: P2
         Component: nptl
        AssignedTo: drepper at redhat dot com
        ReportedBy: dwhedon at debian dot org
                CC: glibc-bugs at sources dot redhat dot com
  GCC host triplet: i686-pc-linux-gnu


http://sourceware.org/bugzilla/show_bug.cgi?id=2419

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]