HEAD not buildable by 7.10.1 RC3?

Edward Z. Yang ezyang at mit.edu
Wed Mar 18 22:31:57 UTC 2015

It's just a build system bug.  I think this fixes it:



Excerpts from Karel Gardas's message of 2015-03-18 02:11:34 -0700:
> Hi,
> for a few last days I'm not able to build amd64/solaris11 build of HEAD 
> using 7.10.1. I've been using RC1 for this, then post RC2 and now RC3 
> and the issue is still the same:
> ld: fatal: library -lHSghc-7.11.20150318-5E218FiotzLAN97RtaMkIl: not found
> ld: fatal: file processing errors. No output written to 
> ghc/stage1/build/tmp/ghc-stage1
> collect2: ld returned 1 exit status
> gmake[1]: *** [ghc/stage1/build/tmp/ghc-stage1] Error 1
> gmake: *** [all] Error 2
> the problem is that the library which is created is named: 
> libHSghc-7.11-5E218FiotzLAN97RtaMkIl.a and so <year><month><day> is 
> missing there, hence linking fails.
> I assume this may be caused by the patch below, but I'm not sure so if 
> I'm mistaken here I'm sorry for this Edward.
> Anyway, I would like to raise this concern since we're already in RC3 
> for 7.10.1 and if something needs to be changed there, it would be 
> better to do that rather sooner IMHO. Although this is issue on Solaris 
> I assume it to be same on Linux, except that we probably don't have 
> user/buildbot building HEAD with not yet release 7.10.1 and so we do not 
> have this reported. Solaris11/amd64 is kind of special here, since the 
> support for this platform is new in 7.10.1 and so I need to use this 
> unreleased compiler.
> For compilation log please have a look into amd64/solaris11 buildbot 
> output: 
> http://haskell.inf.elte.hu/builders/solaris-amd64-head/232/10.html -- 
> this is still using post-RC2 as a bootstrap compiler, but the issue with 
> RC3 is  the same.
> Thanks!
> Karel
> commit 838d8044896b6544d8c80c2ab5de63d97220f06c
> Author: Edward Z. Yang <ezyang at cs.stanford.edu>
> Date:   Wed Mar 11 14:53:17 2015 +0100
>      Update Cabal submodule to latest 1.22 snapshot
>      This changes the library file name format
>      NOTE: This patch originally updated to Cabal HEAD, but was reduced to
>            update to Cabal 1.22 HEAD by hvr as this is needed in order to
>            update the filepath submodule to version 1.4.0, and subsequently
>            to be cherry-picked into the ghc-7.10 branch
>      Signed-off-by: Edward Z. Yang <ezyang at cs.stanford.edu>
>      Reviewed By: austin
>      Differential Revision: https://phabricator.haskell.org/D707

More information about the ghc-devs mailing list