### /usr/bin/gmake -d -j 6 -r -C rtl all CPU_TARGET=arm OS_TARGET=android FPC=/home/muller/pas/fpc-3.3.1/bin/ppcarm BINUTILSPREFIX=arm-linux-androideabi- OPT="-n -vx " GNU Make 4.3 Built for aarch64-unknown-linux-gnu Copyright (C) 1988-2020 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Reading makefiles... Reading makefile 'Makefile'... gmake: Entering directory '/home/muller/pas/gitlab-fpc-source/rtl' gcc: error: unrecognized command-line option '-m64' Updating makefiles.... Considering target file 'Makefile'. Looking for an implicit rule for 'Makefile'. No implicit rule found for 'Makefile'. Finished prerequisites of target file 'Makefile'. No need to remake target 'Makefile'. Updating goal targets.... Considering target file 'all'. File 'all' does not exist. Considering target file 'android_all'. File 'android_all' does not exist. Finished prerequisites of target file 'android_all'. Must remake target 'android_all'. Need a job token; we don't have children /usr/bin/gmake -C android all Putting child 0xaaab0ddd4930 (android_all) PID 4089658 on the chain. Live child 0xaaab0ddd4930 (android_all) PID 4089658 GNU Make 4.3 Built for aarch64-unknown-linux-gnu Copyright (C) 1988-2020 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Jobserver client (fds 3,4) Reading makefiles... Reading makefile 'Makefile'... gmake[1]: Entering directory '/home/muller/pas/gitlab-fpc-source/rtl/android' Reading makefile '../inc/makefile.inc' (search path) (no ~ expansion)... Reading makefile '../arm/makefile.cpu' (search path) (no ~ expansion)... Updating makefiles.... Considering target file '../arm/makefile.cpu'. Looking for an implicit rule for '../arm/makefile.cpu'. Trying pattern rule with stem 'makefile.cpu'. Trying implicit prerequisite '../arm/makefile.cpu.pp'. Trying pattern rule with stem 'makefile.cpu'. Trying implicit prerequisite '../arm/makefile.cpu.pas'. Trying pattern rule with stem 'makefile.cpu'. Trying implicit prerequisite '../arm/makefile.cpu.lpr'. Trying pattern rule with stem 'makefile.cpu'. Trying implicit prerequisite '../arm/makefile.cpu.dpr'. Trying pattern rule with stem 'makefile.cpu'. Trying implicit prerequisite '../arm/makefile.cpu.pp'. Looking for a rule with intermediate file '../arm/makefile.cpu.pp'. Avoiding implicit rule recursion. Trying pattern rule with stem 'makefile.cpu'. Trying implicit prerequisite '../arm/makefile.cpu.pas'. Looking for a rule with intermediate file '../arm/makefile.cpu.pas'. Avoiding implicit rule recursion. Trying pattern rule with stem 'makefile.cpu'. Trying implicit prerequisite '../arm/makefile.cpu.lpr'. Looking for a rule with intermediate file '../arm/makefile.cpu.lpr'. Avoiding implicit rule recursion. Trying pattern rule with stem 'makefile.cpu'. Trying implicit prerequisite '../arm/makefile.cpu.dpr'. Looking for a rule with intermediate file '../arm/makefile.cpu.dpr'. Avoiding implicit rule recursion. No implicit rule found for '../arm/makefile.cpu'. Finished prerequisites of target file '../arm/makefile.cpu'. No need to remake target '../arm/makefile.cpu'. Considering target file '../inc/makefile.inc'. Looking for an implicit rule for '../inc/makefile.inc'. Trying pattern rule with stem 'makefile.inc'. Trying implicit prerequisite '../inc/makefile.inc.pp'. Trying pattern rule with stem 'makefile.inc'. Trying implicit prerequisite '../inc/makefile.inc.pas'. Trying pattern rule with stem 'makefile.inc'. Trying implicit prerequisite '../inc/makefile.inc.lpr'. Trying pattern rule with stem 'makefile.inc'. Trying implicit prerequisite '../inc/makefile.inc.dpr'. Trying pattern rule with stem 'makefile.inc'. Trying implicit prerequisite '../inc/makefile.inc.pp'. Looking for a rule with intermediate file '../inc/makefile.inc.pp'. Avoiding implicit rule recursion. Trying pattern rule with stem 'makefile.inc'. Trying implicit prerequisite '../inc/makefile.inc.pas'. Looking for a rule with intermediate file '../inc/makefile.inc.pas'. Avoiding implicit rule recursion. Trying pattern rule with stem 'makefile.inc'. Trying implicit prerequisite '../inc/makefile.inc.lpr'. Looking for a rule with intermediate file '../inc/makefile.inc.lpr'. Avoiding implicit rule recursion. Trying pattern rule with stem 'makefile.inc'. Trying implicit prerequisite '../inc/makefile.inc.dpr'. Looking for a rule with intermediate file '../inc/makefile.inc.dpr'. Avoiding implicit rule recursion. No implicit rule found for '../inc/makefile.inc'. Finished prerequisites of target file '../inc/makefile.inc'. No need to remake target '../inc/makefile.inc'. Considering target file 'Makefile'. Looking for an implicit rule for 'Makefile'. Trying pattern rule with stem 'Makefile'. Trying implicit prerequisite 'Makefile.pp'. Trying pattern rule with stem 'Makefile'. Trying implicit prerequisite 'Makefile.pas'. Trying pattern rule with stem 'Makefile'. Trying implicit prerequisite 'Makefile.lpr'. Trying pattern rule with stem 'Makefile'. Trying implicit prerequisite 'Makefile.dpr'. Trying pattern rule with stem 'Makefile'. Trying implicit prerequisite 'Makefile.pp'. Looking for a rule with intermediate file 'Makefile.pp'. Avoiding implicit rule recursion. Trying pattern rule with stem 'Makefile'. Trying implicit prerequisite 'Makefile.pas'. Looking for a rule with intermediate file 'Makefile.pas'. Avoiding implicit rule recursion. Trying pattern rule with stem 'Makefile'. Trying implicit prerequisite 'Makefile.lpr'. Looking for a rule with intermediate file 'Makefile.lpr'. Avoiding implicit rule recursion. Trying pattern rule with stem 'Makefile'. Trying implicit prerequisite 'Makefile.dpr'. Looking for a rule with intermediate file 'Makefile.dpr'. Avoiding implicit rule recursion. No implicit rule found for 'Makefile'. Finished prerequisites of target file 'Makefile'. No need to remake target 'Makefile'. Updating goal targets.... Considering target file 'all'. File 'all' does not exist. Considering target file 'fpc_all'. File 'fpc_all' does not exist. Considering target file 'fpcmade.arm-android'. File 'fpcmade.arm-android' does not exist. Considering target file 'fpc_loaders'. File 'fpc_loaders' does not exist. Considering target file '/home/muller/pas/trunk/fpcsrc/rtl/units/arm-android'. File '/home/muller/pas/trunk/fpcsrc/rtl/units/arm-android' does not exist. Finished prerequisites of target file '/home/muller/pas/trunk/fpcsrc/rtl/units/arm-android'. Must remake target '/home/muller/pas/trunk/fpcsrc/rtl/units/arm-android'. Need a job token; we don't have children /usr/bin/mkdir -p /home/muller/pas/trunk/fpcsrc/rtl/units/arm-android Putting child 0xaaab63653f10 (/home/muller/pas/trunk/fpcsrc/rtl/units/arm-android) PID 4089661 on the chain. Live child 0xaaab63653f10 (/home/muller/pas/trunk/fpcsrc/rtl/units/arm-android) PID 4089661 Reaping winning child 0xaaab63653f10 PID 4089661 Removing child 0xaaab63653f10 PID 4089661 from chain. Successfully remade target file '/home/muller/pas/trunk/fpcsrc/rtl/units/arm-android'. Considering target file 'prt0.o'. File 'prt0.o' does not exist. Considering target file 'prt0.as'. Looking for an implicit rule for 'prt0.as'. Trying pattern rule with stem 'prt0.as'. Trying implicit prerequisite 'prt0.as.pp'. Trying pattern rule with stem 'prt0.as'. Trying implicit prerequisite 'prt0.as.pas'. Trying pattern rule with stem 'prt0.as'. Trying implicit prerequisite 'prt0.as.lpr'. Trying pattern rule with stem 'prt0.as'. Trying implicit prerequisite 'prt0.as.dpr'. Trying pattern rule with stem 'prt0.as'. Trying implicit prerequisite 'prt0.as.pp'. Looking for a rule with intermediate file 'prt0.as.pp'. Avoiding implicit rule recursion. Trying pattern rule with stem 'prt0.as'. Trying implicit prerequisite 'prt0.as.pas'. Looking for a rule with intermediate file 'prt0.as.pas'. Avoiding implicit rule recursion. Trying pattern rule with stem 'prt0.as'. Trying implicit prerequisite 'prt0.as.lpr'. Looking for a rule with intermediate file 'prt0.as.lpr'. Avoiding implicit rule recursion. Trying pattern rule with stem 'prt0.as'. Trying implicit prerequisite 'prt0.as.dpr'. Looking for a rule with intermediate file 'prt0.as.dpr'. Avoiding implicit rule recursion. No implicit rule found for 'prt0.as'. Finished prerequisites of target file 'prt0.as'. No need to remake target 'prt0.as'. Finished prerequisites of target file 'prt0.o'. Must remake target 'prt0.o'. Need a job token; we don't have children arm-linux-androideabi-as -o /home/muller/pas/trunk/fpcsrc/rtl/units/arm-android/prt0.o --defsym CPU32=1 prt0.as Putting child 0xaaab636547f0 (prt0.o) PID 4089662 on the chain. Live child 0xaaab636547f0 (prt0.o) PID 4089662 Reaping winning child 0xaaab636547f0 PID 4089662 Removing child 0xaaab636547f0 PID 4089662 from chain. Successfully remade target file 'prt0.o'. Considering target file 'dllprt0.o'. File 'dllprt0.o' does not exist. Considering target file 'dllprt0.as'. Looking for an implicit rule for 'dllprt0.as'. Trying pattern rule with stem 'dllprt0.as'. Trying implicit prerequisite 'dllprt0.as.pp'. Trying pattern rule with stem 'dllprt0.as'. Trying implicit prerequisite 'dllprt0.as.pas'. Trying pattern rule with stem 'dllprt0.as'. Trying implicit prerequisite 'dllprt0.as.lpr'. Trying pattern rule with stem 'dllprt0.as'. Trying implicit prerequisite 'dllprt0.as.dpr'. Trying pattern rule with stem 'dllprt0.as'. Trying implicit prerequisite 'dllprt0.as.pp'. Looking for a rule with intermediate file 'dllprt0.as.pp'. Avoiding implicit rule recursion. Trying pattern rule with stem 'dllprt0.as'. Trying implicit prerequisite 'dllprt0.as.pas'. Looking for a rule with intermediate file 'dllprt0.as.pas'. Avoiding implicit rule recursion. Trying pattern rule with stem 'dllprt0.as'. Trying implicit prerequisite 'dllprt0.as.lpr'. Looking for a rule with intermediate file 'dllprt0.as.lpr'. Avoiding implicit rule recursion. Trying pattern rule with stem 'dllprt0.as'. Trying implicit prerequisite 'dllprt0.as.dpr'. Looking for a rule with intermediate file 'dllprt0.as.dpr'. Avoiding implicit rule recursion. No implicit rule found for 'dllprt0.as'. Finished prerequisites of target file 'dllprt0.as'. No need to remake target 'dllprt0.as'. Finished prerequisites of target file 'dllprt0.o'. Must remake target 'dllprt0.o'. Need a job token; we don't have children arm-linux-androideabi-as -o /home/muller/pas/trunk/fpcsrc/rtl/units/arm-android/dllprt0.o --defsym CPU32=1 dllprt0.as Putting child 0xaaab63654be0 (dllprt0.o) PID 4089663 on the chain. Live child 0xaaab63654be0 (dllprt0.o) PID 4089663 Reaping winning child 0xaaab63654be0 PID 4089663 Removing child 0xaaab63654be0 PID 4089663 from chain. Successfully remade target file 'dllprt0.o'. Finished prerequisites of target file 'fpc_loaders'. Must remake target 'fpc_loaders'. Successfully remade target file 'fpc_loaders'. Considering target file 'fpc_units'. File 'fpc_units' does not exist. Pruning file '/home/muller/pas/trunk/fpcsrc/rtl/units/arm-android'. Considering target file 'system.ppu'. File 'system.ppu' does not exist. Considering target file '../linux/system.pp'. Looking for an implicit rule for '../linux/system.pp'. No implicit rule found for '../linux/system.pp'. Finished prerequisites of target file '../linux/system.pp'. No need to remake target '../linux/system.pp'. Finished prerequisites of target file 'system.ppu'. Must remake target 'system.ppu'. Need a job token; we don't have children /home/muller/pas/fpc-3.3.1/bin/ppcarm -Tandroid -Parm -XParm-linux-androideabi- -Fi../inc -Fi../arm -Fi../unix -Fiarm -Fi../linux -Fi../linux/arm -FE. -FU/home/muller/pas/trunk/fpcsrc/rtl/units/arm-android -n -vx -darm -Us -Sg ../linux/system.pp Putting child 0xaaab63b6ef50 (system.ppu) PID 4089664 on the chain. Live child 0xaaab63b6ef50 (system.ppu) PID 4089664 /home/muller/pas/trunk/fpcsrc/rtl/units/arm-android/system.s: Assembler messages: /home/muller/pas/trunk/fpcsrc/rtl/units/arm-android/system.s:540: Error: ARM register expected -- `stmfd r13!,{}' /home/muller/pas/trunk/fpcsrc/rtl/units/arm-android/system.s:543: Error: ARM register expected -- `ldmnefd r13!,{}' /home/muller/pas/trunk/fpcsrc/rtl/units/arm-android/system.s:544: Error: ARM register expected -- `ldmfd r13!,{}' /home/muller/pas/trunk/fpcsrc/rtl/units/arm-android/system.s:748: Warning: writeback of base register when in register list is UNPREDICTABLE Executing "/home/muller/bin/arm-linux-androideabi-as" with command line "-mfloat-abi=soft -meabi=5 -march=armv5t -mfpu=softvfp -o /home/muller/pas/trunk/fpcsrc/rtl/units/arm-android/system.o /home/muller/pas/trunk/fpcsrc/rtl/units/arm-android/system.s" syAn unhandled exception occurred at $000000000042A218: EAccessViolation: Access violation $000000000042A218 REMOVE_FREED_FIXED_CHUNKS, line 524 of ../inc/heap.inc $000000000042A2A4 FREE_OSCHUNK, line 533 of ../inc/heap.inc $000000000042A414 APPEND_TO_OSLIST, line 564 of ../inc/heap.inc $000000000042B7FC SYSFREEMEM_FIXED, line 1165 of ../inc/heap.inc $000000000042B9FC SYSFREEMEM, line 1230 of ../inc/heap.inc $0000000000429CB4 FREEMEM, line 326 of ../inc/heap.inc $0000000000533128 DESTROY, line 276 of symbase.pas $00000000004D5148 DESTROY, line 1254 of symtable.pas $000000000041D678 FREE, line 407 of ../inc/objpas.inc $0000000000567664 DESTROY, line 5493 of symdef.pas $000000000041D678 FREE, line 407 of ../inc/objpas.inc $00000000004B6414 CLEAR, line 1062 of cclasses.pas $0000000000533438 CLEAR, line 337 of symbase.pas $00000000005330F0 DESTROY, line 271 of symbase.pas $000000000041D678 FREE, line 407 of ../inc/objpas.inc $00000000004CF980 DESTROY, stem.pp(744) Error: Error while assembling exitcode 1 system.pp(744) Fatal: There were 2 errors compiling module, stopping Error: Compilation raised exception internally line 783 of fmodule.pas $000000000070A4C4 DESTROY, line 179 of fppu.pas Reaping losing child 0xaaab63b6ef50 PID 4089664 gmake[1]: *** [Makefile:2409: system.ppu] Error 217 Removing child 0xaaab63b6ef50 PID 4089664 from chain. gmake[1]: Leaving directory '/home/muller/pas/gitlab-fpc-source/rtl/android' Reaping losing child 0xaaab0ddd4930 PID 4089658 gmake: *** [Makefile:3222: android_all] Error 2 Removing child 0xaaab0ddd4930 PID 4089658 from chain. gmake: Leaving directory '/home/muller/pas/gitlab-fpc-source/rtl'