[En-Nut-Discussion] avr-gcc gcc version 4.1.3 20070218 (prerelease)(SUSE Linux)

Ernst Stippl ernst at stippl.org
Tue Mar 13 21:36:33 CET 2007


Hi!

All I found was:


[Bug gas/4082] New: "internal error: fixup not contained within frag" for
avr target
From: aesok at post dot ru <sourceware-bugzilla <at> sourceware.org>
Subject: [Bug gas/4082] New: "internal error: fixup not contained within
frag" for avr target
Newsgroups: gmane.comp.gnu.binutils.bugs
Date: 2007-02-20 21:54:14 GMT

there seems to be a problem with binutils (HEAD).

$ avr-as --version
GNU assembler 2.17.50 20070220
Copyright 2005 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.
This assembler was configured for a target of `avr'.

$ avr-as  -mmcu=atmega128 main.s
main.s: Assembler messages:
main.s:1572: Error: internal error: fixup not contained within frag

main.c [1560]:
	call __sync_fetch_and_or_8
	sts ull,r18
	sts ull+1,r19
	sts ull+2,r20
	sts ull+3,r21
	sts ull+4,r22
	sts ull+5,r23
	sts ull+6,r24   ; 1572
	sts ull+7,r25





regards
Ernst
 

-----Ursprüngliche Nachricht-----
Von: en-nut-discussion-bounces at egnite.de
[mailto:en-nut-discussion-bounces at egnite.de] Im Auftrag von Uwe Bonnes
Gesendet: Montag, 12. März 2007 23:26
An: en-nut-discussion at egnite.de
Betreff: [En-Nut-Discussion] avr-gcc gcc version 4.1.3 20070218
(prerelease)(SUSE Linux)

Hello,

trying to find a solution for the "unable to find a register to spill"
problem with 4.1 I loaded
gcc version 4.1.3 20070218 (prerelease) (SUSE Linux) from the
opensuse/repositories/CrossToolchain:/avr repository.

Compiling the ethernut libraries with "make"  (after a make clean) in the
build directory , it bails out immediate like:
nutbld-ethernut20-gcc> make
make -C arch
make[1]: Entering directory
`/home/bon/work/projekte/elab/ethernuts/nutbld-ethernut20-gcc/arch'
avr-gcc -c -mmcu=atmega128 -Os -fno-delete-null-pointer-checks -Wall -Werror
-Wstrict-prototypes -Wa,-ahlms=context_gcc.lst -DETHERNUT2
-D__HARVARD_ARCH__
-I/home/bon/work/projekte/elab/ethernuts/nutbld-ethernut20-gcc/include
-I/home/bon/work/projekte/elab/ethernuts/nut/include
/home/bon/work/projekte/elab/ethernuts/nut/arch/avr/os/context_gcc.c -o
avr/os/context_gcc.o
/tmp/ccjNnjhb.s: Assembler messages:
/tmp/ccjNnjhb.s:61: Error: internal error: fixup not contained within frag
/tmp/ccjNnjhb.s:62: Error: internal error: fixup not contained within frag
..

Did I miss some necessary step? Is this a known issue?
-- 
Uwe Bonnes                bon at elektron.ikp.physik.tu-darmstadt.de

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
_______________________________________________
http://lists.egnite.de/mailman/listinfo/en-nut-discussion



--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.8/717 - Release Date: 10.03.2007
14:25




More information about the En-Nut-Discussion mailing list