Opened 11 years ago
Closed 11 years ago
#1021 closed defect (fixed)
chicken 4.8.0 is broken on 32-bit OS X
Reported by: | Jim Ursetto | Owned by: | Jim Ursetto |
---|---|---|---|
Priority: | major | Milestone: | someday |
Component: | unknown | Version: | 4.8.x |
Keywords: | Cc: | ||
Estimated difficulty: |
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.
Change History (3)
comment:1 Changed 11 years ago by
comment:2 Changed 11 years ago by
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).
4.7.4 dev snapshot works but 4.8.0 snapshot does not.
For future reference: