parrot/parrot — Issue #241: Cygwin build broken
Author: gerdr
Created: 2012-01-13 21:31:05+00:00
State: open

Building Parrot under Cygwin on Win64 dies with either

./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/d/dev/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 -DHASATTRIBUTE_WARN_UNUSED_RESULT -DHASATTRIBUTE_HOT -DHASATTRIBUTE_COLD -DHAS_GETTEXT -c pbc_to_exe.c
0 [main] parrot 4212 child_info_fork::abort: data segment start: parent(0x138000) != child(0x2B8000)
Can't spawn child process
current instr.: 'compile_file' pc 1140 (tools/dev/pbc_to_exe.pir:735)
called from Sub 'main' pc 171 (tools/dev/pbc_to_exe.pir:229)
Makefile:880: recipe for target `pbc_to_exe.exe' failed
make: *** [pbc_to_exe.exe] Error 1

or

./parrot.exe -o parrot_config.pbc tools/dev/parrot-config.pir
./parrot.exe pbc_to_exe.pbc parrot_config.pbc
gcc-4 -o parrot_config.o -I"/cygdrive/d/dev/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 -DHASATTRIBUTE_WARN_UNUSED_RESULT -DHASATTRIBUTE_HOT -DHASATTRIBUTE_COLD -DHAS_GETTEXT -c parrot_config.c
0 [main] parrot 460 child_info_fork::abort: data segment start: parent(0x138000) != child(0xC88000)
Can't spawn child process
current instr.: 'compile_file' pc 1140 (tools/dev/pbc_to_exe.pir:735)
called from Sub 'main' pc 171 (tools/dev/pbc_to_exe.pir:229)
Makefile:902: recipe for target `parrot_config.exe' failed
make: *** [parrot_config.exe] Error 1