aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorDmitry Antipov2014-05-13 15:12:05 +0400
committerDmitry Antipov2014-05-13 15:12:05 +0400
commitbd098f41af3d0201d6b8156ecb577dbff53fa50c (patch)
tree1e78f6c3afaaa4160f91fbf8b5aacb689b6a79b8 /etc
parent001da405b606c58b45e3526af8fadad39a6c4dbf (diff)
downloademacs-bd098f41af3d0201d6b8156ecb577dbff53fa50c.tar.gz
emacs-bd098f41af3d0201d6b8156ecb577dbff53fa50c.zip
* configure.ac (--enable-link-time-optimization): Add clang support.
* INSTALL: Mention it. * etc/PROBLEMS: Mention potential problems with --enable-link-time-optimization and clang on Fedora 20.
Diffstat (limited to 'etc')
-rw-r--r--etc/ChangeLog5
-rw-r--r--etc/PROBLEMS14
2 files changed, 19 insertions, 0 deletions
diff --git a/etc/ChangeLog b/etc/ChangeLog
index 3eb1c564fad..ea0db240725 100644
--- a/etc/ChangeLog
+++ b/etc/ChangeLog
@@ -1,3 +1,8 @@
12014-05-13 Dmitry Antipov <dmantipov@yandex.ru>
2
3 * PROBLEMS: Mention potential problems with
4 --enable-link-time-optimization and clang on Fedora 20.
5
12014-05-04 Leo Liu <sdl.web@gmail.com> 62014-05-04 Leo Liu <sdl.web@gmail.com>
2 7
3 * NEWS: Mention support for Chinese dates in calendar and diary. 8 * NEWS: Mention support for Chinese dates in calendar and diary.
diff --git a/etc/PROBLEMS b/etc/PROBLEMS
index cf025ce4b9e..6ea699384f1 100644
--- a/etc/PROBLEMS
+++ b/etc/PROBLEMS
@@ -836,6 +836,20 @@ you want to use fcitx with Emacs, you have two choices. Toggle fcitx
836by another key (e.g. C-\) by modifying ~/.fcitx/config, or be 836by another key (e.g. C-\) by modifying ~/.fcitx/config, or be
837accustomed to use C-@ for `set-mark-command'. 837accustomed to use C-@ for `set-mark-command'.
838 838
839*** Link-time optimization with clang doesn't work on Fedora 20.
840
841As of May 2014, Fedora 20 has broken LLVMgold.so plugin support in clang
842(tested with clang-3.4-6.fc20) - `clang --print-file-name=LLVMgold.so'
843prints `LLVMgold.so' instead of full path to plugin shared library, and
844`clang -flto' is unable to find the plugin with the following error:
845
846/bin/ld: error: /usr/bin/../lib/LLVMgold.so: could not load plugin library:
847/usr/bin/../lib/LLVMgold.so: cannot open shared object file: No such file
848or directory
849
850The only way to avoid this is to build your own clang from source code
851repositories, as described at http://clang.llvm.org/get_started.html.
852
839*** M-SPC seems to be ignored as input. 853*** M-SPC seems to be ignored as input.
840 854
841See if your X server is set up to use this as a command 855See if your X server is set up to use this as a command