Dear Debian Mentors, I have a specific question with regard to -dbg packages for libraries. My understanding of generating -dbg libraries is like this: 1. We build the package with CFLAGS or CXXFLAGS = -g -O2 (for optimization). 2. We call dh_strip while exluding the dbg package, to ensure that debugging sumbols are present there. Now, my situation is that upstream generates special <pkg>_debug packages by sending ./configure --enable-debug. While I achieve the desired result with the CFLAGS mentioned above, upstream fears that generating the library with debugging symbols first and then stripping them may result in a slightly reduced performance (it's a numerical computation library). While I am going to run some tests myself to verify this, I just wanted to ask the mentors here about their knowledge of this issue. Thanks! Kumar -- Kumar Appaiah, 458, Jamuna Hostel, Indian Institute of Technology Madras, Chennai - 600 036
Attachment:
signature.asc
Description: Digital signature