[fpc-devel] Current Trunk does not build for target embedded amd ARM-Cortex-M0 (Introduced in Rev 25370)

Michael Ring mail at michael-ring.org
Tue Sep 3 09:06:27 CEST 2013


Working again, thank you!

Michael

Am 03.09.13 09:00, schrieb Jeppe Græsdal Johansen:
> Should be fixed in trunk now.
>
> Regards,
> Jeppe
>
> Den 03-09-2013 08:44, Michael Ring skrev:
>> Trunk for armv7m buils just fine with this commandline:
>>
>> make clean buildbase CROSSINSTALL=1 OS_TARGET=embedded CPU_TARGET=arm 
>> SUBARCH=armv7m CROSSOPT="-O-" BINUTILSPREFIX=arm-none-eabi-
>>
>> doing the same for armv6m:
>>
>> make clean buildbase CROSSINSTALL=1 OS_TARGET=embedded CPU_TARGET=arm 
>> SUBARCH=armv6m CROSSOPT="-O-" BINUTILSPREFIX=arm-none-eabi-
>>
>> gives the following errormessage:
>>
>> make -C embedded all
>> /bin/mkdir -p /Users/ring/devel/fpc-orig/rtl/units/arm-embedded
>> /Users/ring/devel/fpc-orig/compiler/ppcrossarm -Cparmv6m @rtl.cfg -Ur 
>> -Tembedded -Parm -XParm-none-eabi- -Xr -Ur -Xs -O2 -n -Fi../inc 
>> -Fi../arm -FE. -FU/Users/ring/devel/fpc-orig/rtl/units/arm-embedded 
>> -darm -dRELEASE -O- -Us -Sg system.pp
>> text.inc(2082,14) Warning: Implicit string type conversion from 
>> "AnsiString" to "UnicodeString"
>> text.inc(2301,53) Warning: Implicit string type conversion with 
>> potential data loss from "UnicodeString" to "AnsiString"
>> /Users/ring/devel/fpc-orig/rtl/units/arm-embedded/system.s: Assembler 
>> messages:
>> /Users/ring/devel/fpc-orig/rtl/units/arm-embedded/system.s:13: Error: 
>> selected processor does not support Thumb mode `stmfd 
>> r13!,{r11,r12,r14,r15}'
>> /Users/ring/devel/fpc-orig/rtl/units/arm-embedded/system.s:14: Error: 
>> lo register required -- `sub r11,r12,#4'
>> /Users/ring/devel/fpc-orig/rtl/units/arm-embedded/system.s:16: Error: 
>> lo register required -- `strb r0,[r11,#-48]'
>>
>> The problem started with rev 25370, all version before that build 
>> fine on armv6m
>>
>> Comments for 25370 were:
>> + arm: tsettings.instructionset
>> * the selected instruction set is now independent from the cpu type: e.g. armv7-a can perfectly execute thumb(2) code
>>
>>
>>
>> _______________________________________________
>> fpc-devel maillist  -fpc-devel at lists.freepascal.org
>> http://lists.freepascal.org/mailman/listinfo/fpc-devel
>
>
>
> _______________________________________________
> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20130903/cdc21ad0/attachment.html>


More information about the fpc-devel mailing list