[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #44383] parallel make fails to build sometimes

From: Mike Miller
Subject: [Octave-bug-tracker] [bug #44383] parallel make fails to build sometimes
Date: Fri, 27 Feb 2015 17:17:49 +0000
User-agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Firefox/31.0

Update of bug #44383 (project octave):

              Item Group:    Installation Failure => Build Failure          
                  Status:                    None => Confirmed              
                 Release:                   3.8.2 => dev                    
        Operating System:               GNU/Linux => Any                    


Follow-up Comment #1:

Thanks for your bug report. I am going to mark this confirmed by inspection
even though I can't reproduce it myself. Here is the missing dependency path
in the libinterp directory:

* $(BUILT_SOURCES) is built before the compiler is ever invoked
* some of the $(BUILT_SOURCES) depend on *.df, in particular the files
builtins.cc and builtin-defun-decls.h
* the rule to generate the *.df files involves running the preprocessor on the
corresponding source, and that is where the header file in $(BUILT_SOURCES)
may not have been generated yet

It would be nice if someone with a lot of cores could reproduce this in
libinterp. Try deleting libinterp/corefcn/defaults.h and
libinterp/octave-value/ov-java.df and see if a make -j16 triggers this, for

Fixing this may mean adding more explicit dependency rules for which stages of
the build depend on which generated header files. It's all a bit muddled the
way it is declared now. And I suppose it works by accident most of the time
simply because builtin-defun-decls.h and builtins.cc are the last two files in
the list of $(BUILT_SOURCES).


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]