Bug#916779: libc6-armhf-cross: strerror(-3) sets errno to ENOMEM

2018-12-22 Thread Aurelien Jarno
control: clone 916779 -1 control: reassign -1 gcc-8 control: retitle -1 gcc-8: --fno-math-errno causes GCC to consider that malloc does not set errno control: submitted -1 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88576 On 2018-12-22 13:37, Aurelien Jarno wrote: > This is not what happens,

Processed (with 1 error): Re: Bug#916779: libc6-armhf-cross: strerror(-3) sets errno to ENOMEM

2018-12-22 Thread Debian Bug Tracking System
Processing control commands: > clone 916779 -1 Bug #916779 [libc6-armhf-cross] libc6-armhf-cross: strerror(-3) sets errno to ENOMEM Bug 916779 cloned as bug 917115 > reassign -1 gcc-8 Bug #917115 [libc6-armhf-cross] libc6-armhf-cross: strerror(-3) sets errno to ENOMEM Bug reassigne

Bug#916779: libc6-armhf-cross: strerror(-3) sets errno to ENOMEM

2018-12-22 Thread Aurelien Jarno
On 2018-12-22 19:42, Tim Rühsen wrote: > On 22.12.18 16:56, Aurelien Jarno wrote: > > The problem is that qemu-arm does not provide a heap to the program, so > > glibc fails to alloc memory through brk. This causes malloc to switch to > > mmap based memory allocation, and this also sets errno to

Bug#916779: libc6-armhf-cross: strerror(-3) sets errno to ENOMEM

2018-12-22 Thread Tim Rühsen
On 22.12.18 16:56, Aurelien Jarno wrote: > On 2018-12-22 16:24, Tim Rühsen wrote: >> On 22.12.18 13:37, Aurelien Jarno wrote: >>> On 2018-12-21 12:58, Tim Rühsen wrote: On 12/21/18 12:09 PM, Aurelien Jarno wrote: > On 2018-12-21 11:51, Tim Rühsen wrote: >> On 12/19/18 12:55 AM,

Bug#916779: libc6-armhf-cross: strerror(-3) sets errno to ENOMEM

2018-12-22 Thread Aurelien Jarno
On 2018-12-22 16:24, Tim Rühsen wrote: > On 22.12.18 13:37, Aurelien Jarno wrote: > > On 2018-12-21 12:58, Tim Rühsen wrote: > >> On 12/21/18 12:09 PM, Aurelien Jarno wrote: > >>> On 2018-12-21 11:51, Tim Rühsen wrote: > On 12/19/18 12:55 AM, Aurelien Jarno wrote: > > On 2018-12-18 22:11,

Bug#916779: libc6-armhf-cross: strerror(-3) sets errno to ENOMEM

2018-12-22 Thread Tim Rühsen
On 22.12.18 13:37, Aurelien Jarno wrote: > On 2018-12-21 12:58, Tim Rühsen wrote: >> On 12/21/18 12:09 PM, Aurelien Jarno wrote: >>> On 2018-12-21 11:51, Tim Rühsen wrote: On 12/19/18 12:55 AM, Aurelien Jarno wrote: > On 2018-12-18 22:11, Aurelien Jarno wrote: >> On 2018-12-18 21:34,

Bug#916779: libc6-armhf-cross: strerror(-3) sets errno to ENOMEM

2018-12-22 Thread Aurelien Jarno
On 2018-12-21 12:19, Tim Rühsen wrote: > On 12/21/18 12:09 PM, Aurelien Jarno wrote: > > On 2018-12-21 11:51, Tim Rühsen wrote: > >> On 12/19/18 12:55 AM, Aurelien Jarno wrote: > >>> On 2018-12-18 22:11, Aurelien Jarno wrote: > On 2018-12-18 21:34, Aurelien Jarno wrote: > > Hi, > > >

Bug#916779: libc6-armhf-cross: strerror(-3) sets errno to ENOMEM

2018-12-22 Thread Aurelien Jarno
On 2018-12-21 12:58, Tim Rühsen wrote: > On 12/21/18 12:09 PM, Aurelien Jarno wrote: > > On 2018-12-21 11:51, Tim Rühsen wrote: > >> On 12/19/18 12:55 AM, Aurelien Jarno wrote: > >>> On 2018-12-18 22:11, Aurelien Jarno wrote: > On 2018-12-18 21:34, Aurelien Jarno wrote: > > Hi, > > >

Bug#916779: libc6-armhf-cross: strerror(-3) sets errno to ENOMEM

2018-12-21 Thread Tim Rühsen
On 12/21/18 12:09 PM, Aurelien Jarno wrote: > On 2018-12-21 11:51, Tim Rühsen wrote: >> On 12/19/18 12:55 AM, Aurelien Jarno wrote: >>> On 2018-12-18 22:11, Aurelien Jarno wrote: On 2018-12-18 21:34, Aurelien Jarno wrote: > Hi, > > On 2018-12-18 15:15, Tim Ruehsen wrote: >>

Bug#916779: libc6-armhf-cross: strerror(-3) sets errno to ENOMEM

2018-12-21 Thread Tim Rühsen
On 12/21/18 12:09 PM, Aurelien Jarno wrote: > On 2018-12-21 11:51, Tim Rühsen wrote: >> On 12/19/18 12:55 AM, Aurelien Jarno wrote: >>> On 2018-12-18 22:11, Aurelien Jarno wrote: On 2018-12-18 21:34, Aurelien Jarno wrote: > Hi, > > On 2018-12-18 15:15, Tim Ruehsen wrote: >>

Bug#916779: libc6-armhf-cross: strerror(-3) sets errno to ENOMEM

2018-12-21 Thread Aurelien Jarno
On 2018-12-21 11:51, Tim Rühsen wrote: > On 12/19/18 12:55 AM, Aurelien Jarno wrote: > > On 2018-12-18 22:11, Aurelien Jarno wrote: > >> On 2018-12-18 21:34, Aurelien Jarno wrote: > >>> Hi, > >>> > >>> On 2018-12-18 15:15, Tim Ruehsen wrote: > Package: libc6-armhf-cross > Version:

Bug#916779: libc6-armhf-cross: strerror(-3) sets errno to ENOMEM

2018-12-21 Thread Tim Rühsen
On 12/19/18 12:55 AM, Aurelien Jarno wrote: > On 2018-12-18 22:11, Aurelien Jarno wrote: >> On 2018-12-18 21:34, Aurelien Jarno wrote: >>> Hi, >>> >>> On 2018-12-18 15:15, Tim Ruehsen wrote: Package: libc6-armhf-cross Version: 2.28-2cross2 Severity: normal Dear Maintainer,

Bug#916779: libc6-armhf-cross: strerror(-3) sets errno to ENOMEM

2018-12-18 Thread Aurelien Jarno
On 2018-12-18 22:11, Aurelien Jarno wrote: > On 2018-12-18 21:34, Aurelien Jarno wrote: > > Hi, > > > > On 2018-12-18 15:15, Tim Ruehsen wrote: > > > Package: libc6-armhf-cross > > > Version: 2.28-2cross2 > > > Severity: normal > > > > > > Dear Maintainer, > > > > > > currently strerror(-3)

Bug#916779: libc6-armhf-cross: strerror(-3) sets errno to ENOMEM

2018-12-18 Thread Aurelien Jarno
On 2018-12-18 21:34, Aurelien Jarno wrote: > Hi, > > On 2018-12-18 15:15, Tim Ruehsen wrote: > > Package: libc6-armhf-cross > > Version: 2.28-2cross2 > > Severity: normal > > > > Dear Maintainer, > > > > currently strerror(-3) sets errno unexpectedly to ENOMEM (12). > > > > The expected errno

Bug#916779: libc6-armhf-cross: strerror(-3) sets errno to ENOMEM

2018-12-18 Thread Aurelien Jarno
Hi, On 2018-12-18 15:15, Tim Ruehsen wrote: > Package: libc6-armhf-cross > Version: 2.28-2cross2 > Severity: normal > > Dear Maintainer, > > currently strerror(-3) sets errno unexpectedly to ENOMEM (12). > > The expected errno value would be either EINVAL or not touching errno > at all. > >

Bug#916779: libc6-armhf-cross: strerror(-3) sets errno to ENOMEM

2018-12-18 Thread Tim Ruehsen
Package: libc6-armhf-cross Version: 2.28-2cross2 Severity: normal Dear Maintainer, currently strerror(-3) sets errno unexpectedly to ENOMEM (12). The expected errno value would be either EINVAL or not touching errno at all. This behavior is relatively new and causes some CI cross builds to