Hi, I'm uploading version 2.23.1-1 of binutils-avr to unstable. Could you check if it fixes this issue?
Thanx On Sun, Sep 30, 2012 at 4:05 PM, Hans Schou <ch...@schou.dk> wrote: > Package: binutils-avr > Version: 2.20.1-3 > Severity: normal > > Dear Maintainer, > > * What led up to the situation? > > Compiling LUFA demo VirtualSerialMassStorage. > > > * What exactly did you do (or not do) that was effective (or > ineffective)? > > cd Demos/Device/ClassDriver/VirtualSerialMassStorage > make > > * What was the outcome of this action? > > The packe did not compile reporting: > > /usr/lib/gcc/avr/4.7.0/../../../avr/lib/avr51/crtusb1286.o: In function > `__bad_interrupt': > ../../../../crt1/gcrt1.S:195: relocation truncated to fit: R_AVR_13_PCREL > against symbol `__vector_11' defined in .text.__vector_11 section in > ../../../../LUFA/Drivers/USB/Core/AVR8/USBInterrupt_AVR8.o > > There is a work around by removing the "relaxe" option from the build make > file: > perl -i -pe 's/-Wl,--relax//' LUFA/Build/lufa_build.mk > > The more correct way is to patch 307 elf32-avr.c: > > https://github.com/pld-linux/crossavr-binutils/blob/master/307-binutils-fix-AVRTC-424.patch > > Above information is based on Dean Camera's explanation. > > cheers! > > -- System Information: > Debian Release: wheezy/sid > APT prefers testing > APT policy: (500, 'testing') > Architecture: amd64 (x86_64) > > Kernel: Linux 3.2.0-3-amd64 (SMP w/6 CPU cores) > Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) > Shell: /bin/sh linked to /bin/dash > > Versions of packages binutils-avr depends on: > ii libc6 2.13-35 > > binutils-avr recommends no packages. > > Versions of packages binutils-avr suggests: > ii binutils 2.22-6.1 > > -- no debconf information > -- Håkan Ardö