petdance/scratch — Issue #452: cygwin build fails
Author: petdance
Created: 2011-11-01 05:42:23+00:00
State: open
Labels: bug, build, Pri-normal, Sev-medium

{{{
I was trying to reproduce
https://rt.perl.org/rt3/Public/Bug/Display.html?id=64032
on cygwin using a fresh clone of rakudo, and ran the usual perl
Configure.pl --gen-parrot

and it failed with the following error (sorry for the wrapped lines):

gcc-4 -o pbc_disassemble.exe \
frontend/pbc_disassemble/main.o \
src/longopt.o \
-L/cygdrive/c/Users/mwilson/src/rakudo/parrot -lparrot -lpthread -lm
-L/usr/lib -licuuc -licudata -lpthread -lm -lcrypt -lintl -Wl,--enable-auto-
import -Wl,--export-all-symbols -Wl,--stack,8388608 -Wl,--enable-auto-image-base
-fstack-protector -L/usr/local/lib
./parrot.exe -o pbc_to_exe.pbc tools/dev/pbc_to_exe.pir
./parrot.exe pbc_to_exe.pbc pbc_to_exe.pbc
gcc-4 -o pbc_to_exe.o -I"/cygdrive/c/Users/mwilson/src/rakudo/parrot/include" -U
__STRICT_ANSI__ -g3 -pipe -fstack-protector -I/usr/local/include -DHASATTRIBUTE
_CONST -DHASATTRIBUTE_DEPRECATED -DHASATTRIBUTE_MALLOC -DHASATTRIBUTE_NONNULL
-DHASATTRIBUTE_NORETURN -DHASATTRIBUTE_PURE -DHASATTRIBUTE_UNUSED -DHASATTR
IBUTE_WARN_UNUSED_RESULT -DHASATTRIBUTE_HOT -DHASATTRIBUTE_COLD -DDISABLE_GC_
DEBUG=1 -DNDEBUG -DHAS_GETTEXT -O3 -c pbc_to_exe.c
1 [main] parrot 164924 exception::handle: Exception: STATUS_ACCESS_VIOLATI
ON
841 [main] parrot 164924 open_stackdumpfile: Dumping stack trace to parrot.e
xe.stackdump
1 [main] parrot 143664 exception::handle: Exception: STATUS_ACCESS_VIOLATI
ON
445 [main] parrot 143664 open_stackdumpfile: Dumping stack trace to parrot.e
xe.stackdump
1 [main] parrot 167144 exception::handle: Exception: STATUS_ACCESS_VIOLATI
ON
444 [main] parrot 167144 open_stackdumpfile: Dumping stack trace to parrot.e
$
1 [main] parrot 163884 exception::handle: Exception: STATUS_ACCESS_VIOLATI
ON
445 [main] parrot 163884 open_stackdumpfile: Dumping stack trace to parrot.e
xe.stackdump
1 [main] parrot 167188 exception::handle: Exception: STATUS_ACCESS_VIOLATI
ON
445 [main] parrot 167188 open_stackdumpfile: Dumping stack trace to parrot.e
xe.stackdump
1 [main] parrot 103664 exception::handle: Exception: STATUS_ACCESS_VIOLATI
ON
447 [main] parrot 103664 open_stackdumpfile: Dumping stack trace to parrot.e
xe.stackdump
1 [main] parrot 146588 fork: child -1 - died waiting for longjmp before in
itialization, retry 0, exit code 0x600, errno 11
Can't spawn child process
current instr.: 'compile_file' pc 1140 (tools/dev/pbc_to_exe.pir:716)
called from Sub 'main' pc 171 (tools/dev/pbc_to_exe.pir:210)
make: *** [pbc_to_exe.exe] Error 1
Command failed (status 512): make install-dev

}}}

Originally http://trac.parrot.org/parrot/ticket/2196