* [Buildroot] [PATCH 1/1] haproxy: disable on sh4 with gcc < 7
@ 2019-01-28 19:07 Fabrice Fontaine
2019-01-28 21:07 ` Peter Korsgaard
2019-01-28 21:08 ` Peter Korsgaard
0 siblings, 2 replies; 4+ messages in thread
From: Fabrice Fontaine @ 2019-01-28 19:07 UTC (permalink / raw)
To: buildroot
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 <fontaine.fabrice@gmail.com>
---
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)
depends on BR2_USE_MMU # fork()
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # __sync_*_4 intrisics
help
--
2.14.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 1/1] haproxy: disable on sh4 with gcc < 7
2019-01-28 19:07 [Buildroot] [PATCH 1/1] haproxy: disable on sh4 with gcc < 7 Fabrice Fontaine
@ 2019-01-28 21:07 ` Peter Korsgaard
2019-01-28 21:08 ` Peter Korsgaard
1 sibling, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2019-01-28 21:07 UTC (permalink / raw)
To: buildroot
>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> 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 <fontaine.fabrice@gmail.com>
Committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 1/1] haproxy: disable on sh4 with gcc < 7
2019-01-28 19:07 [Buildroot] [PATCH 1/1] haproxy: disable on sh4 with gcc < 7 Fabrice Fontaine
2019-01-28 21:07 ` Peter Korsgaard
@ 2019-01-28 21:08 ` Peter Korsgaard
2019-01-28 21:10 ` Fabrice Fontaine
1 sibling, 1 reply; 4+ messages in thread
From: Peter Korsgaard @ 2019-01-28 21:08 UTC (permalink / raw)
To: buildroot
>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> 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 <fontaine.fabrice@gmail.com>
> ---
> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 1/1] haproxy: disable on sh4 with gcc < 7
2019-01-28 21:08 ` Peter Korsgaard
@ 2019-01-28 21:10 ` Fabrice Fontaine
0 siblings, 0 replies; 4+ messages in thread
From: Fabrice Fontaine @ 2019-01-28 21:10 UTC (permalink / raw)
To: buildroot
Dear Peter,
Le lun. 28 janv. 2019 ? 22:08, Peter Korsgaard <peter@korsgaard.com> a ?crit :
>
> >>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> 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 <fontaine.fabrice@gmail.com>
> > ---
> > 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?
Nope, I will test it and keep you informed of the results.
>
> --
> Bye, Peter Korsgaard
Best Regards,
Fabrice
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2019-01-28 21:10 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-28 19:07 [Buildroot] [PATCH 1/1] haproxy: disable on sh4 with gcc < 7 Fabrice Fontaine
2019-01-28 21:07 ` Peter Korsgaard
2019-01-28 21:08 ` Peter Korsgaard
2019-01-28 21:10 ` Fabrice Fontaine
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox