Skip to content

Nightly build (fixing issues #2828, #2829, #2830) is not compiling sketches #2849

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
aveekbh opened this issue Mar 30, 2015 · 8 comments
Closed

Comments

@aveekbh
Copy link

aveekbh commented Mar 30, 2015

With the nightly build (2015-03-30), sketches fail to compile - even the bare minimum example. The error is:

avr-gcc: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found
compilation terminated.
Error compiling.

Platform: Ubuntu 14.10 x86_64 GNU/Linux
avr-gcc (GCC) 4.8.1

Verbose output added in http://pastebin.com/6DejC6LM

@aveekbh
Copy link
Author

aveekbh commented Mar 30, 2015

The verbise output in http://pastebin.com/6DejC6LM refers to /h/a - this was actually /home/<username>, which I edited out before uploading publicly..

@aveekbh
Copy link
Author

aveekbh commented Mar 30, 2015

Moving my ~/.arduino15 directory to force Arduino to create it afresh made no difference, sketches still don't compile.

The SHA256 sum of the nightly build download arduino-nightly-linux64.tar.xz is f39363dd2426ac11227ef7df5f22a6301c4bf1b417f6e5695f2e6c458ec1ebc7.

@ffissore
Copy link
Contributor

Yes, I fixed that in 1fcd6ff. The download server are pretty overloaded so the newer nightly (I manually started) is taking a bit to come up. Just wait a couple of hours

@ffissore ffissore self-assigned this Mar 30, 2015
@ffissore ffissore added Type: Bug OS: OSX Specific to the Mac OS X (macOS) version of the Arduino IDE labels Mar 30, 2015
@aveekbh
Copy link
Author

aveekbh commented Mar 30, 2015

Hello Federico

This showed up in Ubuntu. Perhaps that label should also be added?

@ffissore ffissore removed the OS: OSX Specific to the Mac OS X (macOS) version of the Arduino IDE label Mar 30, 2015
@ffissore
Copy link
Contributor

Right, sorry for having misread. Indeed, the problem is caused by a missing piece of the toolchain. Every toolchain has been updated and the next nightly bundles core 1.6.3, which is identical to 1.6.2 but depends on an updated gcc. Again, just wait a couple of hours. I'm monitoring the CI server: I'll keep you posted when the newest nightly is available

@ffissore
Copy link
Contributor

Nightly available, cores upgraded

@ffissore ffissore added the Waiting for feedback More information must be provided before we can proceed label Mar 31, 2015
@Pitel
Copy link
Contributor

Pitel commented Mar 31, 2015

It works for me.

(But I'm still affected by #2853 so I still can't upload.)

@aveekbh
Copy link
Author

aveekbh commented Mar 31, 2015

Looks like it's fixed now. I had to rename my ~/.arduino15 directory to get this to work - this forces Arduino IDE to re-generate this. The tools and hardware directory reside here now.

For the record, SHA256 sum of arduino-nightly-linux64.tar.xz is 32cbc18f3092ab6b283c49d44d07577e8ca8a294abd3efcbafa52c33c4bced2d

@aveekbh aveekbh closed this as completed Mar 31, 2015
@cmaglie cmaglie removed the Waiting for feedback More information must be provided before we can proceed label Oct 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants