<div dir="auto"><div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Hairy Pixels <<a href="mailto:genericptr@gmail.com">genericptr@gmail.com</a>> schrieb am Fr., 24. Juni 2022, 03:45:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
> On Jun 23, 2022, at 11:52 PM, Sven Barth <<a href="mailto:pascaldragon@googlemail.com" target="_blank" rel="noreferrer">pascaldragon@googlemail.com</a>> wrote:<br>
> <br>
> As you can see at the end (see below) it falls back to 3.2.2 at the end. What commands did you execute to build FPC itself? <br>
> <br>
<br>
I have no idea what it did that. I’ve done this many times so I’m confused as to what changed.<br>
<br>
I used a modified ppcaarch64.lpi file to build the compiler (from the compiler sources itself) which I see uses 3.2.2 but then in the next lines of output you can see where I use the newly built compiler to run a program and it’s 3.3.1.<br>
<br>
lazbuild /Users/ryanjoseph/Developer/fpc-gitlab/compiler/ryan_ppcaarch64.lpi<br>
Hint: (lazarus) Build Project: nothing to do.<br>
Free Pascal Compiler version 3.2.2 [2021/05/16] for aarch64<br>
Copyright (c) 1993-2021 by Florian Klaempfl and others<br>
(1002) Target OS: Darwin for AArch64<br>
(3104) Compiling pp.pas<br>
(3104) Compiling pgenutil.pas<br>
(9009) Assembling pgenutil<br>
(9009) Assembling pp<br>
(9015) Linking /Users/ryanjoseph/Developer/fpc-gitlab/compiler/aarch64/pp<br>
(1008) 4179 lines compiled, 0.7 sec<br>
/Users/ryanjoseph/Developer/fpc-gitlab/compiler/aarch64/pp -vbr -gw -godwarfcpp -o/Users/ryanjoseph/Developer/Projects/FPC/compiler_gitlab/tests/bin/test -XR/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -Fu/Users/ryanjoseph/Developer/fpc-gitlab/rtl/units/aarch64-darwin -FU/Users/ryanjoseph/Developer/Projects/FPC/compiler_gitlab/output /Users/ryanjoseph/Developer/Projects/FPC/compiler_gitlab/tests/various/undefined_proc_var.pp<br>
Free Pascal Compiler version 3.3.1 [2022/06/12] for aarch64<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">It is not recommended to use the Lazarus project to build a compiler that is then used to run the testsuite. Please do a complete, ordinary build of FPC before running the testsuite. To do this execute the following in the main directory:</div><div dir="auto"><br></div><div dir="auto">make FPMAKEOPT="-T <number of cores> -j <number of cores></div><div dir="auto"><br></div><div dir="auto">Where you replace "<number of cores>" with the amount of threads you want to use. </div><div dir="auto"><br></div><div dir="auto">If that finishes successfully then and only then you execute the testsuite with the compiler in compiler/ppca64.</div><div dir="auto"><br></div><div dir="auto">Regards, </div><div dir="auto">Sven </div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
</blockquote></div></div></div>