Bug 8799 - introducing avr-gcc, -binutils and -libc to Gentoo portage (was: GNU binutils for the AVR microcontroller)
|
Bug#:
8799
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: enhancement
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: pappy@gentoo.org
|
Reported By: jhuntnz@users.sourceforge.net
|
|
Component: Ebuilds
|
|
|
URL:
|
|
Summary: introducing avr-gcc, -binutils and -libc to Gentoo portage (was: GNU binutils for the AVR microcontroller)
|
|
Keywords: EBUILD
|
|
Status Whiteboard:
|
|
Opened: 2002-10-05 21:15 0000
|
Hi,
Please find attached avr-binutils-2.13.ebuild.
This ebuild is for building the GNU Binutils for the AVR Microcontroller made
by Atmel (http://www.atmel.com). I'm not sure where this really belongs in the
portage tree.
Jonathan
Can't get around to fixing this anytime soon, I'm afraid.
I have not tested if it actually compiles correctly or not, but aiken's (Can't remember his real name) cross-gcc ( http://cvs.gentoo.org/~aiken/gentoo-cross/ ) script builds binutils and gcc for the avr. It crashes on glibc, but that is really as far as it would needs to go. There is a library for the AVR but I don't think there is a port for it yet.
If that system gets working this ebuild seems redundant.
Scott =)
*** Bug 21869 has been marked as a duplicate of this bug. ***
The general purpose cross toolchain ebuilds seem to have this covered.
The ebuilds at http://cvs.gentoo.org/~aiken/files/portage/ have support
for this. The gcc-config, binutils, gcc ebuilds will be needed.
These 3 ebuilds are what I am currently playing with, not what has been
released with the cross compile effort. The eclass crosscompile.eclass will
also be needed. Some more info is at http://cvs.gentoo.org/~zwelch/xcompile.html
gcc-config --install-toolchain --pretend avr-3.2.3
will setup some needed sym links followed by
CCHOST=avr USE=build emerge arch-avr/binutils arch-avr/gcc
You should then be able to build avr-libc to give a usefull tool chain.
*** Bug 26146 has been marked as a duplicate of this bug. ***
I have been using binutils created by the latest ebuild here for 6 months in my job and at home. How do we get this into the main portage?
Scott =)
this is related to the avr gcc ebuild and the embedded project
i would like to put your avr-gcc and avr-binutils into dev-embedded and maintain it with the help of you, Scott
thanks for your work, i will put this on my TODO list for the next few weeks,
Alex
can you send me the versions of your ebuilds to pappy@gentoo.org, i will look
at it tonight when i come home
Your name will be reserved as the person who submitted and created the ebuilds but the copyright will be moved to Gentoo, as you may already know.
thanks in advance,
Alex
hello
can you test the ebuilds in dev-embedded please
currently marked x86
thanks, Alex
When I emerged avr-libc I got the following error right after it successfully
downloaded the file:
!!! Couldn't download avr-libc-1.0.2.tar.gz. Aborting.
I do not think that it is a problem with this ebuild, but may be a bug in
portage. When I ran emerge again it all merged fine.
That was the only error I got merging them. I have checked that both avr-gcc
and avr-binutils create working executables. I have not done extensive testing
yet.
Scott =)
when the file is truncated and the file you have on your local disk or in a
digest is longer than the one you are about to download, it fails with that
"odd" error message that it cannot download it
removing the digest and/or removing the file in DISTFILES solves this portage
problem.
so, its alright now and i gonna hunt down the miscellaneous dupes in bugs.g.o.,
okay?
thanks for your help,
Alex
*** Bug 26151 has been marked as a duplicate of this bug. ***
The packages will be removed by Seemant Kulleen at a later point in time.
Thanks for your help and sorry for interfering with the embedded herd.
Alex
Does this mean we are going to lose them again from the portage tree?
Scott =)
any status change or something you want me to do on this one?
i still feel responsible because i added it back then... and now it seems i have more time to look for my bugs...
sinc,
Alex
coherent to this master bug id are:
- bug 52979 - update request for the avr toolchain suite
- bug 52790 - patch for crossdev support for the avr toolchain
thanks to Scott,
Alex
I will remove the avr toolchain from portage tonight to save myself the trouble
it has introduced so far.
The author keeps changing the versions and the tar files and makes the ebuild
unusable.
I hope this makes everybody happy: the embedded team and the disappointed
users.
-Alex
dragonheart is taking over maintenance of the avr toolchain