Opened 6 years ago

Closed 6 years ago

#1021 closed defect (fixed)

chicken 4.8.0 is broken on 32-bit OS X

Reported by: zbigniew Owned by: zbigniew
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 6 years ago by zbigniew

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

comment:2 Changed 6 years ago by zbigniew

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

comment:3 Changed 6 years ago by zbigniew

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in 4.8.0.4.

Note: See TracTickets for help on using tickets.