On Wed, Feb 18, 2015 at 11:56:51AM +0100, Josef Weidendorfer wrote: > Am 18.02.2015 um 11:02 schrieb Azat Khuzhin: > >> Does it work if you remove "-static"? I have no idea if Ubuntu provides > >> debug info for libc.a ... > > > > Debian do provides, so I guess that ubuntu too: > > libc6-dev: /usr/lib/x86_64-linux-gnu/libc.a
My mistake I misread previous mail, there are no debug symbols in libc.a. >From glibc-deb-svn/trunk/debian/rules: NOSTRIP_$(libc)-dbg = 1 > > That file on Ubuntu 14.10 (I am running this here) does not have debug info: > > ~> objdump -h /usr/lib/x86_64-linux-gnu/libc.a | grep debug_ > ~> > > Can you check this on Debian? > > Ubuntu splits off debug info into -dbg files. For shared libc it's > libc6-dbg. > > ~> objdump -h /usr/lib/debug/lib/x86_64-linux-gnu/libc-2.19.so | grep > debug_ > 68 .debug_aranges 000112b0 0000000000000000 0000000000000000 > 000017e0 2**4 > 69 .debug_info 003fcbf8 0000000000000000 0000000000000000 00012a90 > 2**0 > 70 .debug_abbrev 000968a2 0000000000000000 0000000000000000 0040f688 > 2**0 > 71 .debug_line 000c147a 0000000000000000 0000000000000000 004a5f2a > 2**0 > 72 .debug_str 0002534c 0000000000000000 0000000000000000 005673a4 > 2**0 > 73 .debug_loc 00247f70 0000000000000000 0000000000000000 0058c6f0 > 2**0 > 74 .debug_ranges 0004b7d0 0000000000000000 0000000000000000 007d4660 > 2**4 > > But libc6-dbg has nothing about the static libc. > > Josef ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk _______________________________________________ Valgrind-users mailing list Valgrind-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-users