Thanx! I'm uploading a new version binutils-avr with this patch. Please verify that it solves the problem.
On Wed, Aug 29, 2012 at 5:54 PM, Scott Howard <showard...@gmail.com> wrote: > owner 686173 > submitter 686173 jack23...@hotmail.com > reassign 686173 binutils-avr 2.20.1-2 > severity 686173 serious > tags 686173 patch > forwarded 686173 http://sourceware.org/bugzilla/show_bug.cgi?id=12161 > thanks > > The following upstream bug [1] appears in Debian and the patch should > be applied to the debian sources [2]. > > When compiling the Ethernet library examples in the arduino package > for a mega 256 or ADK target board, ld will crash with a segfault. > When the below patch is applied to the Debian sources, it compiles > cleanly. > > It's related to the fact that the mega 256 target board uses the > -Wl,--relax linker option since it has greater than 128 kB of memory > [3] which somehow started causing problems once code was compiled with > gcc 4.7. > > Thank you! > Regards, > Scott > > > > [1] http://sourceware.org/bugzilla/show_bug.cgi?id=12161 > [2] > http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/elf32-avr.c.diff?cvsroot=src&only_with_tag=binutils-2_22-branch&r1=1.51&r2=1.51.2.1 > [3] http://sourceware.org/bugzilla/show_bug.cgi?id=13612 -- Håkan Ardö -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org