It appears that in LLVM 2.4, llvm-ld no longer accepts -On options to control optimisation. 1. This isn't mentioned in the 2.4 release notes. 2. The man page (http://llvm.org/cmds/llvm-ld.html) still mentions -On in a couple of places. I only noticed this because we have a "gcc"-like driver program which was passing through any -O options to the linker (even though the linker was probably ignoring them). Thanks, Jay.
On Jan 9, 2009, at 8:22 AM, Jay Foad wrote:> It appears that in LLVM 2.4, llvm-ld no longer accepts -On options to > control optimisation.LLVM 2.3 and previously accepted and ignored them, llvm-ld now rejects them. A lot of the llvm-ld man page were theoretical features that were never implemented unfortunately.> 1. This isn't mentioned in the 2.4 release notes.Sorry.> 2. The man page (http://llvm.org/cmds/llvm-ld.html) still mentions -On > in a couple of places.Fixed. -Chris
>> It appears that in LLVM 2.4, llvm-ld no longer accepts -On options to >> control optimisation. > > LLVM 2.3 and previously accepted and ignored them, llvm-ld now rejects > them. A lot of the llvm-ld man page were theoretical features that > were never implemented unfortunately.Fair enough.>> 2. The man page (http://llvm.org/cmds/llvm-ld.html) still mentions -On >> in a couple of places. > > Fixed.Thanks! Jay.