diff options
author | Chris Packham <judge.packham@gmail.com> | 2020-09-03 21:25:09 +1200 |
---|---|---|
committer | Chris Packham <judge.packham@gmail.com> | 2020-09-03 22:47:02 +1200 |
commit | 645ee12492274dcdfcbfbd53fcec00b9c722bc33 (patch) | |
tree | 7786f5db58454d38a4952386419451d573bb22c4 /packages/binutils/2.24/0025-Fix-a-missing-include-of-string.patch | |
parent | 4e5bc43627582b11f11ebc1cedcfd1016f39c60e (diff) | |
download | crosstool-ng-645ee12492274dcdfcbfbd53fcec00b9c722bc33.tar.gz crosstool-ng-645ee12492274dcdfcbfbd53fcec00b9c722bc33.tar.bz2 crosstool-ng-645ee12492274dcdfcbfbd53fcec00b9c722bc33.zip |
glibc: Don't build with -Werror for powerpc64+glibc-2.32
When building powerpc64+glibc-2.32 we see the following error:
[ALL ] In file included from ../sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c:26,
[ALL ] from ../sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c:18:
[ALL ] ../string/wordcopy.c: In function '_wordcopy_fwd_aligned':
[ERROR] ../string/wordcopy.c:98:26: error: 'a1' may be used uninitialized in this function [-Werror=maybe-uninitialized]
[ALL ] 98 | ((op_t *) dstp)[0] = a1;
[ALL ] | ~~~~~~~~~~~~~~~~~~~^~~~
[ALL ] In file included from ../sysdeps/powerpc/powerpc64/power4/../../powerpc32/power4/memcopy.h:38,
[ALL ] from ../sysdeps/powerpc/powerpc64/power4/memcopy.h:1,
[ALL ] from ../string/wordcopy.c:23,
[ALL ] from ../sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c:26,
[ALL ] from ../sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c:18:
[ALL ] ../string/wordcopy.c: In function '_wordcopy_fwd_dest_aligned':
[ERROR] ../sysdeps/generic/memcopy.h:72:61: error: 'a3' may be used uninitialized in this function [-Werror=maybe-uninitialized]
[ALL ] 72 | #define MERGE(w0, sh_1, w1, sh_2) (((w0) << (sh_1)) | ((w1) >> (sh_2)))
[ALL ] | ^~
This seems to only trigger for powerpc64. Other architectures build
cleanly. For now avoid specifying -Werror for powerpc64+glibc-2.32.
Signed-off-by: Chris Packham <judge.packham@gmail.com>
Diffstat (limited to 'packages/binutils/2.24/0025-Fix-a-missing-include-of-string.patch')
0 files changed, 0 insertions, 0 deletions