[llvm-commits] [llvm] r71986 - /llvm/trunk/test/FrontendC/2009-05-17-AlwaysInline.c

Duncan Sands baldrick at free.fr
Mon May 18 13:30:30 PDT 2009


Hi Bill,

> I doubt it. The log file shows that it's using "llvm-gcc". This must
> be a release-mode deal, as it's failing in release mode for me (and
> not just self-hosting). Here's an option. Use "-disable-llvm-optzns"
> instead of "--disable-llvm-optzns". It seems that '--' is converted to
> '-f' in gcc. I have no clue why:
> 
> $ /Developer/usr/bin/llvm-gcc -c t.c -o /dev/null -mllvm --relocation-model=pic
> cc1: for the -relocation-model=pic option: : may only occur zero or one times!
> 
> $ /Developer/usr/bin/llvm-gcc -c t.c -o /dev/null -mllvm --relocation-model=pic
> cc1: Unknown command line argument '-frelocation-model=pic'.  Try: 'cc1 --help'

that's... very strange!  I'm not planning to look into it though.

Ciao,

Duncan.



More information about the llvm-commits mailing list