[libitm] Link with -litm and -pthread

Eric Botcazou ebotcazou@adacore.com
Sat Feb 11 18:16:00 GMT 2012


>    FYI, if I restore -litm to the linkage of the failing tests, they
> compile and run fine. I don't understand why we think -litm can be dropped
> from linking the tests in the libitm testsuite.

Because -fgnu-tm will automatically add it on the link line, like for -fopenmp.

-- 
Eric Botcazou



More information about the Gcc-patches mailing list