Re: HEAD clang failures due to unknown arguments

2014-03-29 Thread Dimitry Andric
On 29 Mar 2014, at 05:43, Dmitry Marakasov amd...@amdmi3.ru wrote: Are we to fix new clang failures related to that clang now treats unknown arguments as fatal errors: --- c++: error: unknown argument: '-R/usr/local/lib' --- Yes, just replace -R/usr/local/lib with

Re: HEAD clang failures due to unknown arguments

2014-03-29 Thread Dmitry Marakasov
* Dimitry Andric (d...@freebsd.org) wrote: Are we to fix new clang failures related to that clang now treats unknown arguments as fatal errors: --- c++: error: unknown argument: '-R/usr/local/lib' --- Yes, just replace -R/usr/local/lib with -Wl,-rpath,/usr/local/lib. This is

Re: HEAD clang failures due to unknown arguments

2014-03-29 Thread Dimitry Andric
On 29 Mar 2014, at 13:46, Dmitry Marakasov amd...@amdmi3.ru wrote: * Dimitry Andric (d...@freebsd.org) wrote: Are we to fix new clang failures related to that clang now treats unknown arguments as fatal errors: --- c++: error: unknown argument: '-R/usr/local/lib' --- Yes, just replace

Re: HEAD clang failures due to unknown arguments

2014-03-29 Thread Dmitry Marakasov
* Dimitry Andric (d...@freebsd.org) wrote: I've just removed them and it worked. Or is there a reason for rpath to system lib directory? It seems that -rpath is sometimes used gratuitously, indeed. Though it can sometimes be necessary, if shared libraries are installed into non-standard

HEAD clang failures due to unknown arguments

2014-03-28 Thread Dmitry Marakasov
Hi! Are we to fix new clang failures related to that clang now treats unknown arguments as fatal errors: --- c++: error: unknown argument: '-R/usr/local/lib' --- or this is planned to be addressed in some global way (e.g. clang patched, or Uses/compiler.mk features to check for certain options