Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2023-12

Getting error building fpc for clang 16

9 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Martin Frb

I was trying to build an fpc for clang 16 (same commands worked on a diff machine for clang 11)

I changed the version in the make line:
  make all  OPT=" " OPTNEW=" -Clv16.0 " FPCMAKEOPT=" -Clv16.0 " LLVM=1

I also tried version 16.0.6

fpc 49cb7b256476409924c581145a760b863b9e755d
(I had tried earlier with an older fpc on that machine. I don't know if the error was the same)

clang --version
clang version 16.0.6 (Fedora 16.0.6-3.fc38)
Target: x86_64-redhat-linux-gnu
Thread model: posix
InstalledDir: /usr/bin

But I am getting

make[8]: '/home/m/fpc/rel_3.3.1/source/rtl/units/x86_64-linux' is up to date.
make[8]: Leaving directory '/home/m/fpc/rel_3.3.1/source/rtl/linux' as --64 -o /home/m/fpc/rel_3.3.1/source/rtl/units/x86_64-linux/abitag.o x86_64/abitag.as
/home/m/fpc/rel_3.3.1/source/compiler/ppc1 -Ur -Ur -Xs -O2 -n -Fi../inc -Fi../x86_64 -Fi../unix -Fix86_64 -FE.
-FU/home/m/fpc/rel_3.3.1/source/rtl/units/x86_64-linux -Cg -Fl/usr/lib/gcc/x86_64-redhat-linux/13 -dx86_64 -dRELEASE  -Us -Sg system.pp /home/m/fpc/rel_3.3.1/source/rtl/units/x86_64-linux/system.ll:9713:76: error: expected '('
define void @"\01SYSTEM_$$_STRPAS$PANSICHAR$$SHORTSTRING"([256 x i8]* sret noalias nocapture %p.$result, i8* %p.p) inlinehint nobuiltin "null-pointer-is-valid"="true" strictfp {
^
1 error generated.
system.pp(747,1) Error: Error while assembling exitcode 1 system.pp(747,1) Fatal: There were 2 errors compiling module, stopping Fatal: Compilation aborted
make[7]: *** [Makefile:2870: system.ppu] Error 1
make[7]: Leaving directory '/home/m/fpc/rel_3.3.1/source/rtl/linux' make[6]: *** [Makefile:2367: linux_all] Error 2
make[6]: Leaving directory '/home/m/fpc/rel_3.3.1/source/rtl' make[5]: *** [Makefile:5486: rtl] Error 2
make[5]: Leaving directory '/home/m/fpc/rel_3.3.1/source/compiler' make[4]: *** [Makefile:5319: next] Error 2
make[4]: Leaving directory '/home/m/fpc/rel_3.3.1/source/compiler' make[3]: *** [Makefile:5327: ppc2] Error 2
make[3]: Leaving directory '/home/m/fpc/rel_3.3.1/source/compiler' make[2]: *** [Makefile:5337: cycle] Error 2
make[2]: Leaving directory '/home/m/fpc/rel_3.3.1/source/compiler' make[1]: *** [Makefile:3256: compiler_cycle] Error 2 make[1]: Leaving directory '/home/m/fpc/rel_3.3.1/source' make: *** [Makefile:3288: build-stamp.x86_64-linux] Error 2

Reply by email

Jonas Maebe
to Martin Frb
Martin Frb wrote 12 lines
But I am getting make[8]: '/home/m/fpc/rel_3.3.1/source/rtl/units/x86_64-linux' is up to date. make[8]: Leaving directory '/home/m/fpc/rel_3.3.1/source/rtl/linux' as --64 -o /home/m/fpc/rel_3.3.1/source/rtl/units/x86_64-linux/abitag.o x86_64/abitag.as /home/m/fpc/rel_3.3.1/source/compiler/ppc1 -Ur -Ur -Xs -O2 -n -Fi../inc -Fi../x86_64 -Fi../unix -Fix86_64 -FE. -FU/home/m/fpc/rel_3.3.1/source/rtl/units/x86_64-linux -Cg -Fl/usr/lib/gcc/x86_64-redhat-linux/13 -dx86_64 -dRELEASE  -Us -Sg system.pp

The -Clv parameter is missing here for some reason, so the compiler is generating code for LLVM 7.0 rather than 16.0.

Jonas

Reply by email

Martin Frb
to Jonas Maebe
Jonas Maebe wrote 19 lines
On 2023-12-07 01:09, Martin Frb via fpc-devel wrote: > But I am getting > > make[8]: '/home/m/fpc/rel_3.3.1/source/rtl/units/x86_64-linux' is up > to date. > make[8]: Leaving directory '/home/m/fpc/rel_3.3.1/source/rtl/linux' > as --64 -o > /home/m/fpc/rel_3.3.1/source/rtl/units/x86_64-linux/abitag.o > x86_64/abitag.as > /home/m/fpc/rel_3.3.1/source/compiler/ppc1 -Ur -Ur -Xs -O2 -n > -Fi../inc -Fi../x86_64 -Fi../unix -Fix86_64 -FE. > -FU/home/m/fpc/rel_3.3.1/source/rtl/units/x86_64-linux -Cg > -Fl/usr/lib/gcc/x86_64-redhat-linux/13 -dx86_64 -dRELEASE  -Us -Sg > system.pp The -Clv parameter is missing here for some reason, so the compiler is generating code for LLVM 7.0 rather than 16.0.

It seems to happen during "make install". Strange, why does it compile during installation?

My script issues the following commands:
(I am using the same on another machine with clang 11)

make clean
make all  OPT=" " OPTNEW=" -Clv16.0 " FPCMAKEOPT=" -Clv16.0 " LLVM=1 make install INSTALL_PREFIX=/home/m/fpc/$INSTPATH/def  LLVM=1

The captured output does not have the commands itself, only the output.... The "100%" should still be from the "make all" (there is no install in the text before that)

I assume "installbase" is the start of the output of above make install.

And then it starts the compiler.... Why?

Before that there are 10 other occurrences of
   "Entering directory '/home/m/fpc/rel_3.3.1/source/compiler/utils'"

[100%] Compiled package utils-wasmbin
make[2]: Leaving directory '/home/m/fpc/rel_3.3.1/source/utils' make[1]: Leaving directory '/home/m/fpc/rel_3.3.1/source' /usr/bin/echo Build > build-stamp.x86_64-linux
/usr/bin/echo Build > base.build-stamp.x86_64-linux make installbase FPC=/home/m/fpc/rel_3.3.1/source/compiler/ppcx64 ZIPDESTDIR=/home/m/fpc/rel_3.3.1/source
FPCMAKE=/home/m/fpc/rel_3.3.1/source/utils/fpcm/bin/x86_64-linux/fpcmake make[1]: Entering directory '/home/m/fpc/rel_3.3.1/source' /usr/bin/install -m 755 -d /home/m/fpc/rel_3.3.1/clang64/def/lib/fpc/3.3.1 /usr/bin/install -m 755 -d /home/m/fpc/rel_3.3.1/clang64/def/bin make compiler_distinstall
FPC=/home/m/fpc/rel_3.3.1/source/compiler/ppcx64
ZIPDESTDIR=/home/m/fpc/rel_3.3.1/source
FPCMAKE=/home/m/fpc/rel_3.3.1/source/utils/fpcm/bin/x86_64-linux/fpcmake make[2]: Entering directory '/home/m/fpc/rel_3.3.1/source' make -C compiler distinstall
make[3]: Entering directory '/home/m/fpc/rel_3.3.1/source/compiler' make quickinstall auxfilesinstall
make[4]: Entering directory '/home/m/fpc/rel_3.3.1/source/compiler' make -C utils install
make[5]: Entering directory '/home/m/fpc/rel_3.3.1/source/compiler/utils' /home/m/fpc/rel_3.3.1/source/compiler/ppcx64 -Ur -Xs -O2 -n -Fu.. -Fu/home/m/fpc/rel_3.3.1/source/rtl/units/x86_64-linux -FE. -FUunits/x86_64-linux -Cg -Fl/usr/lib/gcc/x86_64-redhat-linux/13 -dx86_64 -dRELEASE msg2inc.pp
units/x86_64-linux/msg2inc.ll:663:71: error: expected '('         invoke  void (i8**, i8*, i64, i64) @"\01fpc_ansistr_copy" (i8** sret %reg.1_276, i8* %reg.1_275, i64 %reg.1_274, i64 %reg.1_270) to label %.Lj88 unwind label %.Lj9
^
1 error generated.
Error: Error while assembling exitcode 1

=============
I also looked for msg2inc. And msg2inc was compiled before

msg2inc.pp is only twice in the log. As below, and as in the error above

Without the pp extension it is present in a few "rm". All above the below snippet

make[5]: Leaving directory '/home/m/fpc/rel_3.3.1/source/compiler/utils' /home/m/fpc/rel_3.3.1/source/compiler/ppcx64 -Clv16.0 -Ur -Xs -O2 -n -Fu.. -Fu/home/m/fpc/rel_3.3.1/source/rtl/units/x86_64-linux -FE. -FUunits/x86_64-linux -Cg -Fl/usr/lib/gcc/x86_64-redhat-linux/13 -dx86_64 -dRELEASE mka64ins.pp
/home/m/fpc/rel_3.3.1/source/compiler/ppcx64 -Clv16.0 -Ur -Xs -O2 -n -Fu.. -Fu/home/m/fpc/rel_3.3.1/source/rtl/units/x86_64-linux -FE. -FUunits/x86_64-linux -Cg -Fl/usr/lib/gcc/x86_64-redhat-linux/13 -dx86_64 -dRELEASE mkarmins.pp
/home/m/fpc/rel_3.3.1/source/compiler/ppcx64 -Clv16.0 -Ur -Xs -O2 -n -Fu.. -Fu/home/m/fpc/rel_3.3.1/source/rtl/units/x86_64-linux -FE. -FUunits/x86_64-linux -Cg -Fl/usr/lib/gcc/x86_64-redhat-linux/13 -dx86_64 -dRELEASE mkx86ins.pp
/home/m/fpc/rel_3.3.1/source/compiler/ppcx64 -Clv16.0 -Ur -Xs -O2 -n -Fu.. -Fu/home/m/fpc/rel_3.3.1/source/rtl/units/x86_64-linux -FE. -FUunits/x86_64-linux -Cg -Fl/usr/lib/gcc/x86_64-redhat-linux/13 -dx86_64 -dRELEASE msg2inc.pp
/home/m/fpc/rel_3.3.1/source/compiler/ppcx64 -Clv16.0 -Ur -Xs -O2 -n -Fu.. -Fu/home/m/fpc/rel_3.3.1/source/rtl/units/x86_64-linux -FE. -FUunits/x86_64-linux -Cg -Fl/usr/lib/gcc/x86_64-redhat-linux/13 -dx86_64 -dRELEASE mkx86inl.pp
/home/m/fpc/rel_3.3.1/source/compiler/ppcx64 -Clv16.0 -Ur -Xs -O2 -n -Fu.. -Fu/home/m/fpc/rel_3.3.1/source/rtl/units/x86_64-linux -FE. -FUunits/x86_64-linux -Cg -Fl/usr/lib/gcc/x86_64-redhat-linux/13 -dx86_64 -dRELEASE mkz80ins.pp
make[4]: Leaving directory '/home/m/fpc/rel_3.3.1/source/compiler/utils' make[3]: Leaving directory '/home/m/fpc/rel_3.3.1/source/compiler' make wpocycle

Reply by email

Martin Frb
to Martin Frb
Martin Frb wrote 23 lines
On 07/12/2023 12:19, Jonas Maebe via fpc-devel wrote: > > > On 2023-12-07 01:09, Martin Frb via fpc-devel wrote: >> But I am getting >> >> make[8]: '/home/m/fpc/rel_3.3.1/source/rtl/units/x86_64-linux' is up >> to date. >> make[8]: Leaving directory '/home/m/fpc/rel_3.3.1/source/rtl/linux' >> as --64 -o >> /home/m/fpc/rel_3.3.1/source/rtl/units/x86_64-linux/abitag.o >> x86_64/abitag.as >> /home/m/fpc/rel_3.3.1/source/compiler/ppc1 -Ur -Ur -Xs -O2 -n >> -Fi../inc -Fi../x86_64 -Fi../unix -Fix86_64 -FE. >> -FU/home/m/fpc/rel_3.3.1/source/rtl/units/x86_64-linux -Cg >> -Fl/usr/lib/gcc/x86_64-redhat-linux/13 -dx86_64 -dRELEASE  -Us -Sg >> system.pp > > The -Clv parameter is missing here for some reason, so the compiler > is generating code for LLVM 7.0 rather than 16.0. It seems to happen during "make install". Strange, why does it compile during installation?

Starting compiler is 3.2.2

I should mention that the compiler is not installed to /usr/.... , nor anywhere in a global available place. (As I have several versions on that machine, I made sure non of them has anything in a place where it could be found by others.  (that includes no /etc/fpc.cfg, nor fpc.cfg in my home dir. / each fpc has an fpc.cfg inside its install dir)

But before the make is called the PATH is set to include the 3.2.2 fpc.

I use identical setup on several Linux boxes, including the one that successfully build with clang 11

Reply by email

Martin Frb
to Jonas Maebe
Jonas Maebe wrote 6 lines
On 07/12/2023 13:52, Martin Frb via fpc-devel wrote: > I also looked for msg2inc. And msg2inc was compiled before Maybe check the timestamps of compiler/msg*.inc, compiler/utils/msg2inc.pp and compiler/msg/errore.msg. Perhaps some of those have timestamps far in the future?

The seem ok to me. Either checkout date, or build date.

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"

Interestingly, "make clean" refuses to start, unless it has a compiler in path (ok, even if it should not need it, as it should not compile anything...), but then it uses  source/compiler/ppc1

make[8]: '/home/m/fpc/rel_3.3.1/source/rtl/units/x86_64-linux' is up to date.
make[8]: Leaving directory '/home/m/fpc/rel_3.3.1/source/rtl/linux' as --64 -o /home/m/fpc/rel_3.3.1/source/rtl/units/x86_64-linux/abitag.o x86_64/abitag.as
/home/m/fpc/rel_3.3.1/source/compiler/ppc1 -Ur -Ur -Xs -O2 -n -Fi../inc -Fi../x86_64 -Fi../unix -Fix86_64 -FE.
-FU/home/m/fpc/rel_3.3.1/source/rtl/units/x86_64-linux -Cg -Fl/usr/lib/gcc/x86_64-redhat-linux/13 -O-1 -gw3 -dx86_64 -dRELEASE -Us -Sg system.pp
/home/m/fpc/rel_3.3.1/source/rtl/units/x86_64-linux/system.ll:9990:76: error: expected '('
define void @"\01SYSTEM_$$_STRPAS$PANSICHAR$$SHORTSTRING"([256 x i8]* sret noalias nocapture %p.$result, i8* %p.p) inlinehint nobuiltin "null-pointer-is-valid"="true" strictfp !dbg !1643 { ^
1 error generated.

--------------
the files with date, after "make all" before "make install" got started:

fpc]$ find rel_3.3.1/source/ -name '*msg2inc*' | xargs ls -la -rwxr-xr-x. 1 m m 341048 Dec  9 12:12
rel_3.3.1/source/compiler/utils/msg2inc
-rw-r--r--. 1 m m  20180 Dec  6 23:07
rel_3.3.1/source/compiler/utils/msg2inc.pp
-rw-r--r--. 1 m m  63416 Dec  9 12:12
rel_3.3.1/source/compiler/utils/units/x86_64-linux/msg2inc.o

fpc]$ ls -la rel_3.3.1/source/compiler/msg*inc*
-rw-r--r--. 1 m m  47096 Dec  6 23:07 rel_3.3.1/source/compiler/msgidx.inc -rw-r--r--. 1 m m 112167 Dec  6 23:07 rel_3.3.1/source/compiler/msgtxt.inc

fpc]$ ls -la rel_3.3.1/source/compiler/msg/*
-rw-r--r--. 1 m m 139307 Dec  6 23:07
rel_3.3.1/source/compiler/msg/errorct.msg
-rw-r--r--. 1 m m 244571 Dec  6 23:07
rel_3.3.1/source/compiler/msg/errorda.msg
-rw-r--r--. 1 m m 304534 Dec  6 23:07
rel_3.3.1/source/compiler/msg/errord.msg
-rw-r--r--. 1 m m 305647 Dec  6 23:07
rel_3.3.1/source/compiler/msg/errordu.msg
-rw-r--r--. 1 m m 291024 Dec  6 23:07
rel_3.3.1/source/compiler/msg/errore.msg
-rw-r--r--. 1 m m 246429 Dec  6 23:07
rel_3.3.1/source/compiler/msg/errores.msg
-rw-r--r--. 1 m m 250649 Dec  6 23:07
rel_3.3.1/source/compiler/msg/errorfi.msg
-rw-r--r--. 1 m m 105908 Dec  6 23:07
rel_3.3.1/source/compiler/msg/errorf.msg
-rw-r--r--. 1 m m 151642 Dec  6 23:07
rel_3.3.1/source/compiler/msg/errorhe.msg
-rw-r--r--. 1 m m 258978 Dec  6 23:07
rel_3.3.1/source/compiler/msg/errorheu.msg
-rw-r--r--. 1 m m 248955 Dec  6 23:07
rel_3.3.1/source/compiler/msg/errorid.msg
-rw-r--r--. 1 m m 188895 Dec  6 23:07
rel_3.3.1/source/compiler/msg/erroriu.msg
-rw-r--r--. 1 m m 241199 Dec  6 23:07
rel_3.3.1/source/compiler/msg/errorn.msg
-rw-r--r--. 1 m m 136463 Dec  6 23:07
rel_3.3.1/source/compiler/msg/errorpli.msg
-rw-r--r--. 1 m m 136451 Dec  6 23:07
rel_3.3.1/source/compiler/msg/errorpl.msg
-rw-r--r--. 1 m m 220070 Dec  6 23:07
rel_3.3.1/source/compiler/msg/errorpt.msg
-rw-r--r--. 1 m m 255864 Dec  6 23:07
rel_3.3.1/source/compiler/msg/errorptu.msg
-rw-r--r--. 1 m m 177521 Dec  6 23:07
rel_3.3.1/source/compiler/msg/errorr.msg
-rw-r--r--. 1 m m 347094 Dec  6 23:07
rel_3.3.1/source/compiler/msg/errorru.msg
-rw-r--r--. 1 m m 246714 Dec  6 23:07
rel_3.3.1/source/compiler/msg/errorues.msg

Reply by email

Martin Frb
to Martin Frb
Martin Frb wrote 9 lines
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'

Reply by email

Tomas Hajny
to Martin Frb

9. prosince 2023 18:24:10 SEČ, Martin Frb via fpc-devel napsal:

Show quoted text 13 lines
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?

I believe that it might be because the compiler is used in FPC makefiles to determine the default target (used if no target is specified on the make command line specifically) and this target determines the location of files to be cleaned.

Tomas

Reply by email

Jonas Maebe
to Martin Frb: The seem ok to me. Either checkout date, or build date. Anyway, I changed the make…
Martin Frb wrote 12 lines
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" Interestingly, "make clean" refuses to start, unless it has a compiler in path (ok, even if it should not need it, as it should not compile anything...)

As Tomas mentioned, this is required to know which target to clean.

You can try specifying FPC=$PWD/compiler/ppcx64 when doing the "make install" to ensure it has the same default target as the one that was just built.

If all else fails, you can try remake to see why it is recompiling things: https://github.com/rocky/remake/

Jonas

Reply by email