[racket-dev] Using clang to Build Racket on Mac OS X

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Sat Sep 10 17:42:32 EDT 2011

At Wed, 27 Jul 2011 10:38:44 -0500, "Will M. Farr" wrote:
> The only wart in the process is the following: when compiling with clang or 
> llvm-gcc with the -O4 option, which enables link-time optimization in the LLVM 
> backend, the GC is unable to correctly determine the stack growth direction.  
> Unfortunately, the configure script doesn't realize that it cannot determine 
> the direction---apparently the test gets it wrong, but appears successful---so 
> supplying the direction manually via the configure argument doesn't work.  The 
> build fails when first trying to run raco setup when the GC notes that the 
> stack growth is inconsistent with its assumptions.  

I've pushed a fix for this problem, along with other changes to avoid
warnings when compiling with clang.



Posted on the dev mailing list.