aboutsummaryrefslogtreecommitdiffstats
path: root/INSTALL
diff options
context:
space:
mode:
authorPaul Eggert2017-08-29 14:52:57 -0700
committerPaul Eggert2017-08-29 14:58:49 -0700
commit9b4b2e9fc8dfd37ad8f44940a16330c477f896ea (patch)
tree5bef08feb71816f3de5805465d966514ca13ff4b /INSTALL
parente13bdfee1742a7cc1eff5dc3bfbe2d71ea3532ef (diff)
downloademacs-9b4b2e9fc8dfd37ad8f44940a16330c477f896ea.tar.gz
emacs-9b4b2e9fc8dfd37ad8f44940a16330c477f896ea.zip
Be more conservative in link time optimization doc
While testing --enable-link-time-optimization with GCC 7.1.1 I ran into a serious GCC code-generation bug which makes me think that --enable-link-time-optimization should be discouraged for typical installs (Bug#28213). See: https://bugzilla.redhat.com/show_bug.cgi?id=1486455
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL18
1 files changed, 7 insertions, 11 deletions
diff --git a/INSTALL b/INSTALL
index 33084b9da38..b018055f028 100644
--- a/INSTALL
+++ b/INSTALL
@@ -339,17 +339,13 @@ Use --disable-silent-rules to cause 'make' to give more details about
339the commands it executes. This can be helpful when debugging a build 339the commands it executes. This can be helpful when debugging a build
340that goes awry. 'make V=1' also enables the extra chatter. 340that goes awry. 'make V=1' also enables the extra chatter.
341 341
342Use --enable-link-time-optimization to enable link-time optimizer. If 342Use --enable-link-time-optimization to enable link-time optimization.
343you're using GNU compiler, this feature is supported since version 4.5.0. 343With GCC, you need GCC 4.5.0 and later, and 'configure' arranges for
344If 'configure' can determine number of online CPUS on your system, final 344linking to be parallelized if possible. With Clang, you need GNU
345link-time optimization and code generation is executed in parallel using 345binutils with the gold linker and plugin support, along with the LLVM
346one job per each available online CPU. 346gold plugin <http://llvm.org/docs/GoldPlugin.html>. Link time
347 347optimization is not the default as it tends to cause crashes and to
348This option is also supported for clang. You should have GNU binutils 348make Emacs slower.
349with 'gold' linker and plugin support, and clang with LLVMgold.so plugin.
350Read http://llvm.org/docs/GoldPlugin.html for details. Also note that
351this feature is still experimental, so prepare to build binutils and
352clang from the corresponding source code repositories.
353 349
354The '--prefix=PREFIXDIR' option specifies where the installation process 350The '--prefix=PREFIXDIR' option specifies where the installation process
355should put emacs and its data files. This defaults to '/usr/local'. 351should put emacs and its data files. This defaults to '/usr/local'.