One other fix that was added is a -ffreestanding issue: until fairly recently (end of August), clang/llvm optimized out code that checked the contents of memory returned by malloc...even when compiling in -ffreestanding mode; this broke musl.

11-26-2012, 02:30 AM

elanthis

Quote:

Originally Posted by The Article

better inoperability with GCC

So the new Clang will make GCC more inoperable? :p

Quote:

Originally Posted by bachinchi

Quote:

C++ exception handling

Just saying.

But why are you saying? Exception handling is one of the more complex parts of the C++ ABI and can take a lot of work to get running properly for any particular platform, especially if that platform does not use a similar ABI to another (e.g. like how the Itanium C++ ABI is the de facto standard for Linux on X86, x86_64, and I believe several other architectures, which makes porting to said architectures much easier).