Can not compile code with SDK 3.1.1 on OS X Yosemite 10.10.2

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Just downloaded SDK 3.1.1 on MAC (OS X Yosemite 10.10.2)

Cannot build targets with following error, am I missing something simple?

Making .gdbinit

Building Bootloader

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

WICED/platform/GCC/math_newlib.c:30: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-NoNS-BCM943362WCD4-SDIO/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

0 Likes
2 Replies
Anonymous
Not applicable

older version of the sdk works though.  WICED-SDK-2.4.1

0 Likes

The Mac OSX version 10.10.2 is a developer release and is not public. The SDK is not verified for this release still. Could you try re installing and cleaning once, to see if the issue is reproducible. As you mentioned it works on 2.4.1 version and not 3.1.1 ..

thnx

vik86

0 Likes