[fpc-devel] arm-embedded buid broken since rev 23325

Michael Ring mail at michael-ring.org
Sat Jan 19 22:58:49 CET 2013


Thank you very much Florian, this problem is now indeed fixed. I have 
encountered another one:

/Users/ring/devel/fpc/rtl/units/arm-embedded/sysutils.s: Assembler messages:
/Users/ring/devel/fpc/rtl/units/arm-embedded/sysutils.s:20800: Error: 
thumb conditional instruction should be in IT block -- `bxeq r14'
/Users/ring/devel/fpc/rtl/units/arm-embedded/sysutils.s:20803: Error: 
thumb conditional instruction should be in IT block -- `subls r1,r1,#32'
/Users/ring/devel/fpc/rtl/units/arm-embedded/sysutils.s:20804: Error: 
thumb conditional instruction should be in IT block -- `strbls r1,[r12]'
/Users/ring/devel/fpc/rtl/units/arm-embedded/sysutils.s:20820: Error: 
thumb conditional instruction should be in IT block -- `bxeq r14'
/Users/ring/devel/fpc/rtl/units/arm-embedded/sysutils.s:20823: Error: 
thumb conditional instruction should be in IT block -- `addls r1,r1,#32'
/Users/ring/devel/fpc/rtl/units/arm-embedded/sysutils.s:20824: Error: 
thumb conditional instruction should be in IT block -- `strbls r1,[r12]'

this one can be solved by adding -mimplicit-it=thumb to the the 
commandline of arm-embedded-as. I have created a replacement script for 
arm-embedded-as:

#!/bin/sh
/usr/local/bin/arm-embedded-as -mimplicit-it=thumb $*

with this script I can build latest svn.

What I do not understand is that this problem only exists when sysutils 
gets compiled, the svn code from 2012-01-04 works fine, the code from 
the next day shows this error, the 'only' change is that sysutils gets 
included in the build.

For now, how can I add "-mimplicit-it=thumb" to the as commandline 
without my small hack? can I put this somewhere in fpc.cfg?

Michael


Am 19.01.13 16:19, schrieb Florian Klämpfl:
> Am 19.01.2013 12:18, schrieb Michael Ring:
>> Today I found some time to research since when excactly arm-embedded
>> does not compile anymore, I found that since revision 23325 compile does
>> not work anymore, can anybody help, it seems that the problem itself is
>> hidden somewhere else in code...
> Fixed in r23452.
>
> _______________________________________________
> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-devel
>




More information about the fpc-devel mailing list