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

Anton Korobeynikov anton at korobeynikov.info
Thu Feb 12 05:31:10 PST 2009


Hello, Jay

> 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

> Is it just me having this problem?
No.

> 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.

-- 
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University



More information about the llvm-dev mailing list