cilkplus fails without pthreads for me

Bernd Schmidt bschmidt@redhat.com
Mon Jan 4 15:06:00 GMT 2016


On 01/01/2016 07:13 PM, Mike Stump wrote:
> cilkplus fails without pthreads for me:
>
> xg++: error: unrecognized command line option '-pthread' compiler
> exited with status 1 output is: xg++: error: unrecognized command
> line option '-pthread'

 > @@ -1450,6 +1450,10 @@ proc check_effective_target_cilkplus { } {
 >          return 0;
 >       }
 >
 > +    if { ! [check_effective_target_pthread] } {
 > +       return 0;
 > +    }
 > +

I think you'll also want to revert Nathan's earlier change that adds 
just nvptx for the same reason. Ok with that change.


Bernd



More information about the Gcc-patches mailing list