On 06/08/2011 02:23 PM, Sylvestre Ledru wrote: > Le mercredi 08 juin 2011 à 13:24 +0200, Michael Wild a écrit : >> This is caused by a recent modification in libc6-dev (source eglibc), >> presumably for multi-arch support. Attached patch teaches Clang to >> search these directories. > Great, thanks. > Is it a backport from an upstream patch or you wrote it yourself ?
I wrote it myself and forwarded it upstream: http://llvm.org/bugs/show_bug.cgi?id=10100 (as is noted in debian/patches/11-searchMultiArchLibDir.patch). As I remarked there, I'm not entirely happy with it, because of the confusion of gcc-triplets (/usr/lib/i386-linux-gnu vs. /usr/lib/gcc/i486-linux-gnu/) it makes the code potentially brittle. IMHO I would prefer it if the Clang developers just ditched this whole magic guess-work code and made the header and file search paths configurable with config files. Michael -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

