Summary
chicken 4.8.0 is broken on 32-bit OS X
Metadata
- Id: 5414df9069e90999a5bd9bb632d660e60da661ac
- Trac id: 1021
- Type: defect
- Reporter: zbigniew
- Owner: zbigniew
- Cc:
- Status: closed
- Component: unknown
- Estimated difficulty:
- Resolution: fixed
- Priority: major
- Milestone: someday
- Version: 4.8.x
- Changetime: 2013-07-19 21:58:53 UTC
- Created: 2013-07-15 22:31:53 UTC
- Keywords:
Description
As originally noted in https://lists.nongnu.org/archive/html/chicken-users/2013-01/msg00015.html
chicken 4.8.0 raises a bus error when built in 32-bit mode on 64-bit Macs.
Working with pinkiesOut on #chicken we found it does the same thing for 32-bit Macs, such as Core Duo.
However, we verified 4.7.0.6 works fine in 32-bit mode on either 32 or 64 bit Macs. Therefore, something happened between 4.7.0.6 and 4.8.0.
(On a 64-bit Mac, you can build in 32-bit mode with the following. 32-bit macs don't need this:)
make PLATFORM=macosx ARCH=x86 C_COMPILER_OPTIONS="-no-cpp-precomp -fno-strict-aliasing -fwrapv -fno-common -DHAVE_CHICKEN_CONFIG_H -m32" ASSEMBLER_OPTIONS="-m32" LINKER_OPTIONS="-m32"
Proposal: bisect the versions and figure out where things went wrong.
Changes and comments
[2013-07-15 23:28:22 UTC] zbigniew wrote:
4.7.4 dev snapshot works but 4.8.0 snapshot does not.
For future reference:
these LLVM patches are needed when building 4.7.0-4.7.3: 385245ca69c0 55bce3a0a these LLVM patches are needed when building 4.7.4: 55bce3a0a
[2013-07-16 00:44:16 UTC] zbigniew wrote:
After thorough investigation, the culprit seems to be the sigsetjmp buffer size bug, which is already fixed in unreleased 4.8.0.4 (haha joke is on me).
[2013-07-19 21:58:53 UTC] zbigniew changed status from new to closed
[2013-07-19 21:58:53 UTC] zbigniew set resolution to fixed
[2013-07-19 21:58:53 UTC] zbigniew wrote:
Fixed in 4.8.0.4.