Bug#596970: clang: can't link after compiling with -O4

2011-06-21 Thread Sylvestre Ledru
Hello, Le mardi 21 juin 2011 à 01:15 -0400, Anders Kaseorg a écrit : To link the output of ‘clang -O4’, you need to have binutils-gold and the LLVM gold plugin (LLVMgold.so) installed, and link with ‘clang -use-gold-plugin’. The Debian package currently doesn’t build or install the gold

Bug#596970: clang: can't link after compiling with -O4

2011-06-21 Thread Anders Kaseorg
On Tue, 21 Jun 2011, Sylvestre Ledru wrote: I believe it is a different problem. Could you report a new bug ? Done: http://bugs.debian.org/631178 Anders -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact

Bug#596970: clang: can't link after compiling with -O4

2011-06-21 Thread Michael Wild
On 06/21/2011 09:29 AM, Sylvestre Ledru wrote: Hello, Le mardi 21 juin 2011 à 01:15 -0400, Anders Kaseorg a écrit : To link the output of ‘clang -O4’, you need to have binutils-gold and the LLVM gold plugin (LLVMgold.so) installed, and link with ‘clang -use-gold-plugin’. The Debian

Bug#596970: clang: can't link after compiling with -O4

2011-06-20 Thread Anders Kaseorg
To link the output of ‘clang -O4’, you need to have binutils-gold and the LLVM gold plugin (LLVMgold.so) installed, and link with ‘clang -use-gold-plugin’. The Debian package currently doesn’t build or install the gold plugin. But that should easy to fix: 1. Adding binutils-dev (=

Bug#596970: clang: can't link after compiling with -O4

2010-09-15 Thread Salvo Tomaselli
Package: clang Version: 2.7-3 Severity: normal clang's manpage shows that -O4 is an optimization level to perform link time optimizations. To do this, the .o files are in truth LLVM bytecode and at link time the linker should put them together, perform the optimizations and generate the binary.