[fpc-devel] ""make clean" builds ppc1 [[Re: Getting error building fpc for clang 16]]
Martin Frb
lazarus at mfriebe.de
Sat Dec 9 18:24:10 CET 2023
On 09/12/2023 17:03, Martin Frb via fpc-devel wrote:
> Anyway, I changed the make
> make install INSTALL_PREFIX=/home/m/fpc/$INSTPATH/gw3 OPT="
> -Clv16.0 " LLVM=1
>
> Then next it fails, with the same error on
> make clean
>
> Yes, it tries to compile a file while doing "make clean"
>
Even stranger, if I do delete the ppc1 before "make clean"
rm /home/m/fpc/$INSTSRC/source/compiler/ppc*
Then "make clean" will build a new ppc1. Why?
make cycleclean
make[5]: Entering directory '/home/m/fpc/rel_3.3.1/source/compiler'
/usr/bin/rm -f x86_64/bin/x86_64-linux/pp x86_64/bin/x86_64-linux/pp.o
x86_64/bin/x86_64-linux/pp.bclibppp.a x86_64/bin/x86_64-linux/libimppp.a
/usr/bin/rm -rf units
/usr/bin/rm -rf bin
/usr/bin/rm -f *.o *.bc *.ppu *.rst *.s *.a *.so *.ppl
/usr/bin/rm -rf *.sl
/usr/bin/rm -f fpcmade.* Package.fpc *.fpm
/usr/bin/rm -f script*.res link*.res *_script.res *_link.res
/usr/bin/rm -f ./ppas.sh *_ppas.sh ppas.sh ppaslink.sh
make -C utils cleanall
make[6]: Entering directory '/home/m/fpc/rel_3.3.1/source/compiler/utils'
/usr/bin/rm -f fpc ppufiles ppudump ppumove mka64ins mkarmins mkx86ins
msg2inc mkx86inl mkz80ins fpc.o ppufiles.o ppudump.o ppumove.o
mka64ins.o mkarmins.o mkx86ins.o msg2inc.o mkx86inl.o mkz80ins.o fpc.bc
ppufiles.bc ppudump.bc ppumove.bc mka64ins.bc mkarmins.bc mkx86ins.bc
msg2inc.bc mkx86inl.bc mkz80ins.bclibpfpc.a libpppufiles.a libpppudump.a
libpppumove.a libpmka64ins.a libpmkarmins.a libpmkx86ins.a libpmsg2inc.a
libpmkx86inl.a libpmkz80ins.a libimpfpc.a libimpppufiles.a
libimpppudump.a libimpppumove.a libimpmka64ins.a libimpmkarmins.a
libimpmkx86ins.a libimpmsg2inc.a libimpmkx86inl.a libimpmkz80ins.a
/usr/bin/rm -f units/x86_64-linux/ppu.ppu units/x86_64-linux/crc.ppu
/usr/bin/rm -rf units
/usr/bin/rm -rf bin
/usr/bin/rm -f *.o *.bc *.ppu *.rst *.s *.a *.so *.ppl
/usr/bin/rm -rf *.sl
/usr/bin/rm -f fpcmade.* Package.fpc *.fpm
/usr/bin/rm -f script*.res link*.res *_script.res *_link.res
/usr/bin/rm -f ./ppas.sh *_ppas.sh ppas.sh ppaslink.sh
make[6]: Leaving directory '/home/m/fpc/rel_3.3.1/source/compiler/utils'
/usr/bin/rm -rf x86_64/units
/usr/bin/rm -rf x86_64/bin
/usr/bin/rm -f x86_64/*.o x86_64/*.ppu x86_64/*.rst x86_64/*.s
x86_64/*.a x86_64/*.so x86_64/*.ppl
/usr/bin/rm -f x86_64/ppc386 x86_64/ppc68k x86_64/ppcppc x86_64/ppcsparc
x86_64/ppcarm x86_64/ppcarmeb x86_64/ppcx64 x86_64/ppcppc64
x86_64/ppcmips x86_64/ppcmipsel x86_64/ppcmips64 x86_64/ppcmips64el
x86_64/ppcavr x86_64/ppcjvm x86_64/ppc8086 x86_64/ppca64
x86_64/ppcsparc64 x86_64/ppcrv32 x86_64/ppcrv64 x86_64/ppcxtensa
x86_64/ppcz80 x86_64/ppcwasm32 x86_64/ppcloongarch64
/usr/bin/rm -f ppcx64
make[5]: Leaving directory '/home/m/fpc/rel_3.3.1/source/compiler'
make compiler
make[5]: Entering directory '/home/m/fpc/rel_3.3.1/source/compiler'
/usr/bin/mkdir -p x86_64/units/x86_64-linux
/usr/bin/mkdir -p x86_64/bin/x86_64-linux
/home/m/fpc/svn/ppcx64_3_2_2 -Ur -Xs -O2 -n -Fux86_64 -Fusystems
-Fu/home/m/fpc/rel_3.3.1/source/rtl/units/x86_64-linux -Fix86_64
-FEx86_64/bin/x86_64-linux -FUx86_64/units/x86_64-linux -Cg
-Fl/usr/lib/gcc/x86_64-redhat-linux/13 -dRELEASE -O-1 -gw3 -dx86_64
-dGDB -dllvm -Fullvm -Fux86 -Fix86
-o/home/m/fpc/rel_3.3.1/source/compiler/ppc1 pp.pas
make[5]: Leaving directory '/home/m/fpc/rel_3.3.1/source/compiler'
More information about the fpc-devel
mailing list