On Fri, Oct 23, 2009 at 04:21:49PM -0700, 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 ? 

How did you compile?  Did you compile exactly as I suggested earlier?

-- 
Will Fiveash
Sun Microsystems Inc.
http://opensolaris.org/os/project/kerberos/
Sent from mutt, a sweet ASCII MUA
_______________________________________________
tools-discuss mailing list
[email protected]

Reply via email to