[cfe-commits] Fix search path for clang on latest DragonFly releases

Rafael EspĂ­ndola rafael.espindola at gmail.com
Mon Nov 26 05:55:05 PST 2012


> Yes, it is passing multiple -L's to the linker.  Is that in itself a
> problem?  Doesn't the linker check in the -L order and stop when the sought
> library is found?

It can get you very interesting bugs if the contents of the
directories are different.

> As far as testing, this patch has been applied to the pkgsrc clang 3.1
> package.  I know it works for the current release featuring gcc 4.7, and
> verifying gcc 4.4 should be a simple matter of checking an earlier DragonFly
> release that doesn't have gcc 4.7 available, so I can do that.
>
> I was just trying to keep the patch simple.

It *needs* a test anyway. The code in the driver needs refactoring, so
it is double important that we test it. The test should go to
clang/test/Driver/.

> John

Cheers,
Rafael



More information about the cfe-commits mailing list