avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] reproducable gcc error: unrecognizable insn


From: Theodore A. Roth
Subject: Re: [avr-gcc-list] reproducable gcc error: unrecognizable insn
Date: Tue, 10 Sep 2002 13:16:09 -0700 (PDT)

On 10 Sep 2002, Denis Chertykov wrote:

:) address@hidden (Joerg Wunsch) writes:
:)
:) > Denis Chertykov <address@hidden> wrote:
:) >
:) > > This is the fix. (FSF CVS tree already have this fix)
:) > > Apply the following patch to gcc/config/avr/avr.md and recompile
:) > > avr-gcc.
:) >
:) > Unfortunately, gcc doesn't compile anymore for me when this fix has
:) > been applied, regardless whether i use the source from current CVS
:) > (which needs a hack in gcc/output.h in order to compile at all, as has
:) > been discussed here), or whether i apply the patch to the sources from
:) > 2002-09-01 which compiles cleanly without the patch.
:)
:) The fix:
:)

With this fix and Joerg's output.h hack, I got gcc to compile. Now I'm
getting a bunch of these errors from the linker:


avr-gcc -Wall -mmcu=atmega128 -g -O2 -Wl,-Map,osavr.map -o osavr  bitmap.o
dummy.o init.o int48.o main.o proc.o ptab.o sched.o srb.o syscalls.o
sysclock.o xmalloc.o
dummy.o: In function `dummy_start':
/home/roth/dev/osavr.old/build/src/../../src/dummy.c:81: relocation
truncated to fit: R_AVR_7_PCREL no symbol
dummy.o: In function `foo_start':
/home/roth/dev/osavr.old/build/src/../../src/dummy.c:134: relocation
truncated to fit: R_AVR_7_PCREL no symbol


Compiling the same project with my build of gcc/binutils from 2002-09-03
works fine, but today's cvs (both gcc and binutils) has the problem.


Ted Roth

avr-gcc-list at http://avr1.org



reply via email to

[Prev in Thread] Current Thread [Next in Thread]