Hey Don,
@Gustavo 'Gus' Carreno
I do not [yet] understand your question.
How can I tell fpcupdeluxe to use the next compiler up on the bootstrap list, so I can assess if it's a compiler issue or an Ubuntu issue.
Would you mind explaining this is more detail.
I'm sorry for that
I'll try and be more explanatory!!
Ok, so what I've assessed is that the default choice that
fpcupdeluxe makes for the bootstrap version when compiling FPC 3.0.4 is either 3.0.0 or 3.0.2 according to the log:
fpcupdeluxe: info: FPCNativeInstaller (BuildModule: FPC): To compile this FPC, we need (required) a compiler with version 3.0.0 or 3.0.2
Immediately after that, it starts looking for versions online:
fpcupdeluxe: info: FPCNativeInstaller (CheckAndGetTools): Looking for official FPC bootstrapper with version 3.0.2
fpcupdeluxe: info: FPCNativeInstaller (CheckAndGetTools): Looking for official FPC bootstrapper with version 3.0.0
fpcupdeluxe: info: FPCNativeInstaller (CheckAndGetTools): Looking for official FPC bootstrapper with version 2.6.4
fpcupdeluxe: info: FPCNativeInstaller (CheckAndGetTools): Looking for official FPC bootstrapper with version 2.6.2
fpcupdeluxe: info: FPCNativeInstaller (CheckAndGetTools): Got a V2.6.2 bootstrap compiler from official FPC bootstrap sources.
fpcupdeluxe: info: FPCNativeInstaller (CheckAndGetTools): Now looking for a better [version] bootstrap compiler from Github FPCUP(deluxe) releases.
fpcupdeluxe: info: FPCNativeInstaller (CheckAndGetTools): Looking online for a FPCUP(deluxe) bootstrapper with name: fpcup-3_0_2-x86_64-linux-ppcx64
fpcupdeluxe: info: FPCNativeInstaller (CheckAndGetTools): Success: found a FPCUP(deluxe) bootstrapper with version 3.0.2
fpcupdeluxe: info: FPCNativeInstaller (CheckAndGetTools): Got a better [version] bootstrap compiler from FPCUP(deluxe) bootstrap binaries.
fpcupdeluxe: info: FPCNativeInstaller (CheckAndGetTools): Check if we already have a bootstrap compiler with version 3.0.2
fpcupdeluxe: info: FPCNativeInstaller (CheckAndGetTools): No correct bootstrapper. Going to download bootstrapper from https://github.com/LongDirtyAnimAlf/fpcupdeluxe/releases/download/bootstrappers_v1.0/fpcup-3_0_2-x86_64-linux-ppcx64
fpcupdeluxe: info: FPCNativeInstaller (GetFile): Downloading https://github.com/LongDirtyAnimAlf/fpcupdeluxe/releases/download/bootstrappers_v1.0/fpcup-3_0_2-x86_64-linux-ppcx64
It then settles down on version 3.0.2 and downloads it with success.
After using the 3.0.2 compiler to do the 1 of 3 bootstrap stages, when it's going to use stage one to compile stage two this happens:
/home/gcarreno/FreePascal_2.0.6/fpcsrc/compiler/ppc1 -Ur -Ur -Xs -O2 -n -Fi../inc -Fi../x86_64 -Fi../unix -Fix86_64 -FE. -FU/home/gcarreno/FreePascal_2.0.6/fpcsrc/rtl/units/x86_64-linux -Cg -Sg -vw-n-h-l-d-u-t-p-c- -dx86_64 -dRELEASE -Us -Sg system.pp
make[7]: *** [Makefile:3489: system.ppu] Segmentation fault
So at this moment I'm trying not to bother you with the debugging and I want to see if
fpcupdeluxe can be coaxed to use the 3.0.0 option for bootstrapping instead of 3.0.2 so I can assess if the issue is the compiler version or if it's something that changed in my Dyn Libs.
So my question is: How can I make
fpcupdeluxe use 3.0.0 instead of 3.0.2 to help me debug?
Hope this makes it a bit more clear.
I think I mentioned it before, but here's it again, my system:
Ubuntu 21.04 64b updated in the past 2 or 3 days
Cheers,
Gus