Markus Moeller wrote:
> STRIPSTABS_KEEP_STABS="1" has helped, but dbx can not evaluate variables as 
> it is optimized.  I tried to remove -O from COPTFLAG, but that creates 
> linking errors 
> Text relocation remains                         referenced
>     against symbol                  offset      in file
> .rodata1 (section)                  0x4         pics/gssapi_krb5.o
> .rodata1 (section)                  0xc         pics/gssapi_krb5.o
> .rodata1 (section)                  0x14        pics/gssapi_krb5.o
> .rodata1 (section)                  0x1c        pics/gssapi_krb5.o
> .rodata1 (section)                  0x24        pics/gssapi_krb5.o
> .rodata1 (section)                  0x2c        pics/gssapi_krb5.o
> .
> .
> .
> ld: fatal: relocations remain against allocatable but non-writable sections
> 
> Why does non optimization create linking errors ? 

It shouldn't.  Is there a chance that your changes have
disabled the passing of "-K pic" to the compilation of
each object?


-- 
Rod

Reply via email to