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

Bill Wendling isanbard at gmail.com
Mon May 18 13:39:18 PDT 2009


On Mon, May 18, 2009 at 1:30 PM, Duncan Sands <baldrick at free.fr> wrote:
> 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 agree!

> I'm not planning to look into it though.
>
I wouldn't suggest it either. :-) This way lies madness.

-bw




More information about the llvm-commits mailing list