[fpc-pascal] FPC 3.0.0-rc1 release

Mark Morgan Lloyd markMLl.fpc-pascal at telemetry.co.uk
Sun Aug 30 15:35:23 CEST 2015


Jonas Maebe wrote:
> On 29/08/15 17:57, Mark Morgan Lloyd wrote:
>> ./fpmake compile --localunitdir=.. --os=linux --cpu=arm -o -Ur -o -Xs -o
>> -O2 -o -n -o -Fu/usr/local/src/fpc/fixes_3_0/rtl/units/arm-linux -o
>> -V3.0.1 -o -O- -o -gl -o -Xs- -o -vt -o -darm -o -dRELEASE
>> --compiler=/usr/local/src/fpc/fixes_3_0/compiler/ppcarm -bu -o -XX -o -CX
>> make[2]: ./fpmake: Command not found
>> make[2]: *** [smart] Error 127
>> make[2]: Leaving directory `/usr/local/src/fpc/fixes_3_0/packages'
>> make[1]: *** [packages_smart] Error 2
>> make[1]: Leaving directory `/usr/local/src/fpc/fixes_3_0'
>> make: *** [build-stamp.arm-linux] Error 2
>>
>> /usr/local/src/fpc/fixes_3_0$ find . -name fpmake -ls
>> 157069 4460 -rwxr-xr-x   1 markMLl  staff     4565218 Aug 29 15:46
>> ./packages/fpmake
>>
>> /usr/local/src/fpc/fixes_3_0$ file ./packages/fpmake
>> ./packages/fpmake: ELF 32-bit LSB executable, ARM, version 1 (SYSV),
>> dynamically linked (uses shared libs), for GNU/Linux 2.0.0, not stripped
>>
>> /usr/local/src/fpc/fixes_3_0$ ./packages/fpmake --help
>> -bash: ./packages/fpmake: No such file or directory
> 
> What does "readelf -aW ./packages/fpmake" print after "Requesting
> program interpreter:" ? And does that file exist?

ELF Header:
   Magic:   7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00
   Class:                             ELF32
   Data:                              2's complement, little endian
   Version:                           1 (current)
   OS/ABI:                            UNIX - System V
   ABI Version:                       0
   Type:                              EXEC (Executable file)
   Machine:                           ARM
   Version:                           0x1
   Entry point address:               0x843c
   Start of program headers:          52 (bytes into file)
   Start of section headers:          3549332 (bytes into file)
   Flags:                             0x5000002, has entry point, 
Version5 EABI
   Size of this header:               52 (bytes)
   Size of program headers:           32 (bytes)
   Number of program headers:         7
   Size of section headers:           40 (bytes)
   Number of section headers:         30
   Section header string table index: 27
..
       [Requesting program interpreter: /lib/ld-linux-armhf.so.3]
..

That file's missing, something's obviously badly wrong with the Rpi 
filesystem etc.: I strongly suspect that somebody did an incautious 
update/upgrade/dist-upgrade.

Leave it with me, I'll be back.

p.s. Currently looking at an x86 Android tablet, appears to have a 
significant amount of ARM code run by emulation.

-- 
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]



More information about the fpc-pascal mailing list