Recent

Author Topic: fpcup + fpc trunk + crosswin64 + 'TEST_WIN64_SEH'  (Read 5603 times)

parcel

  • Full Member
  • ***
  • Posts: 143
fpcup + fpc trunk + crosswin64 + 'TEST_WIN64_SEH'
« 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?

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: fpcup + fpc trunk + crosswin64 + 'TEST_WIN64_SEH'
« Reply #1 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...
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: fpcup + fpc trunk + crosswin64 + 'TEST_WIN64_SEH'
« Reply #2 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

Thanks for the heads up.
« Last Edit: January 22, 2013, 01:44:36 pm by BigChimp »
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

parcel

  • Full Member
  • ***
  • Posts: 143
Re: fpcup + fpc trunk + crosswin64 + 'TEST_WIN64_SEH'
« Reply #3 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  :)

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: fpcup + fpc trunk + crosswin64 + 'TEST_WIN64_SEH'
« Reply #4 on: January 22, 2013, 01:45:03 pm »
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

parcel

  • Full Member
  • ***
  • Posts: 143
Re: fpcup + fpc trunk + crosswin64 + 'TEST_WIN64_SEH'
« Reply #5 on: January 26, 2013, 10:36:18 am »
After apply r23519, It working fine.

Thank you  :)

 

TinyPortal © 2005-2018