Simon M and I tripped over that problem last week.  I think the solution was to 
add
              SymI_NeedsProto(__chkstk)   
around line 453 of rst/Linker.c

But I fear I may have failed to commit a patch.  (It's not happening to me in 
my laptop build.)

More on Monday when Simon M is back

Simon

|  -----Original Message-----
|  From: [email protected] [mailto:[email protected]] On 
Behalf
|  Of Edward Z. Yang
|  Sent: 18 September 2010 03:57
|  To: cvs-ghc; marlowsd; igloo
|  Subject: Re: simonmar-win32-head, build 113, Failure
|  
|  Manually hacking around this results in another Windows build error:
|  
|  'ghc-stage2.exe:
|  
C:\cygwin\home\ezyang\ghc\libraries\integer-gmp\dist-install\build\HSinteger-gmp-
|  0.2.0.0.o:
|  unknown symbol `___chkstk''
|  
|  I can't tell if this is because my horrible hack is wrong or that
|  more things are broken. >:-(
|  
|  Cheers,
|  Edward
|  
|  Excerpts from Edward Z. Yang's message of Fri Sep 17 17:16:17 -0400 2010:
|  > Excerpts from Edward Z. Yang's message of Fri Sep 17 02:40:18 -0400 2010:
|  > > This build error is affecting me too.  The problem appears to
|  > > be that libraries/process/dist-install/build/.depend-v-p-dyn.c_asm has
|  > > Windows style paths "C:", and make doesn't like the extra colon.
|  > > The sed magic in ./rules/build-dependencies.mk doesn't seem to
|  > > be working because it's backslashes not slashes.  But I don't have
|  > > enough sed-fu to fix it...
|  >
|  > Here is a terrible, terrible hack that gets the build going again for me.
|  >
|  > hunk ./rules/build-dependencies.mk 129
|  > -   $(foreach w,$5,sed -e "1s|\.o|\.$($w_osuf)|" -e "1s|^|$(dir $4)|" -e
|  "1s|$1/|$1/$2/build/|" -e "1s|$2/build/$2/build|$2/build|g" -e
|  "s|$(TOP)/||g$(CASE_INSENSITIVE_SED)" $3.bit >> $3.tmp &&) true
|  > +   $(foreach w,$5,sed -e "1s|\.o|\.$($w_osuf)|" -e "1s|^|$(dir $4)|" -e
|  "1s|$1/|$1/$2/build/|" -e "1s|$2/build/$2/build|$2/build|g" -e "s|\\\\|/|g" 
-e
|  "s|$(TOP)/||g$(CASE_INSENSITIVE_SED)" -e "s|/$$|\\\\|g" $3.bit >> $3.tmp &&) 
true
|  >
|  > It basically canonicalizes the path to have slashes only, and manually
|  > fixes the end of line continuation punctuation.
|  >
|  > Cheers,
|  > Edward
|  
|  _______________________________________________
|  Cvs-ghc mailing list
|  [email protected]
|  http://www.haskell.org/mailman/listinfo/cvs-ghc

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to