]> git.cworth.org Git - fips/commit
Add explicit link to libpthread, to work around debugging issues master
authorMark Janes <mark.a.janes@intel.com>
Fri, 12 Sep 2014 23:15:00 +0000 (16:15 -0700)
committerCarl Worth <cworth@cworth.org>
Mon, 15 Sep 2014 22:35:37 +0000 (15:35 -0700)
commit5995603c4eec60c77f3ac6faba3f4a27cf28c894
tree8cb3bffdd2b91d98f890670c8646cd26aa965d3d
parentc95672c5cef62ccbdb7b64a78875d9aef64d18c6
Add explicit link to libpthread, to work around debugging issues

When debugging through a call to exec, gdb would report thread errors:

  Warning: couldn't activate thread debugging using libthread_db:
           Cannot find new threads: generic error

Similar errors were reported by:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=579021

Adding an explicit link to libpthread in the test applications
improved the debugability of fips when run with the unit tests.
test/Makefile.local