diff options
author | Dmitry Antipov <[email protected]> | 2014-05-13 15:12:05 +0400 |
---|---|---|
committer | Dmitry Antipov <[email protected]> | 2014-05-13 15:12:05 +0400 |
commit | bd098f41af3d0201d6b8156ecb577dbff53fa50c (patch) | |
tree | 1e78f6c3afaaa4160f91fbf8b5aacb689b6a79b8 /etc | |
parent | 001da405b606c58b45e3526af8fadad39a6c4dbf (diff) |
* 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/ChangeLog | 5 | ||||
-rw-r--r-- | etc/PROBLEMS | 14 |
2 files changed, 19 insertions, 0 deletions
diff --git a/etc/ChangeLog b/etc/ChangeLog index 3eb1c564fa..ea0db24072 100644 --- a/etc/ChangeLog +++ b/etc/ChangeLog @@ -1,3 +1,8 @@ +2014-05-13 Dmitry Antipov <[email protected]> + + * PROBLEMS: Mention potential problems with + --enable-link-time-optimization and clang on Fedora 20. + 2014-05-04 Leo Liu <[email protected]> * NEWS: Mention support for Chinese dates in calendar and diary. diff --git a/etc/PROBLEMS b/etc/PROBLEMS index cf025ce4b9..6ea699384f 100644 --- a/etc/PROBLEMS +++ b/etc/PROBLEMS @@ -836,6 +836,20 @@ you want to use fcitx with Emacs, you have two choices. Toggle fcitx by another key (e.g. C-\) by modifying ~/.fcitx/config, or be accustomed to use C-@ for `set-mark-command'. +*** Link-time optimization with clang doesn't work on Fedora 20. + +As of May 2014, Fedora 20 has broken LLVMgold.so plugin support in clang +(tested with clang-3.4-6.fc20) - `clang --print-file-name=LLVMgold.so' +prints `LLVMgold.so' instead of full path to plugin shared library, and +`clang -flto' is unable to find the plugin with the following error: + +/bin/ld: error: /usr/bin/../lib/LLVMgold.so: could not load plugin library: +/usr/bin/../lib/LLVMgold.so: cannot open shared object file: No such file +or directory + +The only way to avoid this is to build your own clang from source code +repositories, as described at http://clang.llvm.org/get_started.html. + *** M-SPC seems to be ignored as input. See if your X server is set up to use this as a command |