[cfe-dev] error: unknown argument: '-ffoo' => reason ?

Rafael EspĂ­ndola rafael.espindola at gmail.com
Tue Jan 21 19:27:08 PST 2014


>> We do try to ignore GCC options that are safe to ignore, so a patch
>> ignoring the ones that are causing you trouble is probably fine.
>>
> OK. Thanks for the information.
>
> There are quite some items with their occurrences:
>       2 '-falign-jumps=2'
>       2 '-fcheck-new'
>      33 '-fexcess-precision=standard'
>       2 '-fforce-addr'
>       2 '-ffriend-injection'
>       2 '-fgcse-after-reload'
>       6 '-finline-limit='
>       2 '-finput-charset=UTF-8'
>       6 '-fno-check-new'
>      40 '-fno-defer-pop'
>       4 '-fno-delete-null-pointer-checks'
>       1 '-fno-implement-inlines'
>       1 '-fno-tree-ter'
>      11 '-fno-tree-vrp'
>       4 '-frename-registers'
>       2 '-frerun-loop-opt'
>       2 '-fsingle-precision-constant'
>       2 '-fstack-check'
>       2 '-fuse-linker-plugin'
>       2 '-fvar-tracking'
>       7 '-gnatea'
>       2 '-gnatec=foo'
>       2 '-malign-double'
>       2 '-malign-jumps=1'
>       4 '-print-multiarch'
>       4 '-z'
>
> Do you think I should ignore (all/most) them?

At least all the ones that just enable or disable a pass. Things like
-malign-double would probably turn a build error into a miscompilation
if ignored, so probably not.

Cheers,
Rafael



More information about the cfe-dev mailing list