------- Additional Comments From tsandnes at atmel dot com 2004-12-20 14:02 ------- Created an attachment (id=7782) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7782&action=view) Preprosessed source of a large object file that fails to build for atmega128
Trying to produce a simple and independent test case to reproduce this bug, I generated a lot of sourcecode and put it in one file. ( The goal was to get above 64K). When compiling this file, i get this output from avr-gcc: avr-gcc -Wall -gdwarf-2 -mmcu=atmega128 -O0 -save-temps largeandsimple.c -o largeandsimple.elf c:\DOCUME~1\tsandnes\LOCALS~1\Temp/ccUzaaaa.s: Assembler messages: c:\DOCUME~1\tsandnes\LOCALS~1\Temp/ccUzaaaa.s:55075: Error: value of 66702 too large for field of 2 bytes at 16 c:\DOCUME~1\tsandnes\LOCALS~1\Temp/ccUzaaaa.s:92562: Error: value of 66702 too large for field of 2 bytes at 52836 c:\DOCUME~1\tsandnes\LOCALS~1\Temp/ccUzaaaa.s:54188: Error: value of 65542 too large for field of 2 bytes at 10009 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19087