Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2013-09

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

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Michael Ring

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

Reply by email

Jeppe Græsdal Johansen
to Michael Ring

Should be fixed in trunk now.

Regards,
Jeppe

Michael Ring wrote 44 lines
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 - http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply by email

Michael Ring
to Jeppe Græsdal Johansen

Working again, thank you!

Michael

Jeppe Græsdal Johansen wrote 56 lines
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 > http://lists.freepascal.org/mailman/listinfo/fpc-devel _______________________________________________ fpc-devel maillist - http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply by email