Opened 4 years ago

Closed 4 years ago

#7569 closed bug (fixed)

Does not correctly detect float/double Haskell types when cross-compiling

Reported by: singpolyma Owned by: simonmar
Priority: high Milestone: 7.8.1
Component: libraries/base Version: 7.6.1
Keywords: cross-compiling Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: Building GHC failed Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:


As described on the mailing list, the way that the check for floating point types is implemented in aclocal.m4 gives an error in cross-compiling mode and thus fails to detect that float/double are supported.

The possible patch is attached here.

Attachments (1)

0001-Possible-fix-for-detecting-Float-Double.patch (4.1 KB) - added by singpolyma 4 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 Changed 4 years ago by singpolyma

  • Status changed from new to patch

comment:2 Changed 4 years ago by StephenBlackheath

I'd like endorse singpolyma's patch by saying that it works and is needed for cross-compiling.

comment:3 Changed 4 years ago by simonmar

  • difficulty set to Unknown
  • Milestone set to 7.8.1
  • Owner set to simonmar
  • Priority changed from normal to high

Patch seems to work here. I'll validate and commit.

comment:4 Changed 4 years ago by simonmar

  • Resolution set to fixed
  • Status changed from patch to closed
commit c7265596afcc4a89e6fe80dc4c3830ac67a4988d
Author: Stephen Paul Weber <>
Date:   Mon Jan 7 16:50:34 2013 -0500

    Possible fix for detecting Float/Double
Note: See TracTickets for help on using tickets.