Your message dated Mon, 7 Oct 2013 08:20:36 +0200
with message-id
<CAEkL+Rgw=uWed+jbwOOv8P_N6bzpVz3S=ng8sp2jsekp6fd...@mail.gmail.com>
and subject line Fwd: Bug#689223: binutils-avr: Linker relaxations broken
has caused the Debian Bug report #689223,
regarding binutils-avr: Linker relaxations broken
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
689223: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=689223
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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
--- End Message ---
--- Begin Message ---
---------- Forwarded message ----------
From: Hans Schou <[email protected]>
Date: Mon, Oct 7, 2013 at 12:01 AM
Subject: Re: Bug#689223: binutils-avr: Linker relaxations broken
To: Hakan Ardo <[email protected]>
Hi Hakan
Yes, it is working. Thanks!
best regards
/hans
2013/10/5 Hakan Ardo <[email protected]>
> 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 <[email protected]> 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ö
>
--
Håkan Ardö
--- End Message ---