[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



Hi,

On Thu, 20 Aug 2020, John Paul Adrian Glaubitz 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

Can you send me that spe.s file which fails to compile? Also, which
version of binutils is used? As this error comes from binutils (as), and
not FPC itself, of course it could be that the generated assembly is
broken at that line. I have a local build of (cross-)binutils 2.27, which
I was using for testing. Maybe I should try with a newer one.

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

I do have a build of that unit locally, and it builds without an issue,
although admittedly, it's a cross build.

Charlie


Reply to: