tech-toolchain archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
debug info stripped from shared libs?
I needed to build some in-tree code with debugging (DBG='-g -O0').
The result is internally inconsistent:
$ file xcb_in.*o
xcb_in.o: ELF 32-bit LSB relocatable, Intel 80386, version 1 (SYSV), with debug_info, not stripped
xcb_in.pico: ELF 32-bit LSB relocatable, Intel 80386, version 1 (SYSV), not stripped
xcb_in.po: ELF 32-bit LSB relocatable, Intel 80386, version 1 (SYSV), with debug_info, not stripped
Note how the static library has the debug info, but the dynamic
library has lost it b/c of the `objcopy -x` step that is performed for
the pico files.
I know (rtfs nudged my memory) that I can use MKSTRIPSYM=no, but I
think this violates POLA.
-uwe
Home |
Main Index |
Thread Index |
Old Index