Opened 5 years ago

Closed 5 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:

Description

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 5 years ago.

Download all attachments as: .zip

Change History (5)

Changed 5 years ago by singpolyma

comment:1 Changed 5 years ago by singpolyma

Status: newpatch

comment:2 Changed 5 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 5 years ago by simonmar

difficulty: Unknown
Milestone: 7.8.1
Owner: set to simonmar
Priority: normalhigh

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

comment:4 Changed 5 years ago by simonmar

Resolution: fixed
Status: patchclosed
commit c7265596afcc4a89e6fe80dc4c3830ac67a4988d
Author: Stephen Paul Weber <singpolyma@singpolyma.net>
Date:   Mon Jan 7 16:50:34 2013 -0500

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