Subject: bug#39874: linux-libre-5.4.23 fails to build on armhf-linux

From: Marius Bakke <[email-masked]>
Date: Mon, 02 Mar 2020 23:06:47 +0100

Hello,

Currently 'linux-libre' fails to build on armhf-linux due to a
segmentation fault in GCC:

--8<---------------cut here---------------start------------->8---
  CC [M]  drivers/net/wireless/broadcom/b43/radio_2057.o
*** WARNING *** there are active plugins, do not report this as a bug unless you can reproduce it w
ithout enabling any plugins.
Event                            | Plugins
PLUGIN_FINISH_TYPE               | structleak_plugin
PLUGIN_ATTRIBUTES                | structleak_plugin
In file included from ./include/linux/mmzone.h:22:0,
                 from ./include/linux/gfp.h:6,
                 from ./include/linux/xarray.h:14,
                 from ./include/linux/radix-tree.h:18,
                 from ./include/linux/idr.h:15,
                 from ./include/linux/kernfs.h:13,
                 from ./include/linux/sysfs.h:16,
                 from ./include/linux/kobject.h:20,
                 from ./include/linux/pci.h:35,
                 from ./include/linux/bcma/bcma.h:5,
                 from drivers/net/wireless/broadcom/b43/b43.h:9,
                 from drivers/net/wireless/broadcom/b43/radio_2057.c:12:
./include/linux/page-flags.h: In function '__SetPageBuddy':
./include/linux/page-flags.h:741:53: internal compiler error: Segmentation fault
 static __always_inline void __SetPage##uname(struct page *page)  \
                                                     ^
./include/linux/page-flags.h:756:1: note: in expansion of macro 'PAGE_TYPE_OPS'
 PAGE_TYPE_OPS(Buddy, buddy)
 ^~~~~~~~~~~~~
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://gcc.gnu.org/bugs/> for instructions.
make[5]: *** [scripts/Makefile.build:266: drivers/net/wireless/broadcom/b43/radio_2057.o] Error 1
make[4]: *** [scripts/Makefile.build:509: drivers/net/wireless/broadcom/b43] Error 2
make[3]: *** [scripts/Makefile.build:509: drivers/net/wireless/broadcom] Error 2
make[2]: *** [scripts/Makefile.build:509: drivers/net/wireless] Error 2
--8<---------------cut here---------------end--------------->8---

Full log file:

https://ci.guix.gnu.org/log/bi9janc5n3jirwcm0qnm9jbf8rc4m0d3-linux-libre-5.4.23