[haiku-development] Re: Clang and LLVM self hosting

  • From: Grzegorz Dąbrowski <grzegorz.dabrowski@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Fri, 25 Jun 2010 19:32:38 +0200

On Fri, Jun 25, 2010 at 12:28 PM, Stephan Assmus <superstippi@xxxxxx> wrote:
> Kaliber already provided some patches in a ticket, of which I applied the
> part that I could understand myself. His math.h patch in particular looked
> weird to me, so I didn't apply it.
>
> See http://dev.haiku-os.org/ticket/5892

Yesterday I've compiled[1] Haiku with Clang finally. Unfortunately,
the kernel doesn't boot, probably because of a workaround of clang bug
in the headers/private/kernel/util/AVLTree.h [2]

Also, I've created meta bug for compiling haiku with clang -
http://llvm.org/bugs/show_bug.cgi?id=7207. As you can see, there are a
few compiler bugs.

[1] 
http://svn.gna.org/viewcvs/pingwinek/trunk/projects/tiltos/haiku-clang-llvm-hacks.patch
[2] http://llvm.org/bugs/show_bug.cgi?id=7118

-- 
Grzegorz Dąbrowski (kaliber)
http://tiltos.com
http://home.gna.org/pingwinek/

Other related posts: