File tree Expand file tree Collapse file tree 1 file changed +6
-12
lines changed Expand file tree Collapse file tree 1 file changed +6
-12
lines changed Original file line number Diff line number Diff line change @@ -328,19 +328,13 @@ PATH="?"
328328 'configure' uses this to find programs.
329329
330330In some cases it may be necessary to work around configuration results that do
331- not match reality. For example, OS X 10.12 in conjunction with XCode 8 adds
332- the os_unfair_lock_*() API, but if XCode 8 is used to build jemalloc on older
333- versions of OS X, the configure script will determine that os_unfair_lock_*()
334- is compilable, yet run-time failures will result. To work around this
335- (ignoring that MACOSX_DEPLOYMENT_TARGET may be the correct fix), create a cache
336- file (called e.g. darwin.cache) with the following contents to override the
337- relevant configuration variable defined in configure.ac:
331+ not match reality. For example, Linux 4.5 added support for the MADV_FREE flag
332+ to madvise(2), which can cause problems if building on a host with MADV_FREE
333+ support and deploying to a target without. To work around this, use a cache
334+ file to override the relevant configuration variable defined in configure.ac,
335+ e.g.:
338336
339- je_cv_os_unfair_lock=no
340-
341- Invoke configure as such:
342-
343- ./configure --cache=darwin.cache
337+ echo "je_cv_madv_free=no" > config.cache && ./configure -C
344338
345339=== Advanced compilation =======================================================
346340
You can’t perform that action at this time.
0 commit comments