Seg fault when STM Statistics turned on

James Cownie (Intel)
Total Points: 760
Status Points: 260
Brown Belt
July 24, 2008 5:21 AM PDT
Rate
 
#4 Reply to #3

Thanks to Jiaq for providing a test case which allowed me to analyse the problem.

My understanding now is that the problem applies only to Linux, and only if you compile the code which contains transactions with the -fPIC (or -fpic) flags.

So, the workaround is not to place code with transactions in dynamic libraries, and don't compile with -fPIC.

HTH

-- Jim

Forum Statistics

4387 users have contributed to 23806 threads and 69073 posts to date.
In the past 24 hours, we have 10 new thread(s) 28 new posts(s), and 37 new user(s).

In the past 3 days, the most popular thread for everyone has been OpenMP compile error The post with the most views is Passing slice of array pointer to sub The most posts were made to

Please welcome our newest member Zhu Wang (Intel)