aboutsummaryrefslogtreecommitdiff
path: root/INSTALL
diff options
context:
space:
mode:
authorJia Tan <jiat0218@gmail.com>2023-11-24 20:19:11 +0800
committerJia Tan <jiat0218@gmail.com>2023-11-30 20:05:09 +0800
commit20ecee40a0053fd16371ef0628046bf45e548d72 (patch)
treeedf7ccd46396ac86f2e75d06385e1adcf3a701a2 /INSTALL
parentBuild: Change --enable-ifunc handling. (diff)
downloadxz-20ecee40a0053fd16371ef0628046bf45e548d72.tar.xz
Docs: Update INSTALL for --enable_ifunc change.
Diffstat (limited to '')
-rw-r--r--INSTALL16
1 files changed, 8 insertions, 8 deletions
diff --git a/INSTALL b/INSTALL
index 8e263637..57f89cce 100644
--- a/INSTALL
+++ b/INSTALL
@@ -383,14 +383,6 @@ XZ Utils Installation
required extensions (-msse4.1 -mpclmul) then runtime
detection isn't used and the generic code is omitted.
- --disable-ifunc
- Disable the use of __attribute__((__ifunc__())) for
- function dispatching even if support is detected.
-
- The ifunc attribute is incompatible with
- -fsanitize=address so it may need to be disabled in
- debug builds with extra instrumentation.
-
--enable-unaligned-access
Allow liblzma to use unaligned memory access for 16-bit,
32-bit, and 64-bit loads and stores. This should be
@@ -522,6 +514,14 @@ XZ Utils Installation
calls any liblzma functions from more than
one thread, something bad may happen.
+ --enable-ifunc
+ Use __attribute__((__ifunc__())) in liblzma. This is
+ enabled by default on GNU/Linux and FreeBSD.
+
+ The ifunc attribute is incompatible with
+ -fsanitize=address. --disable-ifunc must be used
+ if any -fsanitize= option is specified in CFLAGS.
+
--enable-sandbox=METHOD
There is limited sandboxing support in the xz tool. If
built with sandbox support, it's used automatically when