[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
-Fl/usr/lib/gcc/arm-linux-gnueabi/4.6.3
-Fl/usr/lib/arm-linux-gnueabi
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:
/usr/lib/arm-linux-gnueabi/crtn.o
/usr/lib/arm-linux-gnueabi/crti.o
/usr/lib/arm-linux-gnueabi/crt1.o
/usr/lib/gcc/arm-linux-gnueabi/4.6/crtbegin.o
/usr/lib/gcc/arm-linux-gnueabi/4.6/crtbeginT.o
/usr/lib/gcc/arm-linux-gnueabi/4.6/crtbeginS.o
/usr/lib/gcc/arm-linux-gnueabi/4.6/crtend.o
/usr/lib/gcc/arm-linux-gnueabi/4.6/crtendS.o
/usr/local/lib/fpc/3.0.1/units/arm-linux/rtl-console/crt.o
/usr/local/src/fpc/fixes_3_0/rtl/palmos/m68k/crt0.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