[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-janitors] #771: llvm-gcc hang on OS X 10.7
From: |
Chicken Trac |
Subject: |
[Chicken-janitors] #771: llvm-gcc hang on OS X 10.7 |
Date: |
Tue, 03 Jan 2012 18:51:04 -0000 |
#771: llvm-gcc hang on OS X 10.7
----------------------+-----------------------------------------------------
Reporter: zbigniew | Owner:
Type: defect | Status: new
Priority: minor | Milestone:
Component: compiler | Version: 4.7.x
Keywords: |
----------------------+-----------------------------------------------------
ddp may have found the root cause of hanging of chicken binaries compiled
with llvm-gcc: http://blog.phusion.nl/2011/12/30/xcode-4-ships-a-buggy-
compiler/
The current workaround is to force gcc-4.2 during compilation. However,
Xcode 4.2 (shipped in November) removes plain gcc-4.2. Since this breaks
Ruby's garbage collector, I assume either Apple will provide a fix or Ruby
will work around it (which fix we should adopt).
The usual solution for non-alloca platforms is to use a stub function to
take the address of a local variable (requiring compiler support for
noinline). If the workaround becomes necessary, I would want to target it
as narrowly as possible, as it is ugly. The remaining question is how
narrowly it can be targeted.
--
Ticket URL: <https://bugs.call-cc.org/ticket/771>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.
- [Chicken-janitors] #771: llvm-gcc hang on OS X 10.7,
Chicken Trac <=