Newbie New Install on Mac - cannot compile

I am trying to get started with Arduino on a Macbook Pro, OSX Yosemite 10.10.5. When I try to compile even the simplest demo program like "blink" I get the following error message. It all works fine on my son's Windows-based PC laptop, just cannot get it to work on my Mac. Any ideas?


Arduino: 1.6.7 (Mac OS X), Board: "Arduino/Genuino Uno"

fatal error: runtime: bsdthread_register error

runtime stack:
/usr/local/go/src/runtime/panic.go:491 +0xad fp=0x7fff5fbff8a0 sp=0x7fff5fbff870
/usr/local/go/src/runtime/os_darwin.c:104 +0x70 fp=0x7fff5fbff8b8 sp=0x7fff5fbff8a0
/usr/local/go/src/runtime/proc.c:141 +0x5f fp=0x7fff5fbff8e0 sp=0x7fff5fbff8b8
runtime.rt0_go(0x7fff5fbff918, 0x14, 0x7fff5fbff918, 0x0, 0x0, 0x14, 0x7fff5fbffaa0, 0x7fff5fbffad8, 0x7fff5fbffae4, 0x7fff5fbffaf4, ...)
/usr/local/go/src/runtime/asm_amd64.s:95 +0x116 fp=0x7fff5fbff8e8 sp=0x7fff5fbff8e0
arduino-builder returned 2

Error compiling.

This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.

Try backing off to 1.6.5r5 for now and see if that works. Latest versions have some changes to the toolchain that have caused a lot of problems.

"Thanks for the recommendation. I loaded 1.6.5r5 and now it works, compiles properly and also communicates properly with the Arduino Uno.b :slight_smile: