When trying to debug a coredump of a trivial program which uses tcmalloc, I
noticed that most debug symbols appear to be missing from the dbg package.
(Just a 'print tcmalloc' in gdb will result in something like 'cannot find
symbol in current context').
Strangely, when rebuilding using "apt-src install google-perftools" and
the resulting packages, it works.
When looking at the filesizes of the debug files, they become about 3 times
larger with the homebuilt packages.
This is verified on a clean Debian 8 machine. On debian 7 (which comes with
tcmalloc 2.0?) it also works fine.
-- System Information:
Debian Release: 8.6
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages libtcmalloc-minimal4-dbg depends on:
ii libtcmalloc-minimal4 2.2.1-0.2
libtcmalloc-minimal4-dbg recommends no packages.
libtcmalloc-minimal4-dbg suggests no packages.
-- no debconf information