Opened 5 years ago

Closed 5 years ago

Last modified 11 months ago

#9597 closed bug (fixed)

config.guess too old to detect system type under msys2

Reported by: gintas Owned by: hvr
Priority: normal Milestone:
Component: Build System (make) Version: 7.9
Keywords: Cc:
Operating System: Windows Architecture: Unknown/Multiple
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:


The version of config.guess in the GHC repository is too old to correctly detect the system type when running under msys2, which causes ./configure to fail. The attached patch updates config.guess to the latest version which deals with msys2 correctly.

Attachments (1)

0001-Updated-config.guess-and-config.sub-from-upstream.patch (10.9 KB) - added by gintas 5 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 5 years ago by gintas

Status: newpatch

comment:2 Changed 5 years ago by hvr

Owner: set to hvr

I was planning to update all config.{guess,sub} files soon anyway (I hit the very same issue you encountered a few weeks ago, but thought I was using the wrong msys2 .bat file)

comment:3 Changed 5 years ago by Herbert Valerio Riedel <hvr@…>

In 72d6d0c2704ee6d984df45f7393c399c0f62a9a9/ghc:

Update config.{guess,sub} to GNU automake 1.14.1

The new versions should work better under MSYS2

A few submodules' `config.{guess,sub}` files were updated as well

With this commit, all config.{guess,sub} files in the GHC tree have the md5sums

    0fb81517303511f05a01b14f41cec2cf  config.guess
    d2a165dceaa5ac1edba3c512f6ca7bd1  config.sub

This addresses #9597

comment:4 Changed 5 years ago by hvr

Resolution: fixed
Status: patchclosed

comment:5 Changed 11 months ago by bgamari

Component: Build SystemBuild System (make)

The new Hadrian build system has been merged. Relabeling the tickets concerning the legacy make build system to prevent confusion.

Note: See TracTickets for help on using tickets.