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. > b) do: CFLAGS="-Os -fpeel-loops" ebuild > /usr/portage/net-libs/udns/udns-0.2.ebuild clean compile && cd > /var/tmp/portage/net-libs/udns-0.2/work/udns-0.2 && make && ./dnsget -t > srv _xmpp-server._tcp.jabber.org > c) do in udns-0.2 workdir: make clean && CFLAGS="-O2 -mcpu=ultrasparc > -pipe" ./configure && make && ./dnsget -t srv _xmpp-server._tcp.jabber.org > and next: > d) make clean && CFLAGS="-O0 -mcpu=ultrasparc -pipe" ./configure && make > && ./dnsget -t srv _xmpp-server._tcp.jabber.org > > Marcin