[LLVMdev] problems running test suite (-mllvm -disable-llvm-optzns)

Duncan Sands baldrick at free.fr
Thu Feb 12 06:03:51 PST 2009


Hi,

> > I guess this is because the test suite is trying to run "llvm-gcc
> > -mllvm -disable-llvm-optzns", which never seems to work, because
> > llvm-gcc mangles the command line before it gets to cc1plus.
> That's correct. The driver changes the order of the options provided.
> You need to provided this option to cc1 / cc1plus directly

Dan fixed this recently in svn IIRC - I don't think it's in the
prerelease candidate.

> 
> > Is it just me having this problem?
> No.

Yes :)

> > How can I fix it?
> No idea, but I guess you can either hack on gcc specs. Or don't use
> this option at all - this is intended only for internal debugging
> purposes, so I doubt anyone will be really interested in fixing this.

Ciao,

Duncan.



More information about the llvm-dev mailing list