Okay, the problem is fairly obvious, pkg being declared way outside the 
parallel block.
But rather than sprinkling more OpenMP magic dust to solve it, can you verify 
that this (ie just declare the variable inside the parallel block) solves the 

```     #pragma omp parallel
     #pragma omp single
     for (int i = 0; i < npkgs; i++) {
-       pkg = tasks[i];
+       Package pkg = tasks[i];
        #pragma omp task untied priority(i)
        pkg->rc = packageBinary(spec, pkg, cookie, cheating, &pkg->filename);


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
Rpm-maint mailing list

Reply via email to