W dniu 2013-12-29 00:44, Guido Winkelmann pisze:
Hi Guido!

> Am Samstag, 28. Dezember 2013, 22:50:29 schrieb Marcin Mirosław:
>> W dniu 2013-12-28 17:56, Guido Winkelmann pisze:
>>> Hi Marcin,
>>>
>>> Am Samstag, 28. Dezember 2013, 17:00:24 schrieb Marcin Mirosław:
>>>> W dniu 2013-12-27 22:41, Guido Winkelmann pisze:
>>>> [...]
>>>>
>>>>> I'm using jabberd2 2.3.1 on Gentoo, installed from portage, and udns
>>>>> 0.2,
>>>>> both compiled with GCC 4.7.3. The problem also exists with udns 0.1 and
>>>>> GCC 4.5.4, though.
>>>>>
>>>>> Does anyone have any idea what might be the problem here?
>>>>
>>>> Hi!
>>>> Please look at https://bugs.gentoo.org/show_bug.cgi?id=400905 and
>>>> http://comments.gmane.org/gmane.network.jabber.jabberd2/1469
>>>
>>> I found that, but your workaround does not work for me.
>>>
>>>> What CFLAGS are you using?
>>>
>>> Just
>>> CFLAGS="-O2 -mcpu=ultrasparc -pipe"
>>
>> Could you test:
>> a) compile udns with CFLAGS="-O0"
> 
> It actually works with udns compiled with -O0. Thanks for the hint. I'l try 
> the other things later, but if udns doesn't work correctly with -O2, that's 
> probably a bug. I'll try the other things later.

Yes, it's bug but I'm not sure if it is bug in udns or in gcc. I'd like
to ask you for add comment to bug
https://bugs.gentoo.org/show_bug.cgi?id=400905 with your emerge --info.
It looks gcc's optimizer on SPARC, even with -O2, do something unwanted
in udns. Additionally I'll notify upstream.

Marcin



Reply via email to