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/glibc | |
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/glibc')
-rw-r--r-- | packages/glibc/package.desc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/glibc/package.desc b/packages/glibc/package.desc index eba5f005..7a749881 100644 --- a/packages/glibc/package.desc +++ b/packages/glibc/package.desc @@ -3,6 +3,6 @@ repository='git git://sourceware.org/git/glibc.git' mirrors='$(CT_Mirrors GNU glibc)' # Cannot use MAJOR.MINOR as the relevant part because of 2.12: 2.12.2 was the most recent # bugfix release, but it didn't have glibc-ports released alongside it. -milestones='2.14 2.17 2.20 2.23 2.24 2.25 2.26 2.27 2.28 2.29 2.30' +milestones='2.14 2.17 2.20 2.23 2.24 2.25 2.26 2.27 2.28 2.29 2.30 2.32' archive_formats='.tar.xz .tar.bz2 .tar.gz' signature_format='packed/.sig' |