* [Buildroot] [PATCH] gpsd: work-around ICE when compiling for microblaze with GCC5
@ 2015-11-22 15:43 Sergio Prado
2015-11-29 13:52 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Sergio Prado @ 2015-11-22 15:43 UTC (permalink / raw)
To: buildroot
GCC 5.X generates an ICE when compiling gpsd for microblaze due
to optimizations, so lets disable it for now to works around
this problem.
A bug was reported to the gcc bug tracker:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68485
Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
---
package/gpsd/gpsd.mk | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/package/gpsd/gpsd.mk b/package/gpsd/gpsd.mk
index aa35053baf09..d603ba5c96c8 100644
--- a/package/gpsd/gpsd.mk
+++ b/package/gpsd/gpsd.mk
@@ -39,8 +39,10 @@ GPSD_SCONS_OPTS += libgpsmm=no
endif
# prevents from triggering GCC ICE
+# A bug was reported to the gcc bug tracker:
+# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68485
ifeq ($(BR2_microblaze),y)
-GPSD_CFLAGS += -fno-expensive-optimizations
+GPSD_CFLAGS += -fno-expensive-optimizations -fno-schedule-insns
endif
# Enable or disable Qt binding
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH] gpsd: work-around ICE when compiling for microblaze with GCC5
2015-11-22 15:43 [Buildroot] [PATCH] gpsd: work-around ICE when compiling for microblaze with GCC5 Sergio Prado
@ 2015-11-29 13:52 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2015-11-29 13:52 UTC (permalink / raw)
To: buildroot
Dear Sergio Prado,
On Sun, 22 Nov 2015 13:43:24 -0200, Sergio Prado wrote:
> GCC 5.X generates an ICE when compiling gpsd for microblaze due
> to optimizations, so lets disable it for now to works around
> this problem.
>
> A bug was reported to the gcc bug tracker:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68485
>
> Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
> ---
> package/gpsd/gpsd.mk | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-11-29 13:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-22 15:43 [Buildroot] [PATCH] gpsd: work-around ICE when compiling for microblaze with GCC5 Sergio Prado
2015-11-29 13:52 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox