[Bug 1254970] Re: clang failed to link binaries when -flto option is used.

2013-11-25 Thread Deng Yao
** Description changed: - clang-3.3/3.4 cannot link a simple binaries if -flto option is used (in + clang-3.3/3.4 cannot link a simple binary if -flto option is used (in order to enable link-time-optimization), probably due to incorrect packaging of LLVMgold.so which can be found in /usr/lib

[Bug 1254970] [NEW] clang failed to link binaries when -flto option is used.

2013-11-25 Thread Deng Yao
Public bug reported: clang-3.3/3.4 cannot link a simple binaries if -flto option is used (in order to enable link-time-optimization), probably due to incorrect packaging of LLVMgold.so which can be found in /usr/lib/llvm-/lib/LLVMgold.so, however the gold linker only searchs /usr/lib for LLVMgold.