cancel
Showing results for 
Search instead for 
Did you mean: 

Wi-Fi Combo

user_2177781
Valued Contributor

Hello,

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 3.7.0.3 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?

Regards

René Josefsen

0 Likes
3 Replies
MichaelF_56
Moderator
Moderator

jaeyoung​ on the applications team will give this a try and see if she can reproduce the problem on her Mac.

0 Likes
user_2177781
Valued Contributor

Great, for information I'm currently running 10.12.2 Beta (16C48b)

Regards

René Josefsen

0 Likes
user_2177781
Valued Contributor

I have managed to get it to work with the https://launchpad.net/gcc-arm-embedded ​ tool chain, I needed to use the 4.9 version and create specific make targets that uses this specific version. Now I can compile my code.

Regards