Lazarus

Installation => General => Topic started by: parcel on January 22, 2013, 12:40:49 pm

Title: fpcup + fpc trunk + crosswin64 + 'TEST_WIN64_SEH'
Post by: parcel on January 22, 2013, 12:40:49 pm
I got error with fpcup --fpcurl=trunk --fpcopt="-dTEST_WIN64_SEH".

The error is compile problem that gtree.pp 's three methods has nested procedure call.
It also notify Generic doesn't allow nested procedure call.

Anyone success fpcup with this option in windows 32bit?
Title: Re: fpcup + fpc trunk + crosswin64 + 'TEST_WIN64_SEH'
Post by: BigChimp on January 22, 2013, 01:31:47 pm
Don't know if the various makes are smart enough to only use the SEH for Win64 cross compiling on your machine

However, on my Win64 machine, I did this:
Quote
Parameter list:         --binutilsdir="c:\development\fpcbootstrap64" --fpcboots
trapdir="c:\development\fpcbootstrap64" --fpcdir="c:\development\fpctrunk" --laz
dir="c:\development\lazarus64_fpctrunk" --fpcuplinkname="" --fpcOPT="-gw -gl -dT
EST_WIN64_SEH" --keeplocalchanges --lazlinkname="Laz64FPCTrunk" --lazOPT="-gw -g
l" --primary-config-path="c:\development\lazarus64settings_fpctrunk" --noconfirm
 --fpcURL="http://svn.freepascal.org/svn/fpc/trunk" --verbose
with development fpcup:
Quote
fpcup 19d28898dcca (Tue Dec 18 09:04:16 2012 +0100)
... and it give this result
Code: [Select]
The installer encountered the following error:
External command "C:/development/fpctrunk/compiler/ppcx64.exe -Twin64 -FUfcl-stl
\units\x86_64-win64\ -FuC:\development\fpctrunk\rtl\units\x86_64-win64\ -Fufcl-s
tl\src -Ur -Xs -O2 -n -FuC:/development/fpctrunk/rtl/units/x86_64-win64 -gw -gl
-dTEST_WIN64_SEH -dx86_64 -dRELEASE -S2h -viq fcl-stl\BuildUnit_fcl_stl.pp" fail
ed with exit code 1. Console output:
Target OS: Win64 for x64
Compiling fcl-stl\BuildUnit_fcl_stl.pp
Compiling .\fcl-stl\src\garrayutils.pp
Compiling .\fcl-stl\src\gdeque.pp
Compiling .\fcl-stl\src\gset.pp
Compiling .\fcl-stl\src\gmap.pp
Compiling .\fcl-stl\src\gvector.pp
Compiling .\fcl-stl\src\gpriorityqueue.pp
Compiling .\fcl-stl\src\gqueue.pp
Compiling .\fcl-stl\src\gtree.pp
Compiling .\fcl-stl\src\gstack.pp
gtree.pp(88,4) Error: Generic methods cannot have nested procedures
gtree.pp(118,4) Error: Generic methods cannot have nested procedures
gtree.pp(136,4) Error: Generic methods cannot have nested procedures
gtree.pp(140) Fatal: There were 3 errors compiling module, stopping
Fatal: Compilation aborted
.... so I see the same problem.
Perhaps due to recent changes in fcl-stl...
Title: Re: fpcup + fpc trunk + crosswin64 + 'TEST_WIN64_SEH'
Post by: BigChimp on January 22, 2013, 01:38:59 pm
Straight fpcup compile (without Win64 SEH) does work.

Going to report a bug.
Bug reported:
http://bugs.freepascal.org/view.php?id=23724 (http://bugs.freepascal.org/view.php?id=23724)

Thanks for the heads up.
Title: Re: fpcup + fpc trunk + crosswin64 + 'TEST_WIN64_SEH'
Post by: parcel on January 22, 2013, 01:44:13 pm
Straight fpcup compile (without Win64 SEH) does work.

Going to report a bug.

Thanks for the heads up.

Thank you  :)
Title: Re: fpcup + fpc trunk + crosswin64 + 'TEST_WIN64_SEH'
Post by: BigChimp on January 22, 2013, 01:45:03 pm
Bug reported:
http://bugs.freepascal.org/view.php?id=23724
Title: Re: fpcup + fpc trunk + crosswin64 + 'TEST_WIN64_SEH'
Post by: parcel on January 26, 2013, 10:36:18 am
After apply r23519, It working fine.

Thank you  :)
TinyPortal © 2005-2018