diff options
author | fanquake <fanquake@gmail.com> | 2022-04-08 10:13:15 +0100 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2022-05-12 08:21:15 +0100 |
commit | c9c5b3060d2edb47ebfa7974fdde3154036717c2 (patch) | |
tree | 63f3d3a6b2b78956e762242817f3082b4563ed80 /contrib/zmq | |
parent | e3bab43329e78e93e13b8f55330b183c3a3c954e (diff) | |
download | bitcoin-c9c5b3060d2edb47ebfa7974fdde3154036717c2.tar.xz |
guix: compile glibc without -werror
Compiling glibc 2.24 and 2.27 with the new GCC 10 results in a number of new warnings,
i.e:
```bash
libc-tls.c: In function ‘__libc_setup_tls’:
libc-tls.c:208:30: error: array subscript 1 is outside the bounds of an interior zero-length array ‘struct dtv_slotinfo[0]’ [-Werror=zero-length-bounds]
208 | static_slotinfo.si.slotinfo[1].map = main_map;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
In file included from ../sysdeps/x86_64/ldsodefs.h:54,
from ../sysdeps/gnu/ldsodefs.h:46,
from ../sysdeps/unix/sysv/linux/ldsodefs.h:25,
from libc-tls.c:20:
../sysdeps/generic/ldsodefs.h:398:7: note: while referencing ‘slotinfo’
398 | } slotinfo[0];
| ^~~~~~~~
```
While we could try and backport all the patches required to fix these up, it would
currently seem easier to disable -Werror, which Guix uses by default when building
glibc.
Diffstat (limited to 'contrib/zmq')
0 files changed, 0 insertions, 0 deletions