[En-Nut-Discussion] Test-builds of 4.1.9rc2 on different compiler verions
Ernst Stippl
ernst at stippl.org
Wed Jul 5 23:08:39 CEST 2006
Hi All!
I built 4.1.9rc2 today with different WinAVR and WinARM versions. Everything
went fine.
The results are on www.es-business.com/ethernut
During the weekend, I will build the sample apps and post the results then.
There is no avrgcc version 4.x based WinAVR available. But I found
http://www.atmanecl.com/EnglishSite/indexEnglish.htm#
which has a avrgcc vers 4.1 based package at
http://www.atmanecl.com/EnglishSite/SoftwareEnglish.htm
Using this, I ran into errors (which have been encountered by others, too;
as I found out):
This is the output from Nutconf:
22:02:22: Nut/OS Configurator Version 1.2.3
22:02:22: Linked to wxWidgets 2.6.0
22:02:22: Running on Windows XP (build 2600, Service Pack 2)
22:02:37: Loading I:/ethernut-4.1.9-avr-4.1.1/nut/conf/repository.nut
22:02:37: Loading I:/ethernut-4.1.9-avr-4.1.1/nut/conf/ethernut21b.conf
22:02:37: OK
22:03:51: Creating Makefiles for avr-gcc in
I:/ethernut-4.1.9-avr-4.1.1/nutbld
22:03:51: Creating header files in I:/ethernut-4.1.9-avr-4.1.1/nutbld
22:03:51: OK
22:03:54: ----- Running 'make clean' -----
22:03:57: ----- 'make clean' terminated successfully -----
22:03:57: ----- Running 'make all' -----
K:\DOKUME~1\ADMINI~1\LOKALE~1\Temp/cc4iaaaa.s: Assembler messages:
K:\DOKUME~1\ADMINI~1\LOKALE~1\Temp/cc4iaaaa.s:973: Warning: expression
dangerous with linker stubs
K:\DOKUME~1\ADMINI~1\LOKALE~1\Temp/cc4iaaaa.s:974: Warning: expression
dangerous with linker stubs
K:\DOKUME~1\ADMINI~1\LOKALE~1\Temp/ccEpbaaa.s: Assembler messages:
K:\DOKUME~1\ADMINI~1\LOKALE~1\Temp/ccEpbaaa.s:447: Warning: expression
dangerous with linker stubs
K:\DOKUME~1\ADMINI~1\LOKALE~1\Temp/ccEpbaaa.s:448: Warning: expression
dangerous with linker stubs
K:\DOKUME~1\ADMINI~1\LOKALE~1\Temp/ccOobaaa.s: Assembler messages:
K:\DOKUME~1\ADMINI~1\LOKALE~1\Temp/ccOobaaa.s:424: Warning: expression
dangerous with linker stubs
K:\DOKUME~1\ADMINI~1\LOKALE~1\Temp/ccOobaaa.s:425: Warning: expression
dangerous with linker stubs
avr-ar: creating libnutarch.a
avr-ar: creating libnutos.a
I:/ethernut-4.1.9-avr-4.1.1/nut/dev/usart.c: In function 'UsartIOCtl':
I:/ethernut-4.1.9-avr-4.1.1/nut/dev/usart.c:832: error: unable to find a
register to spill in class 'BASE_POINTER_REGS'
I:/ethernut-4.1.9-avr-4.1.1/nut/dev/usart.c:832: error: this is the insn:
(insn 663 162 163 14 (set (mem/c:HI (plus:HI (reg/f:HI 28 r28)
(const_int 1 [0x1])) [29 S2 A8])
(reg:HI 24 r24)) 12 {*movhi} (nil)
(nil))
I:/ethernut-4.1.9-avr-4.1.1/nut/dev/usart.c:832: confused by earlier errors,
bailing out
make[1]: *** [usart.o] Error 1
make: *** [all] Error 2
22:04:20: ----- 'make all' failed with error 2 -----
Posts in various forums seem to indicate this error may be related to the
selected optimization level.
regards
Ernst
More information about the En-Nut-Discussion
mailing list