[PATCH] Add support for -R driver flag on OpenBSD

Joerg Sonnenberger joerg at britannica.bec.de
Tue Dec 17 01:22:21 PST 2013


On Mon, Dec 16, 2013 at 05:41:46PM -0800, Matthew Dempsky wrote:
> On Mon, Dec 16, 2013 at 5:26 PM, Joerg Sonnenberger
> <joerg at britannica.bec.de> wrote:
> > As I said on IRC,
> 
> [Should I have seen this IRC conversation?]
> 
> > I do not agree that this is a bug and consider this a
> > significant feature. As such I am strongly missing a test that this flag
> > is correctly rejected on other platforms. Without it, I can only object
> > to this...
> 
> Can you clarify what behavior you expect on other platforms?

I expect an error to be raised because -R is not a compiler flag. Just
because GCC used to pass all unknown junk to the linker doesn't mean it
is valid behavior that should be depended on.

Joerg



More information about the cfe-commits mailing list