3 Replies Latest reply on Nov 22, 2016 5:58 AM by user_2177781

    Illegal Instruction: 4 error with WICED 4.0 (Mac)




      I have been trying to get WICED Studio 4.0 running on my MacBook with Mac OS Sierra.


      I keep getting this error when I try to compile the scan snip.


      Building Bootloader

      WICED/platform/GCC/math_newlib.c: In function 'sin':

      WICED/platform/GCC/math_newlib.c:53:5: internal compiler error: Illegal instruction: 4

           x -= ( (int) ( x / ( 2 * PI ) ) ) * 2 * PI;


      libbacktrace could not find executable to open

      Please submit a full bug report,

      with preprocessed source if appropriate.

      See <http://gcc.gnu.org/bugs.html> for instructions.

      make[3]: *** [build/waf.bootloader-NoOS-KIG100_HW3/Modules/WICED/platform/GCC/math_newlib.o] Error 1

      make[3]: *** Waiting for unfinished jobs....

      make[2]: *** [main_app] Error 2

      make[1]: *** [bootloader] Error 2

      make: *** [main_app] Error 2


      The error has been discussed in other threads, but I have not been able to get any clear indication on how to fix this.


      ubuntu 16.04 x64 - WICED SDK math_newlib.c error workaround

      Illegal Instruction: 4 error on Mac OS X El Capitan with Wiced Wifi SDK 3.5.2


      Anybody which have experienced this error on Mac and has been able to fix it?



      René Josefsen