[sr-dev] 3.3 presence crash
Juha Heinanen
jh at tutpro.com
Wed Jun 13 20:57:50 CEST 2012
i have not managed to build debian package with debug symbols for gdb.
file claims that the binary is not stripped:
$ file /usr/sbin/pres-serv
/usr/sbin/pres-serv: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.26, BuildID[sha1]=0xffa2eda9f71031ebb06946541b7aeae02ffce982, not stripped
but gdb claims that there are no symbols:
# gdb /usr/sbin/pres-serv /var/cores/core.pres-serv.sig11.1
core.pres-serv.sig11.15119 core.pres-serv.sig11.17616
# gdb /usr/sbin/pres-serv /var/cores/core.pres-serv.sig11.17616
GNU gdb (GDB) 7.4.1-debian
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/sbin/pres-serv...(no debugging symbols found)...done.
in debian rules i have
# force no stripping
export DEB_BUILD_OPTIONS:="$(DEB_BUILD_OPTIONS) nostrip"
...
ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
INSTALL_PROGRAM += -s
endif
any clues?
-- juha
More information about the sr-dev
mailing list