building clang-3.4 on 10.6.8

Ryan Schmidt ryandesign at
Sun Jan 12 13:48:08 PST 2014

On Jan 12, 2014, at 12:50, Ryan Schmidt wrote:

> On Jan 12, 2014, at 11:24, René J.V. Bertin wrote:
>> On Sunday January 12 2014 10:31:32 you wrote:
>>> If a port cannot be built with a particular compiler, that port should blacklist that compiler.
>>> clang-3.3 is successfully installed on my 10.6 machine using gcc 4.2. I haven’t tried clang-3.4 there yet. If it does not build with gcc-4.2, file a ticket, if one does not already exist for that.
>> Is there a command to (re)build a port without installing/touching the version that is currently installed?
> Yes, you could:
> sudo port clean clang-3.4
> sudo port -s destroot clang-3.4
> If this fails, you’ll have a main.log file you can attach to a ticket. If it succeeds and you want to replace your existing gcc-4.8-compiled clang-3.4 with this one, you can then:
> sudo port -f uninstall clang-3.4
> sudo port -s install clang-3.4

I also see a build failure on Snow Leopard, for which I filed this ticket:

Maybe this is the same problem you were seeing.

More information about the macports-users mailing list