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

Chandler Carruth chandlerc at google.com
Sun Jan 26 01:34:53 PST 2014


I don't have any specific experience with this flag, but I don't really
like adding it.

Top-of-tree GCC doesn't document any such flag. I don't know what version
of GCC supports it or why. But I also don't understand why it is necessary
to support it. Why not just use '-Wl,-R...' to directly pass the flag to
the linker?

I would really prefer to not widen the clang drivers singe-letter-flag
surface more if at all possible, and it feels like there is a very direct
and clean way to support the desired functionality here.


On Sun, Jan 26, 2014 at 1:13 AM, Brad Smith <brad at comstyle.com> wrote:

> On 09/01/14 5:41 PM, Brad Smith wrote:
>
>> On 17/12/13 6:39 PM, Matthew Dempsky wrote:
>>
>>> On Tue, Dec 17, 2013 at 10:58:30PM +0100, Joerg Sonnenberger wrote:
>>>
>>>> Because using -R/usr/local/lib has been actively creating harm.
>>>>
>>>
>>> Can you provide some concrete examples?
>>>
>>> Regardless, I've attached a revised patch that emits an error when
>>> -R/usr/local/lib is specified on the command-line but it's not claimed
>>> by the driver.  Please review.
>>>
>>
>> ping.
>>
>
> Hello? Earth to developers.
>
>
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140126/d59cc69a/attachment.html>


More information about the cfe-commits mailing list