mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-15 03:15:09 -05:00
7394e264fc
Works around <https://bugs.gnu.org/31708>. * gnu/packages/patches/perf-gcc-ice.patch: New patch. * gnu/packages/linux.scm (perf)[source]: Use it. * gnu/local.mk (dist_patch_DATA): Add it.
13 lines
516 B
Diff
13 lines
516 B
Diff
Work around this GCC ICE: <https://bugs.gnu.org/31708>.
|
|
|
|
--- linux-4.16.13/tools/perf/util/header.c 2018-06-04 11:30:39.368146035 +0200
|
|
+++ linux-4.16.13/tools/perf/util/header.c 2018-06-04 11:34:04.667212378 +0200
|
|
@@ -135,7 +135,7 @@ int do_write(struct feat_fd *ff, const v
|
|
int write_padded(struct feat_fd *ff, const void *bf,
|
|
size_t count, size_t count_aligned)
|
|
{
|
|
- static const char zero_buf[NAME_ALIGN];
|
|
+ static const char zero_buf[NAME_ALIGN] = { 0 };
|
|
int err = do_write(ff, bf, count);
|
|
|
|
if (!err)
|