2024-07-18 08:35 AEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0000164mercuryBugpublic2010-09-14 15:29
Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Product Version 
Target VersionFixed in Version 
Summary0000164: problem with mmake -j32
From keri@gentoo.org on mercury-users


Hi folks.
I've run into a hitch when bootstrapping mercury-10.04.1 on a linux-sparc box.
I'm attempting to bootstrap with mercury-10.04 where all C files need to be
rebuilt; I'm running a parallel compile with 32 submakes (it's a fast machine
:-)). It looks like building mercury_compile is failing due to race between
mmc generating .mih files and mgnuc compiling .c files that include the .mih
>From './configure':
looking for an already installed Mercury compiler to bootstrap with...
checking for mmc... /usr/bin/mmc
checking whether the above mmc works and is sufficiently recent... yes
checking whether any C files need to be rebuilt...
there are no existing Mercury-generated C files
>From 'make':
/usr/bin/mmc --compile-to-c --grade hlc.gc --mercury-linkage static --
flags COMP_FLAGS transform_hlds.term_constr_data >
transform_hlds.term_constr_data.err 2>&1
/usr/bin/mmc --compile-to-c --grade hlc.gc --mercury-linkage static --
flags COMP_FLAGS transform_hlds.term_constr_main >
transform_hlds.term_constr_main.err 2>&1
/usr/bin/mmc --compile-to-c --grade hlc.gc --mercury-linkage static --
flags COMP_FLAGS transform_hlds.term_errors >
transform_hlds.term_errors.err 2>&1
../scripts/mgnuc --grade hlc.gc -- -c analysis.c -o analysis.o
analysis.c:116:47: error: transform_hlds.term_constr_data.mih: No such file or
analysis.c:118:47: error: transform_hlds.term_constr_main.mih: No such file or
analysis.c:119:42: error: transform_hlds.term_errors.mih: No such file or
Without dialing things down to -j1, is there much I can do to workaround this
TagsNo tags attached.
Attached Files


There are no notes attached to this issue.

-Issue History
Date Modified Username Field Change
2010-09-14 15:29 juliensf New Issue
+Issue History