[fpc-devel] Running test suite for 2.1.4 on linux/sparc
Mark Morgan Lloyd
markMLl.fpc-devel at telemetry.co.uk
Mon Jul 16 14:12:25 CEST 2007
I've been tinkering for a few weeks, hoping eventually to get Lazarus running
on linux/sparc. I'm currently using FPC 2.1.4, apologies for not being nearer
the "bleeding edge".
I've got problems with Lazarus that I suspect could be connected with code
generation, because of this I've stepped back and am trying to run the FPC
test suite. I can do this fine for linux/i386 (hosted on Debian "Sarge") but
linux/sparc (on "Etch") grinds to an unseemly halt:
/fpcbuild-2.1.4/fpcsrc/compiler/ppcsparc -n -FEsparc-linux -Tlinux popuperr.pp
make[1]: Leaving directory `/fpcbuild-2.1.4/fpcsrc/tests/units'
/bin/cp -fp test/cg/obj/linux/sparc/ctest.o test/cg
/bin/cp -fp test/cg/obj/linux/sparc/tcext3.o test/cg
/bin/cp: cannot stat `test/cg/obj/linux/sparc/tcext3.o': No such file or directory
make: *** [copyfiles] Error 1
2 3>root at pye-dev-01:/fpcbuild-2.1.4/fpcsrc/tests# echo TEST_FPC
0 3>root at pye-dev-01:/fpcbuild-2.1.4/fpcsrc/tests# echo $TEST_FPC
/fpcbuild-2.1.4/fpcsrc/compiler/ppcsparc
running this with make -d gives a bit more detail:
/fpcbuild-2.1.4/fpcsrc/compiler/ppcsparc -n -FEsparc-linux -Tlinux popuperr.pp
Putting child 0x0007b118 (popuperr.ppu) PID 22199 on the chain.
Live child 0x0007b118 (popuperr.ppu) PID 22199
Reaping winning child 0x0007b118 PID 22199
Removing child 0x0007b118 PID 22199 from chain.
Successfully remade target file `popuperr.ppu'.
Finished prerequisites of target file `extra'.
Must remake target `extra'.
Successfully remade target file `extra'.
Finished prerequisites of target file `all'.
Must remake target `all'.
Successfully remade target file `all'.
Finished prerequisites of target file `default'.
Must remake target `default'.
Successfully remade target file `default'.
make[1]: Leaving directory `/fpcbuild-2.1.4/fpcsrc/tests/units'
Reaping winning child 0x00143468 PID 22142
Removing child 0x00143468 PID 22142 from chain.
Successfully remade target file `units'.
Considering target file `copyfiles'.
File `copyfiles' does not exist.
Pruning file `output/sparc-linux'.
Finished prerequisites of target file `copyfiles'.
Must remake target `copyfiles'.
/bin/cp -fp test/cg/obj/linux/sparc/ctest.o test/cg
Putting child 0x001450e8 (copyfiles) PID 22201 on the chain.
Live child 0x001450e8 (copyfiles) PID 22201
Reaping winning child 0x001450e8 PID 22201
/bin/cp -fp test/cg/obj/linux/sparc/tcext3.o test/cg
/bin/cp: cannot stat `test/cg/obj/linux/sparc/tcext3.o': No such file or directory
Live child 0x001450e8 (copyfiles) PID 22202
Reaping losing child 0x001450e8 PID 22202
make: *** [copyfiles] Error 1
Removing child 0x001450e8 PID 22202 from chain.
2 3>root at pye-dev-01:/fpcbuild-2.1.4/fpcsrc/tests#
I can see that 2.1.5 is regularly being tested on Solaris so things can't be
too badly broken.
I can confirm that the ...test/cg/obj/linux/sparc/ directory exists and is
writable, I'm doing all of this close to / in case there are still pathlength
issues anywhere.
Can anybody point me at where I should be looking?
If I can get this working and- in particular- if I can get a reliable copy of
Lazarus on linux/sparc I hope to be able to continue testing releases etc.,
however I've got a fairly major learning curve to surmount :-/
--
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-devel
mailing list