Bug#757941: busybox-static: DNS resolver stopped working in busybox-static version 1.22.0-7

2014-09-21 Thread Diederik de Haas
On Tuesday 12 August 2014 21:46:43 Michael Tokarev wrote: Nope. This is getaddrinfo() function. So it is glibc, not gcc or optimization. getaddrinfo() does not work in jessie glibc when linked statically. It immediately returns Name or service not known (rc=-2) without trying to read

Bug#757941: busybox-static: DNS resolver stopped working in busybox-static version 1.22.0-7

2014-09-21 Thread Michael Tokarev
21.09.2014 17:19, Diederik de Haas wrote: On Tuesday 12 August 2014 21:46:43 Michael Tokarev wrote: Nope. This is getaddrinfo() function. So it is glibc, not gcc or optimization. getaddrinfo() does not work in jessie glibc when linked statically. It immediately returns Name or service not

Bug#757941: busybox-static: DNS resolver stopped working in busybox-static version 1.22.0-7

2014-09-21 Thread Diederik de Haas
On Sunday 21 September 2014 17:34:24 Michael Tokarev wrote: This _is_ a glibc problem, and it can be trivially demonstrated by writing a tiny program that calls, say, getaddrinfo() on its argument. When built statically it always returns NOTFOUND, without any attempt to load any nss modules

Bug#757941: busybox-static: DNS resolver stopped working in busybox-static version 1.22.0-7

2014-09-05 Thread Adam Richmond-Gordon
On Tue, 12 Aug 2014 19:31:12 +0200 Diederik de Haas didi.deb...@cknow.org wrote: On Tuesday 12 August 2014 21:16:06 Michael Tokarev wrote: Also, it is specific to amd64 arch, it does not happen on i386 (from 2 variants of x86 arches). It's not just limited to amd64, since I encountered the

Bug#757941: busybox-static: DNS resolver stopped working in busybox-static version 1.22.0-7

2014-08-12 Thread Diederik de Haas
Package: busybox-static Version: 1:1.22.0-8 Severity: important When trying to ping an address, like debian.org, with busybox-static you get a ping: bad address 'debian.org' error. I knew that version 1.22.0-6 of busybox-static was working, so I also downloaded version 1.22.0-7 and 1.22.0-8 and

Bug#757941: busybox-static: DNS resolver stopped working in busybox-static version 1.22.0-7

2014-08-12 Thread Michael Tokarev
Control: tag -1 + confirmed 12.08.2014 19:30, Diederik de Haas wrote: Package: busybox-static Version: 1:1.22.0-8 Severity: important When trying to ping an address, like debian.org, with busybox-static you get a ping: bad address 'debian.org' error. Yes, this is what we have. Current

Processed: Re: Bug#757941: busybox-static: DNS resolver stopped working in busybox-static version 1.22.0-7

2014-08-12 Thread Debian Bug Tracking System
Processing control commands: tag -1 + confirmed Bug #757941 [busybox-static] busybox-static: DNS resolver stopped working in busybox-static version 1.22.0-7 Added tag(s) confirmed. -- 757941: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=757941 Debian Bug Tracking System Contact

Bug#757941: busybox-static: DNS resolver stopped working in busybox-static version 1.22.0-7

2014-08-12 Thread Michael Tokarev
12.08.2014 21:16, Michael Tokarev wrote: jessie does not work. Also, it is specific to amd64 arch, it does not happen on i386 (from 2 variants of x86 arches). No, i386 jessie does not work too. It was a very old jessie32 chroot here where I tried to build it and it worked. So it looks like

Bug#757941: busybox-static: DNS resolver stopped working in busybox-static version 1.22.0-7

2014-08-12 Thread Diederik de Haas
On Tuesday 12 August 2014 21:16:06 Michael Tokarev wrote: Also, it is specific to amd64 arch, it does not happen on i386 (from 2 variants of x86 arches). It's not just limited to amd64, since I encountered the issue on raspbian for the Raspberry Pi, which is somewhere between armel and armhf.

Bug#757941: busybox-static: DNS resolver stopped working in busybox-static version 1.22.0-7

2014-08-12 Thread Cyril Brulebois
Michael Tokarev m...@tls.msk.ru (2014-08-12): Control: tag -1 + confirmed 12.08.2014 19:30, Diederik de Haas wrote: Package: busybox-static Version: 1:1.22.0-8 Severity: important When trying to ping an address, like debian.org, with busybox-static you get a ping: bad address

Bug#757941: busybox-static: DNS resolver stopped working in busybox-static version 1.22.0-7

2014-08-12 Thread Michael Tokarev
12.08.2014 21:34, Cyril Brulebois wrote: Smells like a possible compiler optimization bug? (The relevant code might be buggy and falling into undefined behaviour; meaning not a compiler bug.) Should be easy to check by building at -O0. Nope. This is getaddrinfo() function. So it is glibc,