[Parrot-users] Building parrot on cygwin

Fredrik Rothamel fredrik.rothamel at bahnhof.se
Mon Aug 22 11:26:10 UTC 2011


Bruce Gray skrev 2011-08-20 20:27:
> On Aug 19, 2011, at 3:21 AM, Fredrik Rothamel wrote:
>
>> I'm experiencing problems when building parrot on cygwin.
>> (All recent cygwin and parrot versions).
>
> By "recent", do you mean Parrot 3.6.0, 3.7.0, or a fresh checkout from 
> Git?
> Did you append anything to the command-line when you ran `perl 
> Configure.pl`?

I'm not sure when problems started to crop up. Certainly for the last 
couple of releases. I usually pull the latest code from git when I have 
tuits to spare.
The main problem is probably Cygwin on 64-bit Win7. Ran like clockwork 
on 32-bit XP. Not as stable on 64-bit Win7.
Earlier I have had less problems with GCC-3 than with GCC-4 (on 64-bit) 
but I tried building with GCC-4 again and it actually worked (sort of).

Today I tried on another 64-bit machine, this one with Win7 home premium.
Latest cygwin with gcc-4.3.4
Ran 'rebaseall' and 'peflagsall'. Didn't know about the latter. Pays off 
to scan mailing-lists sometimes.

Pulled latest parrot (commit 9a0ee63fc629567444a8f7d22d689137b17614d4 
Sun Aug 21 21:45:17 2011 -0400)
No parameters to Configure.pl

The first time I tried building I got similar errors as before.
After 'make clean' and 'make' the build actually finished.
'make check' ran fine for a couple of minutes then I got a series of 
errors like

# Failed to build 't/src/extend_vtable_115.exe':       0 [main] collect2 
4144 C:\cygwin\lib\gcc\i686-pc-cygwin\4.3.4\collect2.exe: *** fatal 
error - fork: can't reserve memory for stack 0x29C990 - 0x2A0000, Win32 
error 487

and then the script hung until interrupted with ctrl-c.

I think the main lesson here is that Cygwin is not 100% stable on 64-bit 
machines and that I should try mingw instead or fire up a virtual linux 
box...

> 3. Parrot is under-smoked on all the 64-bit Windows environments, 
> probably due to a lack of developers on x86-64. Now that an end user 
> has expressed both interest and frustration, we have more reason to 
> focus on that shortcoming. Please bear with us while we muster our 
> resources.
>

I really appreciate it. What can I do to help?
I will try building with strawberry perl or MINGW shortly.

BR,
Fredrik



More information about the Parrot-users mailing list