summaryrefslogtreecommitdiffstats
path: root/include/jemalloc
diff options
context:
space:
mode:
authorElliot Ronaghan <ronawho@gmail.com>2016-06-14 21:20:28 (GMT)
committerJason Evans <jasone@canonware.com>2016-07-07 20:25:01 (GMT)
commitae3314785bf9726e5a97e5c98f70dcb12e6a7a90 (patch)
tree5305aa220a463f721c8efc7e6ba17f2baa6fd18e /include/jemalloc
parentccd64160736c6e94f84a8bf045ecbbc6a4228604 (diff)
downloadjemalloc-ae3314785bf9726e5a97e5c98f70dcb12e6a7a90.zip
jemalloc-ae3314785bf9726e5a97e5c98f70dcb12e6a7a90.tar.gz
jemalloc-ae3314785bf9726e5a97e5c98f70dcb12e6a7a90.tar.bz2
Fix librt detection when using a Cray compiler wrapper
The Cray compiler wrappers will often add `-lrt` to the base compiler with `-static` linking (the default at most sites.) However, `-lrt` isn't automatically added with `-dynamic`. This means that if jemalloc was built with `-static`, but then used in a program with `-dynamic` jemalloc won't have detected that librt is a dependency. The integration and stress tests use -dynamic, which is causing undefined references to clock_gettime(). This just adds an extra check for librt (ignoring the autoconf cache) with `-dynamic` thrown. It also stops filtering librt from the integration tests. With this `make check` passes for: - PrgEnv-gnu - PrgEnv-intel - PrgEnv-pgi PrgEnv-cray still needs more work (will be in a separate patch.)
Diffstat (limited to 'include/jemalloc')
0 files changed, 0 insertions, 0 deletions