Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 607142 - dev-lang/ghc fails to configure on i486-pc-linux-gnu
Summary: dev-lang/ghc fails to configure on i486-pc-linux-gnu
Status: RESOLVED DUPLICATE of bug 531016
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal major (vote)
Assignee: Gentoo's Haskell Language team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-25 07:52 UTC by Thomas de Grivel
Modified: 2017-01-25 19:47 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
GHC build log (build.log,6.35 KB, text/x-log)
2017-01-25 07:52 UTC, Thomas de Grivel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas de Grivel 2017-01-25 07:52:36 UTC
Created attachment 461326 [details]
GHC build log

After a quick search I have seen a couple of unresolved similar problems in the forums. The problem is the same with the ::gentoo stable version of ghc. This is for ::haskell

The problem seems to be that the binary haskell distribution is not compatible out of the box with the i486-pc-linux-gnu toolchain. However it might just be enough to review the ghc code to see if an environment variable can be set to determine which CC to use and bypass the autotools detection completely.

To reproduce : install Gentoo i486 stage3, emerge ghc.
Comment 1 Sergei Trofimovich (RETIRED) gentoo-dev 2017-01-25 19:47:43 UTC
The main problem here is that binary ghc hardcodes
gcc it was built with in:
    /usr/lib64/ghc-$(ghc --numeric-version)/settings
Comment 2 Sergei Trofimovich (RETIRED) gentoo-dev 2017-01-25 19:47:59 UTC

*** This bug has been marked as a duplicate of bug 531016 ***