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

From: Will M. Farr (wmfarr at gmail.com)
Date: Sat Sep 10 21:33:34 EDT 2011

Thanks, Matthew!  It seems to build OK now.  


On Sep 11, 2011, at 6:42 AM, Matthew Flatt wrote:

> 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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 243 bytes
Desc: This is a digitally signed message part
URL: <http://lists.racket-lang.org/dev/archive/attachments/20110911/f45aef50/attachment.sig>

Posted on the dev mailing list.