[jadmin] Re: Jabberd-2.0.11 DNS issues (fwd)
Florian Echtler
floe at butterbrot.org
Wed Nov 8 08:39:13 CST 2006
>> One other possibility which comes to mind is agressive compiler
>> optimization; packet is never written to in _srv_rr and is marked const
>> in the definition of dn_expand, so the compiler _might_ silently change
>> that to a call-by-reference in order to save a copy operation. But I
>> admit that I'm really guessing hard here..
> As long as it is not static function, the compiler will have a hard work
> if it changes the signature of a function. Changing it would cause
> problems when the code object gets linked against another code object.
Well, a short look in the code shows that _srv_rr is a static function,
so that doesn't contradict my theory. My version of jabberd-2.0s11 was
compiled with "-O2 -march=pentium4 -pipe".
Maybe somebody whose version works could try to compile resolver again
with the above flags and look if it's still working? For the other way
round, you could try to find out your CFLAGS and post them..
Yours, Florian
More information about the JAdmin
mailing list