(
Jump to the original submission)
Fri 22 May 2015 11:41:43 PM UTC, comment #9:
Do you plan to make a new release compatible with gcc-5.1?
|
Thu 07 May 2015 06:53:05 AM UTC, comment #8:
Patch modified to check GCC version "5.1.0" or greater.
Committed.
http://svn.savannah.nongnu.org/viewvc?view=rev&root=avr-libc&revision=2475
|
Tue 28 Apr 2015 10:43:11 AM UTC, comment #7:
Attached a patch to auto-detect compiler version and install crt and device lib in required directory.
discussion thread:
http://lists.nongnu.org/archive/html/avr-libc-dev/2015-04/msg00020.html
(file #33821)
|
Fri 24 Apr 2015 03:34:23 PM UTC, comment #6:
Okay, I believe the official answer is that we all need to wait for gcc-5.2 that will work with avr-libc correctly.
Do you plan to make a new avr-libc release at the tme of gcc-5.2? Or it is expected that 1.8.1 is going to work with gcc-5.2 correctly?
|
Fri 24 Apr 2015 08:36:45 AM UTC, comment #5:
The GCC 5 release notes say that when avr-gcc is used together with AVR-LibC, that requires at least avr-gcc 5.2:
https://gcc.gnu.org/gcc-5/changes.html
|
Fri 24 Apr 2015 04:45:39 AM UTC, comment #4:
For gcc-5.1, Please use avr-libc svn revision 2473 as mentioned by GJL in previous comment.
GCC 5.1 Successful build by Ralph Doncaster
https://gcc.gnu.org/ml/gcc/2015-04/msg00215.html
AVR-LibC trunk (r2474 or newer) works with gcc-trunk. Work in progress to make AVR-LibC work with older and newer versions of gcc.
|
Fri 24 Apr 2015 04:15:37 AM UTC, comment #3:
Having the same problem with gcc 5.1.0 sources as the previous poster. I tried the latest gcc-6 snapshot (under the assumption that this is what Georg-Johann means by "avr-gcc 5.2" as I can find no other mention of such a version number online), and couldn't get it to build (I get a segfault in gen-avr-mmcu-specs, but that's a bug report for them), so I cannot confirm that this problem is fixed in a newer version of gcc. System is OS X Yosemite 10.10.3, with most recent vendor toolchain (based on LLVM 3.6.0svn). Also tried building with freshly built gcc 5.1.0 as the host compiler instead of LLVM/clang, no difference.
I last successfully compiled avr-gcc and avr-libc on this machine a few months back with the gcc 4.9.2 sources using LLVM/clang 3.5.0 as the compiler. Sadly, after the update to LLVM/clang 3.6.0 and what I assume were associated changes to the system headers, it no longer seems possible to build gcc 4.9.2 either for the host target or for avr, so I can't roll back to the last good version.
|
Thu 23 Apr 2015 11:00:24 PM UTC, comment #2:
I've got the same error when tried to build and use just released gcc-5.1. It seems gcc-5.1 contains some dependency to conventions from unreleased avr-libc.
Could you please provide exact instruction what version works best with gcc-5.1. Or even better if you make a new release that intended to work with 5.1.
|
Sat 18 Apr 2015 10:13:17 AM UTC, comment #1:
If you want to use avr-gcc 5.0 or 5.1 with avr-libc, avr-libc must not be newer than svn r2473.
If you want to use svn r2474 or newer, you need avr-gcc 5.2 or up.
|
Fri 17 Apr 2015 10:35:28 PM UTC, original submission:
I'm having the same problem as Georg-Johann:
https://lists.nongnu.org/archive/html/avr-gcc-list/2015-02/msg00008.html
avr-gcc -DF_CPU=8000000 -mmcu=attiny84 -Os btle.c -o btle
/usr/local/avr/lib/gcc/avr/5.0.1/../../../../avr/bin/ld: cannot find dev/attiny84/crt1.o: No such file or directory
/usr/local/avr/lib/gcc/avr/5.0.1/../../../../avr/bin/ld: cannot find dev/attiny84/libdev.a: No such file or directory
I'm using binutils 2.25 and avr-gcc built from the 20150412 snapshot:
avr-gcc (GCC) 5.0.1 20150412 (prerelease)
avr-libc is taken from svn trunk (Changelog shows latest commit 2015-04-15 by Pitchumani)
Here's the script I'm using to build the toolchain:
https://github.com/nerdralph/nerdralph/tree/master/avr/make-avr-gcc
And here's the configure log output from building avr-libc trunk:
http://ralph.nard.ca/files/buildavr.log
|
(Note: upload size limit is set to 16384 kB, after insertion of the required
escape characters.)
Attach File(s):
Comment:
Depends on the following items: None found
Items that depend on this one: None found
Follow 6 latest changes.