pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: clang patch to build on solaris

Le 17/12/13 18:06, Richard PALO a écrit :
I believe this may need a bit wider testing on solaris, but with this
patched Makefile pkgsrc clang seems to build okay and work, at least on
the few programs I've tested.

I've built with pkgsrc gcc 4.8.2 and builtin gcc 4.7.3 on OpenIndiana.

NB: solaris `ld' is found through paths, so it is probably neither a
good idea to use or build with */gnu/bin in your path.

This could probably be fixed by hardcoding the path to ld in place of
the call to 'getToolChain().GetProgramPath("ld")' in
clang/lib/Driver/Tools.cpp but I obstained from doing that for now...

Given the imminent release of 3.4, that would be probably a good time to


Unfortunately during cleanup I inversed a test.

The latest patch can be found :

Home | Main Index | Thread Index | Old Index