diff options
author | Dan Williams <dan.j.williams@intel.com> | 2010-07-06 12:48:56 -0700 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2010-07-06 12:48:56 -0700 |
commit | f4190c2f12527e37304f7c185afa0449fa9dee1c (patch) | |
tree | 356a2ab1431d08d161df80f03d7a45c088bccee6 /misc | |
parent | 1538aca5cbbd99be47657e0ca0b7e2186426a1b1 (diff) | |
download | mdadm-f4190c2f12527e37304f7c185afa0449fa9dee1c.tar.gz mdadm-f4190c2f12527e37304f7c185afa0449fa9dee1c.tar.xz mdadm-f4190c2f12527e37304f7c185afa0449fa9dee1c.zip |
mdmon: satisfy glibc tls abi requirements with pthreads
Setting up a proper tls descriptor is required to conform to the abi
[1]. Until it can be implemented in mdmon use pthreads instead of
clone(2) to let glibc handle the details. The old behaviour can be had
by un-defining USE_PTHREADS.
Note, the "O2" builds need LDFLAGS now to pick up the '-pthread' option.
[1]: http://people.redhat.com/drepper/tls.pdf
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'misc')
0 files changed, 0 insertions, 0 deletions