From: Peter Korsgaard Date: Mon, 28 Jan 2019 22:08:28 +0100 Subject: [Buildroot] [PATCH 1/1] haproxy: disable on sh4 with gcc < 7 In-Reply-To: <20190128190702.7157-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Mon, 28 Jan 2019 20:07:02 +0100") References: <20190128190702.7157-1-fontaine.fabrice@gmail.com> Message-ID: <878sz4cwxf.fsf@dell.be.48ers.dk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net >>>>> "Fabrice" == Fabrice Fontaine writes: > Build fails on sh4: > src/dns.c:290:1: error: unable to find a register to spill in class 'R0_REGS' > } > This build failure seems related to a known gcc bug that has been fixed > only in gcc 7: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60040 > Fixes: > - http://autobuild.buildroot.org/results/2e181cc874d5389f10ecddb0d11253c3aa5e7fc4 > Signed-off-by: Fabrice Fontaine > --- > package/haproxy/Config.in | 2 ++ > 1 file changed, 2 insertions(+) > diff --git a/package/haproxy/Config.in b/package/haproxy/Config.in > index cbcbc0c388..78cbf6e103 100644 > --- a/package/haproxy/Config.in > +++ b/package/haproxy/Config.in > @@ -1,5 +1,7 @@ > config BR2_PACKAGE_HAPROXY > bool "haproxy" > + # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60040 > + depends on !(BR2_sh4 && !BR2_TOOLCHAIN_GCC_AT_LEAST_7) Have you btw verified that this only happens on sh4 and not the other sh variants? -- Bye, Peter Korsgaard