gnu: gcc-5: Fix powerpc64le-linux build
authorThiago Jung Bauermann <bauermann@kolabnow.com>
Thu, 5 Aug 2021 16:19:43 +0000 (13:19 -0300)
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>
Thu, 11 Nov 2021 15:31:31 +0000 (10:31 -0500)
commitb04a20f77fe3863931de273490d75371561d4e51
tree069c2bf37e28078a4c7ce52f45a3e173ccd743b8
parent460d6aca0c9a8f8443d50e5a5cf2bf9841bcc559
gnu: gcc-5: Fix powerpc64le-linux build

GCC 5 has a misaligned access to a vector pointer which causes a build failure
when using GCC 8 and later.  Backport upstream fix that was applied on the GCC
6 branch.

* gnu/packages/gcc.scm (gcc-5)[source]: Apply
gcc-5-fix-powerpc64le-build.patch.
* gnu/packages/patches/gcc-5-fix-powerpc64le-build.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
gnu/local.mk
gnu/packages/gcc.scm
gnu/packages/patches/gcc-5-fix-powerpc64le-build.patch [new file with mode: 0644]