Race condition in parallel perl build

Help with using MiniMyth's build system

Moderator: Pablo

Post Reply
andyn
New Member
Posts: 6
Joined: Mon Feb 27, 2012 11:34 pm

Race condition in parallel perl build

Post by andyn » Mon Feb 27, 2012 11:53 pm

I ran into this problem a few times building on my system: https://rt.perl.org/rt3//Public/Bug/Dis ... l?id=82194

My workaround was to disable parallel building of perl:

Index: script/perl/perl/Makefile
===================================================================
--- script/perl/perl/Makefile (revision 8786)
+++ script/perl/perl/Makefile (working copy)
@@ -78,6 +78,8 @@
GAR_EXTRA_CONF += kernel-$(mm_KERNEL_VERSION)/linux/package-api.mk
include ../../gar.mk

+PARALLELMFLAGS := -j1
+
CPPFLAGS := $(PERL_CPPFLAGS)
CFLAGS := $(PERL_CFLAGS)
CXXFLAGS := $(PERL_CXXFLAGS)

Pablo
Site Admin
Posts: 4182
Joined: Tue Dec 14, 2004 2:13 am
Location: La Jolla
Contact:

Re: Race condition in parallel perl build

Post by Pablo » Wed Mar 07, 2012 5:27 am

Thank you. This has been committed to SVN.
MiniMyth running on an Acer ApireRevo 3610 and a Zotac ZBOX-ID80-U. Find out more at my MythTV page.

Post Reply