Bug #16519 2009-12-04 07:58

christobal

Batch-build doesn't return error code correctly

If the number of parallel build jobs is > 1 and one source file contains an error, it could be that the batch job returns with exit code 0 even if the build process was aborted with an error.

I say "it could be" because it does sometimes work (i.e. I've set up 6 parallel build threads, had an error in 1 file and got the correct error code 1 time out of 10 trials).

My guess is that the Status Code of the erroneus file is overwritten by a parallel build thread which built without errors.

If I have the time, I will investigate this a little further an try to come up with a patch.

Category
Compiler
Group
 
Status
Open
Close date
 
Assigned to