Ticket #260 (new bug)

Opened 7 years ago

Last modified 5 years ago

Build error on windows 2008 server

Reported by: lucaregini@… Owned by:
Priority: normal Milestone:
Component: build Version:
Severity: medium Keywords:
Cc: Language:
Patch status: Platform: win32


The build process doesn't complete on my windows 2008 server machine. I run activastate perl 5.10 and visual studio 2008 team system edition Version 9.0.21022.8 RTM.
I get a crash in the configure step in test_7304 ( determine JIT capability) as it seems that some executbale is being killed by the DEP ( Data Execution Prevention ) facility provided in windows 2008.

Nmake then manages to buid the parrot executable but doesn't complete correctly; I attach hereafter the last lines of the build log:

  Creating library dan_ops_switch.lib and object dan_ops_switch.exp
       C:\Perl\perlBins\bin\perl.exe -e "chdir shift @ARGV;system 'nmake', '-no
logo', @ARGV; exit $? >> 8;" compilers\pct
       ..\..\parrot.exe -o ..\..\runtime\parrot\library\PCT.pbc --output-pbc PC
       ..\..\parrot.exe -o ..\..\runtime\parrot\library\PCT\PAST.pbc --output-p
bc src\PAST.pir
       ..\..\parrot.exe -o ..\..\runtime\parrot\library\PCT\Grammar.pbc --outpu
t-pbc src\PCT\Grammar.pir
       ..\..\parrot.exe -o ..\..\runtime\parrot\library\PCT\HLLCompiler.pbc --o
utput-pbc src\PCT\HLLCompiler.pir
       C:\Perl\perlBins\bin\perl.exe -e "chdir shift @ARGV;system 'nmake', '-no
logo', @ARGV; exit $? >> 8;" compilers\pge
       C:\Perl\perlBins\bin\perl.exe -MExtUtils::Command -e rm_f PGE.pbc ..\..\
       C:\Perl\perlBins\bin\perl.exe -e "" >PGE\builtins_gen.pir
       ..\..\parrot.exe -o PGE.pbc --output-pbc PGE.pir
       ..\..\parrot.exe ..\..\runtime\parrot\library\PGE\Perl6Grammar.pir  --ou
tput=PGE\builtins_gen.pir PGE\builtins.pg
NMAKE : fatal error U1077: '..\..\parrot.exe' : return code '0xc0000005'
NMAKE : fatal error U1077: 'C:\Perl\perlBins\bin\perl.exe' : return code '0x2'

Change History

Changed 7 years ago by tewk

jit and jitted_nci uses a special function to malloc executable memory. We probably need to implement a WIN32 version of this special malloc variant.

look for malloc_executable or something like that.

Changed 7 years ago by register

The problem is reconducible to the following failure: ..\..\parrot.exe -d ..\..\runtime\parrot\library\PGE\Perl6Grammar.pir --output=PGE\builtins_gen.pir PGE\builtins.pg error:imcc:syntax error, unexpected IDENTIFIER ('grammar')

in file 'PGE\builtins.pg' line 1

Does anyone understands what's going on?

Changed 7 years ago by jkeenan

  • component changed from none to build

Changed 5 years ago by jkeenan

Parrot currently has no JIT. So I wonder whether the presenting problem is still applicable. Can anyone provide an update?

Thank you very much.


Note: See TracTickets for help on using tickets.