[Buildroot] [PATCH v2] gpsd: add work-around and re-enable for microblaze
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Sun Nov 22 12:57:32 UTC 2015
Dear Sergio Prado,
On Sun, 22 Nov 2015 10:24:00 -0200, Sergio Prado wrote:
> Fix (works around) bug #6872
> https://bugs.busybox.net/show_bug.cgi?id=6872
>
> The gpsd package was disabled due to an internal compiler error for
> the microblaze architecture in the following commit:
> http://git.buildroot.net/buildroot/commit/?id=d517415bcda380336f4a27bf248cef4d81791c9e
>
> The problem is due to an specific GCC optimization flag
> (-fexpensive-optimizations), so disabling it we can work around this
> problem and compile gpsd for the microblaze architecture.
>
> Signed-off-by: Sergio Prado <sergio.prado at e-labworks.com>
> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>
> ---
> Changes v1 -> v2:
> - added a comment explaining why we are disabling the optimization flag.
> ---
> package/gpsd/Config.in | 3 ---
> package/gpsd/gpsd.mk | 8 +++++++-
> package/sconeserver/Config.in | 2 --
> 3 files changed, 7 insertions(+), 6 deletions(-)
Applied to master, thanks. Could you test with gcc 5.x, and if the
problem still exists, report a bug to the gcc bug tracker ? While your
workaround is OK, it is not good for gcc to fail this way when building
gpsd.
Thanks a lot!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
More information about the buildroot
mailing list