[fpc-devel] Building 2.1.4 for SPARC/Linux
Jonas Maebe
jonas.maebe at elis.ugent.be
Wed Jul 4 17:35:45 CEST 2007
On 04 Jul 2007, at 17:13, Mark Morgan Lloyd wrote:
> /usr/src/fpc/fpcbuild-2.1.4/fpcsrc/compiler/ppc3 -Ur -Xs -O2 -n -
> Fusparc -Fusystems -Fu/usr/src/fpc/fpcbuild-2.1.4/fpcsrc/rtl/units/
> sparc-linux -Fisparc -FE. -FUsparc/units/sparc-linux -dRELEASE -
> dsparc -dGDB -dBROWSERLOG pp.pas
> /bin/mv -f ./pp ppcsparc
> make[5]: Leaving directory `/usr/src/fpc/fpcbuild-2.1.4/fpcsrc/
> compiler'
> make echotime
> make[5]: Entering directory `/usr/src/fpc/fpcbuild-2.1.4/fpcsrc/
> compiler'
> Start now 14:04:23
> make[5]: Leaving directory `/usr/src/fpc/fpcbuild-2.1.4/fpcsrc/
> compiler'
> make[4]: Leaving directory `/usr/src/fpc/fpcbuild-2.1.4/fpcsrc/
> compiler'
> /usr/bin/
> Binary files ppc3 and ppcsparc differ
> make[3]: *** [cycle] Error 2
> make[3]: Leaving directory `/usr/src/fpc/fpcbuild-2.1.4/fpcsrc/
> compiler'
> make[2]: *** [compiler_cycle] Error 2
> make[2]: Leaving directory `/usr/src/fpc/fpcbuild-2.1.4/fpcsrc'
> make[1]: *** [build-stamp.sparc-linux] Error 2
> make[1]: Leaving directory `/usr/src/fpc/fpcbuild-2.1.4/fpcsrc'
> make: *** [fpcsrc/build-stamp.sparc-linux] Error 2
>
> Anybody got any suggestions please?
There are none for this particular problem. I've done a lot of sparc
fixes after 2.1.4 was released and this problem is now rarer, but
still occurs every now and then. It's caused by indeterminism in the
register allocator. See
http://www.freepascal.org/mantis/view.php?id=8121
I haven't seen it happen at all lately in 2.3.1, but I have no idea
why that is (and whether this is pure coincidence, whether the bug is
still there but somehow hidden by other code, or whether it is
actually fixed there.
Jonas
More information about the fpc-devel
mailing list