[fpc-pascal] Error compiling fpc for ARM embedded

Juan Duran jduran at barrait.com
Fri Jul 3 02:59:33 CEST 2015


Hi ALL,

today I updated fpc trunk to 31185.

I am not able to compile ppcrossarm on this revision. It always worked with:

make -j2 clean buildbase installbase CROSSINSTALL=1 CROSSOPT="-XParm-none-eabi-" 
OS_TARGET=embedded CPU_TARGET=arm SUBARCH=armv7m INSTALL_PREFIX=~/lab

I am on Mac OS X 10.9.

The compiler shows me:

softfpu.pp(4894,11) Error: GOTO and LABEL are not supported (use switch -Sg)
softfpu.pp(4895,11) Error: GOTO and LABEL are not supported (use switch -Sg)
softfpu.pp(4906,29) Error: GOTO and LABEL are not supported (use switch -Sg)
softfpu.pp(4907,29) Error: GOTO and LABEL are not supported (use switch -Sg)
softfpu.pp(4926,31) Error: GOTO and LABEL are not supported (use switch -Sg)
softfpu.pp(4927,31) Error: GOTO and LABEL are not supported (use switch -Sg)
softfpu.pp(4928,31) Error: GOTO and LABEL are not supported (use switch -Sg)
softfpu.pp(4929,31) Error: GOTO and LABEL are not supported (use switch -Sg)
softfpu.pp(4957,5) Error: GOTO and LABEL are not supported (use switch -Sg)
softfpu.pp(5050,11) Error: GOTO and LABEL are not supported (use switch -Sg)
softfpu.pp(5069,62) Error: GOTO and LABEL are not supported (use switch -Sg)
softfpu.pp(5140,11) Error: GOTO and LABEL are not supported (use switch -Sg)
softfpu.pp(5165,13) Error: GOTO and LABEL are not supported (use switch -Sg)
softfpu.pp(5257,11) Error: GOTO and LABEL are not supported (use switch -Sg)
softfpu.pp(5274,9) Error: GOTO and LABEL are not supported (use switch -Sg)
softfpu.pp(5394,11) Error: GOTO and LABEL are not supported (use switch -Sg)
softfpu.pp(5394,11) Fatal: There were 50 errors compiling module, stopping
Fatal: Compilation aborted
make[3]: *** [types.ppu] Error 1
make[3]: *** Waiting for unfinished jobs....
system.inc(1884,8) Warning: Implicit string type conversion 
from "RawByteString" to "UnicodeString"
make[2]: *** [embedded_all] Error 2
make[1]: *** [rtl_all] Error 2
make: *** [base.build-stamp.arm-embedded] Error 2

Any ideas?

Thanks in advance




More information about the fpc-pascal mailing list