[fpc-devel] Trunk revision 32395 breaks build on MacOSX for embedded target

Michael Ring mail at michael-ring.org
Sat Nov 21 15:08:17 CET 2015


I can build trunk fpc but I cannot build the crosscompiler for 
arm-embedded for trunk >=32395

This is how I compile:

   SUBARCH=armv7em
   CROSSOPT="-O2"
   make clean buildbase CROSSINSTALL=1 OS_TARGET=embedded CPU_TARGET=arm 
SUBARCH=$SUBARCH CROSSOPT="$CROSSOPT" BINUTILSPREFIX=arm-none-eabi- || 
exit 1

and this is the output:

/Users/ring/devel/fpc-arm/compiler/ppcrossarm -Cparmv7em @rtl.cfg -Ur 
-Tembedded -Parm -XParm-none-eabi- -Xr -Ur -Xs -O2 -n -Fi../inc 
-Fi../arm -FE. -FU/Users/ring/devel/fpc-arm/rtl/units/arm-embedded -darm 
-dRELEASE -O2 consoleio.pp
/Users/ring/devel/fpc-arm/compiler/ppcrossarm -Cparmv7em @rtl.cfg -Ur 
-Tembedded -Parm -XParm-none-eabi- -Xr -Ur -Xs -O2 -n -Fi../inc 
-Fi../arm -FE. -FU/Users/ring/devel/fpc-arm/rtl/units/arm-embedded -darm 
-dRELEASE -O2 ../objpas/sysconst.pp
/Users/ring/devel/fpc-arm/rtl/units/arm-embedded/sysconst.s: Assembler 
messages:
/Users/ring/devel/fpc-arm/rtl/units/arm-embedded/sysconst.s:4985: Error: 
bad instruction `�'
/Users/ring/devel/fpc-arm/rtl/units/arm-embedded/sysconst.s:4985: Error: 
junk at end of line, first unrecognized character valued 0x2
/Users/ring/devel/fpc-arm/rtl/units/arm-embedded/sysconst.s:4985: Error: 
bad instruction `��'
/Users/ring/devel/fpc-arm/rtl/units/arm-embedded/sysconst.s:4985: Error: 
junk at end of line, first unrecognized character is `%'
/Users/ring/devel/fpc-arm/rtl/units/arm-embedded/sysconst.s:4985: Error: 
bad instruction `����+'
sysconst.pp(260) Error: Error while assembling exitcode 1
sysconst.pp(260) Fatal: There were 2 errors compiling module, stopping
Fatal: Compilation aborted
make[3]: *** [sysconst.ppu] Error 1
make[2]: *** [embedded_all] Error 2
make[1]: *** [rtl_all] Error 2
make: *** [base.build-stamp.arm-embedded] Error 2

content of sysconst.s:

.Le446:
         .size   RESSTR_$SYSCONST_$$_SLONGDAYNAMESUN, .Le446 - 
RESSTR_$SYSCONST_$$_SLONGDAYNAMESUN

.section .data.n_RES¥<95>^B^@ ^@^@^@^@^@Ô^@^B^@^@^@¥<95>^B^@ 
^@^@^@%,^B^@èßÿ¿+^]
         .balign 4
.globl  RESSTR_$SYSCONST_$$_END
RESSTR_$SYSCONST_$$_END:
.Le447:



More information about the fpc-devel mailing list