Hi Pierre,
Here attached is the log of me running 'make' for the test suite. It
doesn't matter how far back I go in the commit history or what compiler
options I specify - it falls over at the same point.
Gareth aka. Kit
On 13/06/2025 07:22, Pierre Muller via fpc-devel wrote:
Hi Gareth,
your email is not detailed enough so that we can really help you.
Using a compiler:
TEST_OPT=~/Documents/fpc-opts/compiler/ppc386
as option is certainly not working...
But your error is probably due to an installation issue.
The dotest program will be compiled using your
default Free Pascal installation, and it is highly likely
that your release compiler is not correctly set up.
Are you able to use your release compiler?
If you use a regular user installation, do you have a $HOME/.fpc.cfg
present
that will allow the compiler to find the installed units?
Could you send a full log of the failing make command?
Pierre
Le 12/06/2025 à 08:27, J. Gareth Moreton via fpc-devel a écrit :
Hi everyone,
There seems to be a problem on i386-linux on the trunk in that I can't
run the test suite. After successfully building the compiler, I then go
to the "tests" subdirectory and run "make clean full
TEST_OPT=~/Documents/fpc-opts/compiler/ppc386" and get the following
error:
Compiling redir.pp
redir.pp(119,3) Fatal: Can't find unit process used by Redir
Notably this doesn't occur under i386-win32.
Gareth aka. Kit
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
--
This email has been checked for viruses by Avast antivirus software.
www.avast.com
/bin/rm -f
/bin/rm -f gparmake createlst gparmake.o createlst.o gparmake.bc
createlst.bclibpgparmake.a libpcreatelst.a libimpgparmake.a libimpcreatelst.a
/bin/rm -rf gparmake.dbg createlst.dbg
/bin/rm -f fpcmade.i386-linux *i386-linux.fpm Package.fpc *.s
/bin/rm -f script*.res link*.res *_script.res *_link.res symbol_order*.fpc
/bin/rm -f ./ppas.sh *_ppas.sh ppas.sh ppaslink.sh
make clean_test CPU_TARGET=i386 OS_TARGET=linux SUBARCH=
make[1]: Entering directory '/home/curious/Documents/fpc-opts/tests'
/bin/rm -rf output/i386-linux
/bin/rm -f core gmon.out testprep-stamp.i386-linux dotgz.sh
make[1]: Leaving directory '/home/curious/Documents/fpc-opts/tests'
make -C tstunits clean CPU_TARGET=i386 OS_TARGET=linux SUBARCH=
make[1]: Entering directory '/home/curious/Documents/fpc-opts/tests/tstunits'
/bin/rm -rf i386-linux
/bin/rm -rf /home/curious/Documents/fpc-opts/tests/tstunits/tmp
/bin/rm -f rtl-stamp.i386-linux
/bin/rm -f units/i386-linux/erroru.ppu units/i386-linux/popuperr.ppu
units/i386-linux/ptest.ppu
/bin/rm -rf units
/bin/rm -rf bin
/bin/rm -f *.o *.bc *.ppu *.rsj *.s *.a *.so *.ppl
/bin/rm -rf *.sl
/bin/rm -f fpcmade.* Package.fpc *.fpm
/bin/rm -f script*.res link*.res *_script.res *_link.res
/bin/rm -f ./ppas.sh *_ppas.sh ppas.sh ppaslink.sh
/bin/rm -rf i386-linux
/bin/rm -rf /home/curious/Documents/fpc-opts/tests/tstunits/tmp
/bin/rm -f fpcunit-stamp.i386-linux
/bin/rm -rf i386-linux
/bin/rm -rf /home/curious/Documents/fpc-opts/tests/tstunits/tmp
/bin/rm -f packages-stamp.i386-linux
make[1]: Leaving directory '/home/curious/Documents/fpc-opts/tests/tstunits'
/bin/rm -f filelisttest.lst filelisttbs.lst filelisttbf.lst filelistwebtbs.lst
filelistwebtbf.lst
make clean
make[1]: Entering directory '/home/curious/Documents/fpc-opts/tests'
/bin/rm -f
/bin/rm -f gparmake createlst gparmake.o createlst.o gparmake.bc
createlst.bclibpgparmake.a libpcreatelst.a libimpgparmake.a libimpcreatelst.a
/bin/rm -rf gparmake.dbg createlst.dbg
/bin/rm -f fpcmade.i386-linux *i386-linux.fpm Package.fpc *.s
/bin/rm -f script*.res link*.res *_script.res *_link.res symbol_order*.fpc
/bin/rm -f ./ppas.sh *_ppas.sh ppas.sh ppaslink.sh
make clean_test CPU_TARGET=i386 OS_TARGET=linux SUBARCH=
make[2]: Entering directory '/home/curious/Documents/fpc-opts/tests'
/bin/rm -rf output/i386-linux
/bin/rm -f core gmon.out testprep-stamp.i386-linux dotgz.sh
make[2]: Leaving directory '/home/curious/Documents/fpc-opts/tests'
make -C tstunits clean CPU_TARGET=i386 OS_TARGET=linux SUBARCH=
make[2]: Entering directory '/home/curious/Documents/fpc-opts/tests/tstunits'
/bin/rm -rf i386-linux
/bin/rm -rf /home/curious/Documents/fpc-opts/tests/tstunits/tmp
/bin/rm -f rtl-stamp.i386-linux
/bin/rm -f units/i386-linux/erroru.ppu units/i386-linux/popuperr.ppu
units/i386-linux/ptest.ppu
/bin/rm -rf units
/bin/rm -rf bin
/bin/rm -f *.o *.bc *.ppu *.rsj *.s *.a *.so *.ppl
/bin/rm -rf *.sl
/bin/rm -f fpcmade.* Package.fpc *.fpm
/bin/rm -f script*.res link*.res *_script.res *_link.res
/bin/rm -f ./ppas.sh *_ppas.sh ppas.sh ppaslink.sh
/bin/rm -rf i386-linux
/bin/rm -rf /home/curious/Documents/fpc-opts/tests/tstunits/tmp
/bin/rm -f fpcunit-stamp.i386-linux
/bin/rm -rf i386-linux
/bin/rm -rf /home/curious/Documents/fpc-opts/tests/tstunits/tmp
/bin/rm -f packages-stamp.i386-linux
make[2]: Leaving directory '/home/curious/Documents/fpc-opts/tests/tstunits'
/bin/rm -f filelisttest.lst filelisttbs.lst filelisttbf.lst filelistwebtbs.lst
filelistwebtbf.lst
make[1]: Leaving directory '/home/curious/Documents/fpc-opts/tests'
make allexectests
make[1]: Entering directory '/home/curious/Documents/fpc-opts/tests'
make[2]: Entering directory '/home/curious/Documents/fpc-opts/tests'
make[2]: 'units/i386-linux' is up to date.
make[2]: Leaving directory '/home/curious/Documents/fpc-opts/tests'
/usr/bin/ppc386 -FE. utils/createlst.pp
Free Pascal Compiler version 3.2.2 [2021/05/16] for i386
Copyright (c) 1993-2021 by Florian Klaempfl and others
Target OS: Linux for i386
Compiling utils/createlst.pp
createlst.pp(40,9) Warning: unreachable code
Linking ./createlst
72 lines compiled, 0.4 sec
1 warning(s) issued
make[2]: Entering directory '/home/curious/Documents/fpc-opts/tests'
make[2]: 'units/i386-linux' is up to date.
make[2]: Leaving directory '/home/curious/Documents/fpc-opts/tests'
/usr/bin/ppc386 -FE. utils/gparmake.pp
Free Pascal Compiler version 3.2.2 [2021/05/16] for i386
Copyright (c) 1993-2021 by Florian Klaempfl and others
Target OS: Linux for i386
Compiling utils/gparmake.pp
gparmake.pp(62,3) Note: Local variable "FileList" not used
Linking ./gparmake
229 lines compiled, 0.3 sec
1 note(s) issued
make[2]: Entering directory '/home/curious/Documents/fpc-opts/tests'
/bin/mkdir -p output/i386-linux
make[2]: Leaving directory '/home/curious/Documents/fpc-opts/tests'
make gparmake_allexectests
make[2]: Entering directory '/home/curious/Documents/fpc-opts/tests'
make -C utils utils
make[3]: Entering directory '/home/curious/Documents/fpc-opts/tests/utils'
/usr/bin/ppc386 -FE. -FUunits/i386-linux -Fl/usr/lib/gcc/i686-linux-gnu/7
-di386 tsstring.pp
Free Pascal Compiler version 3.2.2 [2021/05/16] for i386
Copyright (c) 1993-2021 by Florian Klaempfl and others
Target OS: Linux for i386
Compiling tsstring.pp
50 lines compiled, 0.0 sec
/usr/bin/ppc386 -FE. -FUunits/i386-linux -Fl/usr/lib/gcc/i686-linux-gnu/7
-di386 redir.pp
Free Pascal Compiler version 3.2.2 [2021/05/16] for i386
Copyright (c) 1993-2021 by Florian Klaempfl and others
Target OS: Linux for i386
Compiling redir.pp
redir.pp(119,3) Fatal: Can't find unit process used by Redir
Fatal: Compilation aborted
Makefile:2080: recipe for target 'redir.ppu' failed
make[3]: *** [redir.ppu] Error 1
make[3]: Leaving directory '/home/curious/Documents/fpc-opts/tests/utils'
Makefile:2611: recipe for target 'utils' failed
make[2]: *** [utils] Error 2
make[2]: Leaving directory '/home/curious/Documents/fpc-opts/tests'
Makefile:2880: recipe for target 'allexectests' failed
make[1]: *** [allexectests] Error 2
make[1]: Leaving directory '/home/curious/Documents/fpc-opts/tests'
Makefile:3027: recipe for target 'full' failed
make: *** [full] Error 2
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel