[CentOS-devel] Using gcc -fsanitize=thread on C7

Tue Apr 28 19:18:47 UTC 2015
Jim Perrin <jperrin at centos.org>


On 04/28/2015 10:32 AM, Fred Smith wrote:
> Hi all!
> 
> I'm attempting to use the thread sanitizer (in gcc 4.8.x) on a multi
> threaded program.
> 
> When I run the program I get a lot of terse output from the thread 
> sanitizer, much of which refers to hits inside libtsan, libc, and libcrypto.
> 
> I'm trying to find the debuginfo for those libraries with the hope that
> will allow human-readable info in that output. But so far I've not found
> anything that looks like the right stuff.

Use yum to identify the package which contains the libraries you want
debuginfo for. Then 'debuginfo-install <packagename>'

Alternatively, you can browse debuginfo.centos.org for the packages
manually.


-- 
Jim Perrin
The CentOS Project | http://www.centos.org
twitter: @BitIntegrity | GPG Key: FA09AD77