2016-01-15 28 views
1

我的命令编译WICED SDK 3.5.2的例子: ./make snip.scan-BCM943362WCD4 它表明这个错误:错误构建〔实施例

MAKEFILE MAKECMDGOALS=snip.scan-BCM943362WCD4 OTA2_SUPPORT is disabled 
Building Bootloader 
WICED/platform/GCC/math_newlib.c: In function 'sin': 
WICED/platform/GCC/math_newlib.c:30:5: internal compiler error: Illegal instruction 
    x -= ((int) (x/(2 * PI))) * 2 * PI; 
    ^
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-BCM943362WCD4/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 

我应该尝试修理它? thk

+0

mabye这可以帮助你:http://stackoverflow.com/questions/16526493/what-is-this-gcc-error-on-linux-and-how-do-i-solve-it-gcc-internal-编译器-e – Naytzyrhc

+0

尝试更新gcc,如果这不起作用,请按照说明进行操作。 –

回答

-1

我在64位Linux系统上遇到了这个问题。这意味着捆绑的GNU工具链中的“as”或其他工具遇到非法指令。

所以他们已经建立了一个新的主机CPU比你碰巧有。我设法通过移动工具/ ARM_GNU/bin/Linux64来避开它,然后创建从Linux64到Linux32的符号链接。