gcc4.8 linaro fix