极客工坊

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2474|回复: 2

mac版使用失败

[复制链接]
发表于 2018-3-25 14:49:56 | 显示全部楼层 |阅读模式
刚买个几块ocrobot的板子玩,觉得应该很不错
安装过程是都是按照官网要求做的,但是一直无法编译,求解
屏幕快照 2018-03-25 13.21.32.png
回复

使用道具 举报

 楼主| 发表于 2018-3-25 14:51:18 | 显示全部楼层
failed MSpanList_Insert 0x30c000 0xa2c8ac040862 0x0
fatal error: MSpanList_Insert

runtime stack:
runtime.throw(0x2ac50b)
        /usr/local/go/src/runtime/panic.go:491 +0xad fp=0x7ffeefbff3d0 sp=0x7ffeefbff3a0
runtime.MSpanList_Insert(0x2ca128, 0x30c000)
        /usr/local/go/src/runtime/mheap.c:692 +0x8f fp=0x7ffeefbff3f8 sp=0x7ffeefbff3d0
MHeap_FreeSpanLocked(0x2c6d20, 0x30c000, 0x100)
        /usr/local/go/src/runtime/mheap.c:583 +0x163 fp=0x7ffeefbff438 sp=0x7ffeefbff3f8
MHeap_Grow(0x2c6d20, 0x8, 0x0)
        /usr/local/go/src/runtime/mheap.c:420 +0x1a8 fp=0x7ffeefbff478 sp=0x7ffeefbff438
MHeap_AllocSpanLocked(0x2c6d20, 0x1, 0x0)
        /usr/local/go/src/runtime/mheap.c:298 +0x365 fp=0x7ffeefbff4b8 sp=0x7ffeefbff478
mheap_alloc(0x2c6d20, 0x1, 0x12, 0x0)
        /usr/local/go/src/runtime/mheap.c:190 +0x121 fp=0x7ffeefbff4e0 sp=0x7ffeefbff4b8
runtime.MHeap_Alloc(0x2c6d20, 0x1, 0x10000000012, 0xf989)
        /usr/local/go/src/runtime/mheap.c:240 +0x66 fp=0x7ffeefbff518 sp=0x7ffeefbff4e0
MCentral_Grow(0x2cea98, 0x0)
        /usr/local/go/src/runtime/mcentral.c:197 +0x8b fp=0x7ffeefbff580 sp=0x7ffeefbff518
runtime.MCentral_CacheSpan(0x2cea98, 0x0)
        /usr/local/go/src/runtime/mcentral.c:85 +0x167 fp=0x7ffeefbff5b8 sp=0x7ffeefbff580
runtime.MCache_Refill(0x308000, 0x12, 0x0)
        /usr/local/go/src/runtime/mcache.c:90 +0xa0 fp=0x7ffeefbff5e0 sp=0x7ffeefbff5b8
runtime.mcacheRefill_m()
        /usr/local/go/src/runtime/malloc.c:368 +0x57 fp=0x7ffeefbff600 sp=0x7ffeefbff5e0
runtime.onM(0x223ad0)
        /usr/local/go/src/runtime/asm_amd64.s:273 +0x9a fp=0x7ffeefbff608 sp=0x7ffeefbff600
runtime.mallocgc(0x120, 0x1bde40, 0x0, 0x0)
        /usr/local/go/src/runtime/malloc.go:178 +0x849 fp=0x7ffeefbff6b8 sp=0x7ffeefbff608
runtime.newobject(0x1bde40, 0x308000)
        /usr/local/go/src/runtime/malloc.go:353 +0x49 fp=0x7ffeefbff6e0 sp=0x7ffeefbff6b8
runtime.newG(0x276ba)
        /usr/local/go/src/runtime/proc.go:233 +0x2a fp=0x7ffeefbff6f8 sp=0x7ffeefbff6e0
allocg(0x2b9660)
        /usr/local/go/src/runtime/proc.c:925 +0x1f fp=0x7ffeefbff708 sp=0x7ffeefbff6f8
runtime.malg(0x8000, 0x2b9700)
        /usr/local/go/src/runtime/proc.c:2106 +0x1f fp=0x7ffeefbff738 sp=0x7ffeefbff708
runtime.mpreinit(0x2b9ac0)
        /usr/local/go/src/runtime/os_darwin.c:137 +0x27 fp=0x7ffeefbff750 sp=0x7ffeefbff738
mcommoninit(0x2b9ac0)
        /usr/local/go/src/runtime/proc.c:201 +0xc9 fp=0x7ffeefbff778 sp=0x7ffeefbff750
runtime.schedinit()
        /usr/local/go/src/runtime/proc.c:138 +0x55 fp=0x7ffeefbff7a0 sp=0x7ffeefbff778
runtime.rt0_go(0x7ffeefbff7d8, 0x18, 0x7ffeefbff7d8, 0x0, 0x0, 0x18, 0x7ffeefbff9a0, 0x7ffeefbff9d8, 0x7ffeefbff9e4, 0x7ffeefbff9f4, ...)
        /usr/local/go/src/runtime/asm_amd64.s:95 +0x116 fp=0x7ffeefbff7a8 sp=0x7ffeefbff7a0
arduino-builder 返回 2

为开发板 OCROBOT LGT8F328P-LQFP32 编译时出错。
回复 支持 反对

使用道具 举报

发表于 2018-3-26 18:02:14 | 显示全部楼层
使用0.1.2,如果0.1.2在MAC下无法使用呢,因为OS升级到13后底层改动太大,IDE需要更新编译链重新编译。现在编译链还有问题,可以尝试使用windows版本
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|联系我们|极客工坊 ( 浙ICP备09023225号 )

GMT+8, 2019-7-16 23:02 , Processed in 0.046074 second(s), 27 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表