Open matthijskooijman opened 6 years ago
OSX 10.7 compile target is being deprecated by Apple (and a binary compiled on 10.7 does not run on Sierra/High Sierra). Since clang
does not support 10.7 anymore we are going to make 10.8 the minimum compatible version anyway in the next release.
The "core" issue is a bit different since you can update it besides the actual IDE version, maybe it could be a good idea to mark AVR core 1.6.11 "sticky" if the OSX version is older than 10.8
See below for a full log and the error message. It seems ld completely fails, this was while compiling the Blink example, using Arduino 1.8.5. I considered trying the beta build, but that says it needs Mountain Lion (10.8) or higher.
Unfortunately, this was not on my own machine (but someone in a workshop today), so I do not have access to this machine for further testing.
@per1234 previously suggested to downgrade the AVR boards to 1.6.11, which does not have LTO support, which worked on this machine too.
Here's another mention of this issue: https://www.reddit.com/r/arduino/comments/56yn3b/zero_experience_guy_needs_help_im_brand_new_to/
This issue suggests this is because the application is compiled for a too new OSX version. This issue suggests a too old XCode version (but I couldn't try installing or upgrading Xcode).