[Pkg-pascal-devel] Debugging FPC build issue on m68k

John Paul Adrian Glaubitz glaubitz at physik.fu-berlin.de
Thu Aug 20 14:44:44 BST 2020

On 8/20/20 12:20 PM, Karoly Balogh (Charlie/SGR) wrote:
> I cross-built a recent 3.2.1 compiler from our fixes_3_2 branch (this will
> be released as 3.2.2, eventually), I uploaded it here:
> https://coderetro.net/temp/linux-m68k/
> Can you try bootstrapping with this compiler binary? At least from FPC's
> perspective, you shouldn't need anything else, to initiate a cross build
> than a bootstrap compiler binary, and GNU binutils and make. Not sure if
> Debian needs anything else.
> If this also crashes, then I have to dig deeper to identify the problem,
> because 3.2.x will be with us for a while, and I'd like it to be built for
> Debian-m68k.

It still fails with:

numlib/units/m68k-linux/spe.s: Assembler messages:
numlib/units/m68k-linux/spe.s:1751: Error: cannot create floating-point number
spe.pas(1793) Error: Error while assembling exitcode 1
spe.pas(1793) Fatal: There were 2 errors compiling module, stopping
Fatal: Compilation aborted

The installer encountered the following error:
Compilation of "BuildUnit_numlib.pp" failed
make[2]: *** [Makefile:1729: smart] Error 1
make[2]: Leaving directory '/root/src/fpc-3.2.0/packages'
make[1]: *** [Makefile:2681: packages_smart] Error 2
make[1]: Leaving directory '/root/src/fpc-3.2.0'
make: *** [Makefile:2836: build-stamp.m68k-linux] Error 2

I used your binary and the source tarball for FPC 3.2.0.


 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz at debian.org
`. `'   Freie Universitaet Berlin - glaubitz at physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

More information about the Pkg-pascal-devel mailing list