[fpc-pascal] FPC 3.0.0-rc1 release

Mark Morgan Lloyd markMLl.fpc-pascal at telemetry.co.uk
Mon Aug 31 10:54:23 CEST 2015

Jonas Maebe wrote:
> Mark Morgan Lloyd wrote:
>> /usr/local/src/fpc/fixes_3_0/rtl/units/arm-linux/cprt0.o: In function
>> `_haltproc_eabi':
>> (.text+0x88): undefined reference to `_fini'
>> /usr/local/src/fpc/fixes_3_0/rtl/units/arm-linux/cprt0.o: In function
>> `_haltproc_eabi':
>> (.text+0x90): undefined reference to `_init'
>> chmcmd.lpr(238,46) Error: Error while linking
>> chmcmd.lpr(238,46) Fatal: There were 1 errors compiling module, stopping
>> Fatal: Compilation aborted
> This is also related to the fact that you have an armhf system that uses 
> the directory/file layout of an armel system. Pass 
> -Fl/usr/lib/arm-linux-gnueabi to the compiler, as it is only looking in 
> /usr/lib/arm-linux-gnueabihf for the crt*.o files (which contain those 
> symbols).

I've already got both in the fpc.cfg file:

# path to the gcclib

where the system already has the symlink

/usr/lib/gcc/arm-linux-gnueabi/4.6.3 -> 4.6

Doing a brute-force search for crt*.o:


I really do think that I need to get Raspbian upgraded, I know that 
there are problems with the one currently running.

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