2016-01-15 27 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的符號鏈接。