OpenJDK 7 build fails on Snow Leopard

John Rose John.Rose at Sun.COM
Fri Oct 2 18:47:15 PDT 2009


Thanks for the tip, Mike.  I suppose this is the compiler you mean:  / 
Developer/usr/llvm-gcc-4.2/bin/llvm-gcc-4.2

I can't resist asking:  Will code from llvm-gcc work better with / 
Developer/usr/bin/gdb ?  (Obviously I'm hoping for an easy fix.)

The stack alignment logic on function entry, which gdb appears not to  
know about, makes it hopelessly confused about arguments.  One  
developer I know just switched back to Solaris from Mac because of this.

-- John

On Oct 2, 2009, at 6:29 PM, Mike Swingler wrote:

> It might also be worth giving llvm-gcc a try, since that is what we  
> use to compile the Java SE 6 in Snow Leopard. It uses gcc's front- 
> end, and llvm's code generating back-end. I encountered similar  
> crashes using GCC 4.2, and they don't look obvious to isolate, let  
> alone resolve.



More information about the mlvm-dev mailing list