Recent

Author Topic: Revision 33674 of branch fixes_3_0 is not buildable  (Read 5462 times)

Pascal

  • Hero Member
  • *****
  • Posts: 932
Revision 33674 of branch fixes_3_0 is not buildable
« on: May 14, 2016, 07:51:22 am »
Hello,

i am not able to build the actual branch fixes_3_0 due to an error:

Code: Pascal  [Select][+][-]
  1. c:/freepascal/binutils_2.6.4/i386-win32/rm.exe -f fpcmade.i386-win32 Package.fpc ppas.bat script.res link.res
  2. c:/freepascal/binutils_2.6.4/i386-win32/rm.exe -f *.s *_ppas.bat
  3. make[7]: Leaving directory `c:/freepascal/fpc/3.0.1/rtl/win32'
  4. make[6]: Leaving directory `c:/freepascal/fpc/3.0.1/rtl'
  5. make -C c:/freepascal/fpc/3.0.1/rtl 'OPT=  ' all
  6. make[6]: Entering directory `c:/freepascal/fpc/3.0.1/rtl'
  7. make -C win32 all
  8. make[7]: Entering directory `c:/freepascal/fpc/3.0.1/rtl/win32'
  9. c:/freepascal/binutils_2.6.4/i386-win32/gmkdir.exe -p c:/freepascal/fpc/3.0.1/rtl/units/i386-win32
  10. c:/freepascal/binutils_2.6.4/ppc386.exe -Ur -Xs -O2 -n -Fi../inc -Fi../i386 -Fi../win -FE. -FUc:/freepascal/fpc/3.0.1/rtl/units/i386-win32 -di386 -dRELEASE -Us -Sg system.pp -Fi../win
  11. syswin.inc(460,27) Warning: Symbol "NoErrMsg" is not portable
  12. system.pp(653,30) Warning: Symbol "startupinfo" is deprecated
  13. system.pp(664,23) Warning: Symbol "startupinfo" is deprecated
  14. system.pp(684) Fatal: Internal error 200905071                                       <<<<<<<<<<<<
  15. Fatal: Compilation aborted
  16. make[7]: *** [system.ppu] Error 1
  17. make[7]: Leaving directory `c:/freepascal/fpc/3.0.1/rtl/win32'
  18. make[6]: *** [win32_all] Error 2
  19. make[6]: Leaving directory `c:/freepascal/fpc/3.0.1/rtl'
  20. make[5]: *** [rtl] Error 2
  21. make[5]: Leaving directory `c:/freepascal/fpc/3.0.1/compiler'
  22. make[4]: *** [next] Error 2
  23. make[4]: Leaving directory `c:/freepascal/fpc/3.0.1/compiler'
  24. make[3]: *** [ppc1.exe] Error 2
  25. make[3]: Leaving directory `c:/freepascal/fpc/3.0.1/compiler'
  26. make[2]: *** [cycle] Error 2
  27. make[2]: Leaving directory `c:/freepascal/fpc/3.0.1/compiler'
  28. make[1]: *** [compiler_cycle] Error 2
  29. make[1]: Leaving directory `c:/freepascal/fpc/3.0.1'
  30. make: *** [build-stamp.i386-win32] Error 2
  31.  
  32. c:\freepascal\fpc\3.0.1>

What can i do to fix it?

Regrads
Pascal
laz trunk x64 - fpc trunk i386 (cross x64) - Windows 10 Pro x64 (21H2)

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11383
  • FPC developer.
Re: Revision 33674 of branch fixes_3_0 is not buildable
« Reply #1 on: May 14, 2016, 01:27:48 pm »
Fixes 3.0 is only buildable with 3.0 From directory names I guess you use 2.6.4 ?

Pascal

  • Hero Member
  • *****
  • Posts: 932
Re: Revision 33674 of branch fixes_3_0 is not buildable
« Reply #2 on: May 14, 2016, 10:40:54 pm »
Yes, i do. Like wiki says.
As i know 3.1 is only buildable with 3.0
laz trunk x64 - fpc trunk i386 (cross x64) - Windows 10 Pro x64 (21H2)

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11383
  • FPC developer.
Re: Revision 33674 of branch fixes_3_0 is not buildable
« Reply #3 on: May 14, 2016, 11:21:47 pm »
I tried with up to date fixes and it just builds

I do "make clean all" in the root dir of the fixes_3_0 checkout with a FPC 3.0 install as first line in my path, and the whole snapshot builds.

Any parameters I should test?

Pascal

  • Hero Member
  • *****
  • Posts: 932
Re: Revision 33674 of branch fixes_3_0 is not buildable
« Reply #4 on: May 15, 2016, 07:34:47 am »
I just checked the wiki which i used to setup a trunk lazarus.
http://wiki.freepascal.org/Installing_Lazarus#Compiling.2Finstalling_FPC_and_Lazarus_from_Sources_of_SVN_.28Win32.29
This seems to be changed from using 2.6.4 to 3.0.0 binutils. I changed to 3.0.1 ppc386.exe
and got the following error:
Code: Pascal  [Select][+][-]
  1. Makefile:2790: *** The only supported starting compiler version is 2.6.4. You are trying to build with 3.0.1..  Stop.
Mabe i should try a clean checkout of fixes_3_0.

By the way: the url in the above mentioned wiki is not working: ftp://ftp.freepascal.org/pub/fpc/dist/3.0.0/bootstrap/i386-win32-ppc386.zip
In this directory is only a mac version.

Regards
Pascal
laz trunk x64 - fpc trunk i386 (cross x64) - Windows 10 Pro x64 (21H2)

Thaddy

  • Hero Member
  • *****
  • Posts: 14211
  • Probably until I exterminate Putin.
Re: Revision 33674 of branch fixes_3_0 is not buildable
« Reply #5 on: May 15, 2016, 09:25:42 am »
It seems you do not have 2.6.4 as the bootstrap compiler.
Try "make clean all OVERRIDEVERSIONCHECK=1" to build with your 3.0.1 starting compiler.
Officially this is not supported but it works.
Specialize a type, not a var.

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11383
  • FPC developer.
Re: Revision 33674 of branch fixes_3_0 is not buildable
« Reply #6 on: May 15, 2016, 01:10:26 pm »
(Uploaded the i386 bootstrap compiler)

Using overrideversioncheck might require double work, since if it still fails with 3.0.1 you still have to get 3.0.0 to make sure.

Pascal

  • Hero Member
  • *****
  • Posts: 932
Re: Revision 33674 of branch fixes_3_0 is not buildable
« Reply #7 on: May 15, 2016, 07:20:26 pm »
Okay, thanks, uploaded compiler works.
laz trunk x64 - fpc trunk i386 (cross x64) - Windows 10 Pro x64 (21H2)

 

TinyPortal © 2005-2018