[fpc-devel] Error building branch targetandroid

Thomas Schatzl tom_at_work at gmx.at
Sun Jul 8 17:15:12 CEST 2012


Hi,

Am 08.07.2012 14:20, schrieb Felipe Monteiro de Carvalho:
> Hello,
>
> Using the same command lines as before, now I get a different error:
>
> make rtl_all 
> FPC=/Users/felipe/Programas/targetandroid/compiler/ppcrossarm
> RELEASE=1
> make -C rtl all
> make -C android all
> 
> /Users/felipe/Programas/android-ndk-r7/toolchains/arm-linux-androideabi-4.4.3/prebuilt/darwin-x86/bin/arm-linux-androideabi-as
>  -o 
> /Users/felipe/Programas/targetandroid/rtl/units/arm-android/prt0.o
> arm/prt0.as
> 
> /Users/felipe/Programas/android-ndk-r7/toolchains/arm-linux-androideabi-4.4.3/prebuilt/darwin-x86/bin/arm-linux-androideabi-as
>  -o 
> /Users/felipe/Programas/targetandroid/rtl/units/arm-android/dllprt0.o
> arm/dllprt0.as
> 
> /Users/felipe/Programas/android-ndk-r7/toolchains/arm-linux-androideabi-4.4.3/prebuilt/darwin-x86/bin/arm-linux-androideabi-as
>  -o 
> /Users/felipe/Programas/targetandroid/rtl/units/arm-android/cprt0.o
> arm/cprt0.as
> /Users/felipe/Programas/targetandroid/compiler/ppcrossarm -Ur
> -Tandroid -Parm -XParm-linux-androideabi- -Xr -Ur -Xs -O2 -n 
> -Fi../inc
> -Fi../arm -Fi../unix -Fiarm -Fi../linux -Fi../linux/arm
> 
> -FD/Users/felipe/Programas/android-ndk-r7/toolchains/arm-linux-androideabi-4.4.3/prebuilt/darwin-x86/bin
> -FE. -FU/Users/felipe/Programas/targetandroid/rtl/units/arm-android
> -dFPC_ARMEL -darm -dRELEASE -CpARMv6 -CfSoft -Us -Sg
> ../linux/system.pp
> text.inc(1774,14) Warning: Implicit string type conversion from
> "AnsiString" to "UnicodeString"
> text.inc(1998,44) Warning: Implicit string type conversion with
> potential data loss from "UnicodeString" to "AnsiString"
> Assembler messages:
> Fatal error: invalid listing option `r'

  can you check whether the correct assembler is used, e.g. change into 
the rtl directory, and run the ppcrossarm as above with -al -s appended? 
And then verify the ppas.sh that the correct assembler is used?

This is, as indicated, an assembler issue.

> Maybe it will work with NDK v8, so I am downloading that now.

No, at least in the linux ndk the assemblers are the same in the two 
ndk version.

Thomas





More information about the fpc-devel mailing list