orlyatomics/orly — pull request #7 by cmaloney (2014-04-15 23:59:32+00:00)
Title: Clang

This branch/PR switchins Orly to be compiled (And compile it's software with) the Clang compiler/toolchain.

There are a couple generic fixes that apply to gcc as well (See PR #6)

This is tested against clang 3.4.1-rc1 where all of our tests compile and pass.

The tentative plan is to merge this once 3.4.1 is released and I package it for the platforms we use (Ubuntu, ArchLinux). At that point we will finally jump compilers.

Note: The LTO patch is temporary / will be removed before merge (The clang built for release testing of 3.4.1 doesn't find gold on ubuntu and ArchLinux. Requires a distro-specific patch since they rename gold to be ld.gold so it can live alongside classic binutils ld)