Up until recently when I was debugging something I sometimes liked to build debug libraries that I could use with dbx. For e.g. when building mech_krb5.so.1 I built like this:
CTFCONVERT_O="" CTFMERGE_LIB="" COPTFLAG="-g" COPTFLAG64="-g" make install I'm not sure exactly what the CTF options are doing but I assume that they are preventing the removal of debug bits that dbx needs. Anyway this stopped working for me recently (I'm on build 84 but perhaps caused by the direct bindings putback?). When I build with these options I get plenty of errors: Text relocation remains referenced against symbol offset in file <unknown> 0x4 pics/gssapi_krb5.o <unknown> 0xc pics/gssapi_krb5.o <unknown> 0x14 pics/gssapi_krb5.o <unknown> 0x1c pics/gssapi_krb5.o <unknown> 0x24 pics/gssapi_krb5.o <unknown> 0x2c pics/gssapi_krb5.o oidsets 0x0 pics/gssapi_krb5.o oidsets 0x0 pics/gssapi_krb5.o oidsets 0x0 pics/gssapi_krb5.o ... What's the correct way to build debug libraries (with recent builds)? Cheers, -Mark