# New Ticket Created by  Jerry Gay 
# Please include the string:  [perl #43253]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=43253 >


for some time now, parrot has been segfaulting on windows. this is a
notoriously tricky bug to find, and jonathan, chromatic, and i have
spend a good amount of time hunting it down, to no avail. i *think*
it's a problem with recycling RetContinuation PMCs, but i have more
work to do.

in order to get languages/perl6 to build on windows for the 0.4.13
release, i'll patch the perl6 makefile as below:

Index: config/makefiles/root.in
===================================================================
--- config/makefiles/root.in    (revision 19135)
+++ config/makefiles/root.in    (working copy)
@@ -52,9 +52,13 @@
 PMCS = perl6str perl6bool
 PMC_SOURCES = $(PMCDIR)/perl6str.pmc

+# [rtXXXXX]: [BUG] parrot segfaults when building perl6 on windows with msvc
+# added -G flag in order to work around segfault
+PARROT_ARGS = -G
+
 # the default target
 perl6.pbc: $(PARROT) $(PGE_LIBRARY)/Perl6Grammar.pir $(SOURCES)
-       $(PARROT) $(PGE_LIBRARY)/Perl6Grammar.pir \
+       $(PARROT) $(PARROT_ARGS) $(PGE_LIBRARY)/Perl6Grammar.pir \
            --output=src/parser/grammar_gen.pir \
            src/parser/grammar_rules.pg src/parser/grammar_optok.pg
        $(PARROT) $(TGE_DIR)/tgc.pir --output=src/PAST/Grammar_gen.pir
src/PAST/Grammar.tg


i'll update the repo as soon as i have a ticket number, and respond to
this ticket with the revision.
~jerry

Reply via email to