HEAD not buildable by 7.10.1 RC3?

Karel Gardas karel.gardas at centrum.cz
Wed Mar 18 09:11:34 UTC 2015


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 
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 
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.


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