------- Comment #40 from hjl dot tools at gmail dot com  2008-04-21 13:36 
-------
The fix

      test -f $lt_prog-recursive && exec $scriptdir/../prev-$dir/$prog
${1+"$@"}

      touch $lt_prog-recursive
      $scriptdir/../$dir/$prog ${1+"$@"}
      result=$?
      rm -f $lt_prog-recursive
      exit $result

is parallel build safe. When as is invoked, it creates a $lt_prog-recursive.
Before it finishes, another as is invoked and detects $lt_prog-recursive
exist. Error.


-- 

hjl dot tools at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Joey dot ye at intel dot com
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35752

Reply via email to