[fpc-pascal] Building trunk

Pierre Muller pierre at freepascal.org
Fri Nov 23 10:52:43 CET 2018


Hi,

  you should always try to start with a release compiler.

If you have the latest i386 compiler installed start by:

cd fpcsrc/compiler
make distclean cycle OPT="-n" FPC=/path/to/release/ppc386

save the resulting ppc386 on success to /home/me/fpc/bootstrap/ppc386

and then start

make distclean install PREFIX=/home/me/usr FPC=/home/me/fpc/bootstrap/ppc386

If you have no i386 compiler installed,
use your x86_64 release with

cd fpcsrc/compiler
make distclean cycle OS_TARGET=linux CPU_TARGET=i386 OPT="-n" FPC=/path/to/release/ppcx64


  Please test this out and report if it solves your problem or not.


Pierre Muller

Le 23/11/2018 à 10:21, C Western a écrit :
> I haven't been able to build trunk i386 fpc for a couple of weeks. Is 
> this supposed to be working, or have I misconfigured something? (I don't 
> think I have changed anything.) The output is below. I don't think it is 
> significant, but I am building on a 64 bit system, but with a 32 bit 
> starting compiler. (The 64 bit build with the 64 bit starting compiler 
> works fine.)
> 
> Colin
> 
> 
> make distclean install PREFIX=/home/me/usr FPC=/home/me/fpc/bootstrap/ppc386
> (....)
> make[7]: Entering directory '/home/me/fpc/trunk/fpcsrc/rtl'
> make -C linux all
> make[8]: Entering directory '/home/me/fpc/trunk/fpcsrc/rtl/linux'
> /home/me/fpc/trunk/fpcsrc/compiler/ppc1 -Ur -Ur -Xs -O2 -n -Fi../inc 
> -Fi../i386 -Fi../unix -Fii386 -FE. 
> -FU/home/me/fpc/trunk/fpcsrc/rtl/units/i386-linux -di386 -dRELEASE -Us 
> -Sg system.pp
> make[8]: *** [Makefile:3912: system.ppu] Segmentation fault (core dumped)
> make[8]: Leaving directory '/home/me/fpc/trunk/fpcsrc/rtl/linux'
> make[7]: *** [Makefile:2057: linux_all] Error 2
> make[7]: Leaving directory '/home/me/fpc/trunk/fpcsrc/rtl'
> make[6]: *** [Makefile:4552: rtl] Error 2
> make[6]: Leaving directory '/home/me/fpc/trunk/fpcsrc/compiler'
> make[5]: *** [Makefile:4403: next] Error 2
> make[5]: Leaving directory '/home/me/fpc/trunk/fpcsrc/compiler'
> make[4]: *** [Makefile:4413: ppc2] Error 2
> make[4]: Leaving directory '/home/me/fpc/trunk/fpcsrc/compiler'
> make[3]: *** [Makefile:4422: cycle] Error 2
> make[3]: Leaving directory '/home/me/fpc/trunk/fpcsrc/compiler'
> make[2]: *** [Makefile:2834: compiler_cycle] Error 2
> make[2]: Leaving directory '/home/me/fpc/trunk/fpcsrc'
> make[1]: *** [Makefile:2866: build-stamp.i386-linux] Error 2
> make[1]: Leaving directory '/home/me/fpc/trunk/fpcsrc'
> make: *** [Makefile:2306: fpcsrc/build-stamp.i386-linux] Error 2
> 
> 
> 
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
> 



More information about the fpc-pascal mailing list