-
-
Notifications
You must be signed in to change notification settings - Fork 7k
1.6.1 Sketches fail to link with R_AVR_13_PCREL due to interrupt service routine too far for startup rjmp in vector #2752
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
Comments
Same here, quite big project (around 100k) and use PROGMEM and F() extensively. Error: |
This is really causing me a big problem. Is it an arduino problem a GCC problem? All that flash memory, and I can't use it. |
If your project does an extensive use of PROGMEM and it's not worth porting it to IDE 1.6.x, then you should really stick with 1.0.x. It will remain available for download, imho, forever, it just won't receive updates |
I did get some confirmation that this is a gcc bug and there's a patch. Not to try and figure out how to match my gcc. |
@ffissore, Thanks for your guidance. I've followed the directions at: When I try I tried installing the MinGW packages from within cygwin, but I end up with an executable called i686-w64-mingw32-gcc.exe edit1:
edit2: config.log has this:
|
This was bug 33698 in AVR C and was committed to avr-libc at revision 2473. |
Any update on this issue? |
There is an open bounty on this issue. First one that solves it opening a valid pull request wins 50$ |
Cristian, I'm not set up to build the IDE on Windows. Sorry, I'd love to test it. -Ryan |
Hi Ryan, |
Martino, Not only does it fix my problem, but my program is much smaller. It went -Ryan |
Fixed by #5021 |
This seems to be a duplicate of #1071 and #1901. Both of which are marked closed, but I'm experiencing this on 1.5.8, 1.6, 1.6.1 and the nightly as of 2015/03/11
I have two separate projects which are now getting this error when I try to compile. Both projects are big, run on a mega2560 and use PROGMEM and F() extensively. It was working this morning, but I must have added another F() and now it doesn't.
One of these projects will compile fine on 1.0.6. The projects are too big to post here, but I can provide a git link if you need it.
The text was updated successfully, but these errors were encountered: