* [Buildroot] [Bug 12711] New: host-localedef 2.30-20 fails to compile on fedora 32 (gcc 10.0.1)
@ 2020-03-27 13:56 bugzilla at busybox.net
2020-03-27 13:57 ` [Buildroot] [Bug 12711] " bugzilla at busybox.net
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: bugzilla at busybox.net @ 2020-03-27 13:56 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=12711
Bug ID: 12711
Summary: host-localedef 2.30-20 fails to compile on fedora 32
(gcc 10.0.1)
Product: buildroot
Version: 2020.02
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: unassigned at buildroot.uclibc.org
Reporter: ian_ormshaw at waters.com
CC: buildroot at uclibc.org
Target Milestone: ---
host-localedef 2.30-20 fails to compile on fedora 32 (gcc 10.0.1)
/home/ian/build/hiwire-linux-c38cdaa1-x86_64/buildroot/host/bin/ccache
/usr/lib64/ccache/gcc programs/ld-ctype.c -c -std=gnu11 -fgnu89-inline -O2
-Wall -Wwrite-strings -Wundef -Werror -fmerge-all-constants -frounding-math
-fno-stack-protector -Wstrict-prototypes -Wold-style-definition -fmath-errno
-I/home/ian/build/hiwire-linux-c38cdaa1-x86_64/buildroot/host/include
-DCOMPLOCALEDIR='"/usr/lib/locale"' -DLOCALE_ALIAS_PATH='"/usr/share/locale"'
-Iprograms -I../include
-I/home/ian/build/hiwire-linux-c38cdaa1-x86_64/buildroot/build/host-localedef-2.30-20-g50f20fe506abb8853641006a7b90a81af21d7b91/build/locale
-I/home/ian/build/hiwire-linux-c38cdaa1-x86_64/buildroot/build/host-localedef-2.30-20-g50f20fe506abb8853641006a7b90a81af21d7b91/build
-I../sysdeps/unix/sysv/linux/x86_64/64 -I../sysdeps/unix/sysv/linux/x86_64
-I../sysdeps/unix/sysv/linux/x86/include -I../sysdeps/unix/sysv/linux/x86
-I../sysdeps/x86/nptl -I../sysdeps/unix/sysv/linux/wordsize-64
-I../sysdeps/x86_64/nptl -I../sysdeps/unix/sysv/linux/include
-I../sysdeps/unix/sysv/linux -I../sysdeps/nptl -I../sysdeps/pthread
-I../sysdeps/gnu -I../sysdeps/unix/inet -I../sysdeps/unix/sysv
-I../sysdeps/unix/x86_64 -I../sysdeps/unix -I../sysdeps/posix
-I../sysdeps/x86_64/64 -I../sysdeps/x86_64/fpu/multiarch
-I../sysdeps/x86_64/fpu -I../sysdeps/x86/fpu/include -I../sysdeps/x86/fpu
-I../sysdeps/x86_64/multiarch -I../sysdeps/x86_64 -I../sysdeps/x86
-I../sysdeps/ieee754/float128 -I../sysdeps/ieee754/ldbl-96/include
-I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64/wordsize-64
-I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32
-I../sysdeps/wordsize-64 -I../sysdeps/ieee754 -I../sysdeps/generic -I..
-I../libio -I. -D_LIBC_REENTRANT -include
/home/ian/build/hiwire-linux-c38cdaa1-x86_64/buildroot/build/host-localedef-2.30-20-g50f20fe506abb8853641006a7b90a81af21d7b91/build/libc-modules.h
-DMODULE_NAME=locale_programs -include ../include/libc-symbols.h
-DLOCALE_PATH='"/usr/lib/locale:/usr/share/i18n"'
-DCHARMAP_PATH='"/usr/share/i18n/charmaps"'
-DREPERTOIREMAP_PATH='"/usr/share/i18n/repertoiremaps"'
-DLOCSRCDIR='"/usr/share/i18n/locales"' -DTOP_NAMESPACE=glibc -o
/home/ian/build/hiwire-linux-c38cdaa1-x86_64/buildroot/build/host-localedef-2.30-20-g50f20fe506abb8853641006a7b90a81af21d7b91/build/locale/ld-ctype.o
-MD -MP -MF
/home/ian/build/hiwire-linux-c38cdaa1-x86_64/buildroot/build/host-localedef-2.30-20-g50f20fe506abb8853641006a7b90a81af21d7b91/build/locale/ld-ctype.o.dt
-MT
/home/ian/build/hiwire-linux-c38cdaa1-x86_64/buildroot/build/host-localedef-2.30-20-g50f20fe506abb8853641006a7b90a81af21d7b91/build/locale/ld-ctype.o
programs/ld-ctype.c: In function ?ctype_finish?:
programs/ld-ctype.c:855:18: error: array subscript 0 is outside the bounds of
an interior zero-length array ?unsigned char[0]? [-Werror=zero-length-bounds]
855 | replace[0].bytes[0] = '?';
| ~~~~~~~~~~~~~~~~^~~
In file included from programs/repertoire.h:24,
from programs/localedef.h:32,
from programs/ld-ctype.c:35:
programs/charmap.h:63:17: note: while referencing ?bytes?
63 | unsigned char bytes[0];
| ^~~~~
programs/ld-ctype.c:856:18: error: array subscript 1 is outside the bounds of
an interior zero-length array ?unsigned char[0]? [-Werror=zero-length-bounds]
856 | replace[0].bytes[1] = '\0';
| ~~~~~~~~~~~~~~~~^~~
In file included from programs/repertoire.h:24,
from programs/localedef.h:32,
from programs/ld-ctype.c:35:
programs/charmap.h:63:17: note: while referencing ?bytes?
63 | unsigned char bytes[0];
| ^~~~~
cc1: all warnings being treated as errors
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [Bug 12711] host-localedef 2.30-20 fails to compile on fedora 32 (gcc 10.0.1)
2020-03-27 13:56 [Buildroot] [Bug 12711] New: host-localedef 2.30-20 fails to compile on fedora 32 (gcc 10.0.1) bugzilla at busybox.net
@ 2020-03-27 13:57 ` bugzilla at busybox.net
2020-03-28 8:56 ` bugzilla at busybox.net
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: bugzilla at busybox.net @ 2020-03-27 13:57 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=12711
Dr I J Ormshaw <ian_ormshaw@waters.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Hardware|All |PC
Target| |x86_64
Host| |x86_64
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [Bug 12711] host-localedef 2.30-20 fails to compile on fedora 32 (gcc 10.0.1)
2020-03-27 13:56 [Buildroot] [Bug 12711] New: host-localedef 2.30-20 fails to compile on fedora 32 (gcc 10.0.1) bugzilla at busybox.net
2020-03-27 13:57 ` [Buildroot] [Bug 12711] " bugzilla at busybox.net
@ 2020-03-28 8:56 ` bugzilla at busybox.net
2020-03-28 22:09 ` bugzilla at busybox.net
2020-03-29 14:21 ` bugzilla at busybox.net
3 siblings, 0 replies; 5+ messages in thread
From: bugzilla at busybox.net @ 2020-03-28 8:56 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=12711
Yann E. MORIN <yann.morin.1998@free.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |yann.morin.1998 at free.fr
--- Comment #1 from Yann E. MORIN <yann.morin.1998@free.fr> ---
Ian, All,
You may want to backport this upstream commit:
https://sourceware.org/git/?p=glibc.git;a=commit;h=1471fa556afb428c4a4c46cf5543a4101d5bcf91
Care to test on your side, and then send us a patch?
Regards,
Yann E, MORIN.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [Bug 12711] host-localedef 2.30-20 fails to compile on fedora 32 (gcc 10.0.1)
2020-03-27 13:56 [Buildroot] [Bug 12711] New: host-localedef 2.30-20 fails to compile on fedora 32 (gcc 10.0.1) bugzilla at busybox.net
2020-03-27 13:57 ` [Buildroot] [Bug 12711] " bugzilla at busybox.net
2020-03-28 8:56 ` bugzilla at busybox.net
@ 2020-03-28 22:09 ` bugzilla at busybox.net
2020-03-29 14:21 ` bugzilla at busybox.net
3 siblings, 0 replies; 5+ messages in thread
From: bugzilla at busybox.net @ 2020-03-28 22:09 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=12711
--- Comment #2 from Peter Seiderer <ps.report@gmx.net> ---
Suggested patch available [1]...
[1] https://patchwork.ozlabs.org/patch/1263328
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [Bug 12711] host-localedef 2.30-20 fails to compile on fedora 32 (gcc 10.0.1)
2020-03-27 13:56 [Buildroot] [Bug 12711] New: host-localedef 2.30-20 fails to compile on fedora 32 (gcc 10.0.1) bugzilla at busybox.net
` (2 preceding siblings ...)
2020-03-28 22:09 ` bugzilla at busybox.net
@ 2020-03-29 14:21 ` bugzilla at busybox.net
3 siblings, 0 replies; 5+ messages in thread
From: bugzilla at busybox.net @ 2020-03-29 14:21 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=12711
Yann E. MORIN <yann.morin.1998@free.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #3 from Yann E. MORIN <yann.morin.1998@free.fr> ---
Fixed with commit 13cc36dcfe from Peter, thanks.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2020-03-29 14:21 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-27 13:56 [Buildroot] [Bug 12711] New: host-localedef 2.30-20 fails to compile on fedora 32 (gcc 10.0.1) bugzilla at busybox.net
2020-03-27 13:57 ` [Buildroot] [Bug 12711] " bugzilla at busybox.net
2020-03-28 8:56 ` bugzilla at busybox.net
2020-03-28 22:09 ` bugzilla at busybox.net
2020-03-29 14:21 ` bugzilla at busybox.net
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.