Windows build broken in Linker.c

Simon Marlow marlowsd at gmail.com
Fri Oct 17 00:00:22 UTC 2014


I was working on a fix yesterday but ran out of time. Frankly this code 
is a nightmare, every time I touch it it breaks on some platform - this 
time I validated on 64 bit Windows but not 32. Aargh indeed.

On 16 Oct 2014 14:32, "Austin Seipp" <austin at well-typed.com 
<mailto:austin at well-typed.com>> wrote:

    I see what's going on and am fixing it... The code broke 32-bit due to
    #ifdefery, but I think it can be removed, perhaps (which would be
    preferable).

    On Thu, Oct 16, 2014 at 3:43 PM, Simon Peyton Jones
    <simonpj at microsoft.com <mailto:simonpj at microsoft.com>> wrote:
     > Simon
     >
     > Aargh!  I think the Windows build is broken again.
     >
     > I think this is your commit 5300099ed
     >
     > Admittedly this is on a branch I’m working on, but it’s up to
    date with
     > HEAD.  And I have no touched Linker.c!
     >
     > Any ideas?
     >
     > Simon
     >
     >
     >
     > rts\Linker.c: In function 'allocateImageAndTrampolines':
     >
     >
     >
     > rts\Linker.c:3708:19:
     >
     >      error: 'arch_name' undeclared (first use in this function)
     >
     >
     >
     > rts\Linker.c:3708:19:
     >
     >      note: each undeclared identifier is reported only once for each
     > function it appears in
     >
     > rts/ghc.mk:236 <http://ghc.mk:236>: recipe for target
    'rts/dist/build/Linker.o' failed
     >
     > make[1]: *** [rts/dist/build/Linker.o] Error 1
     >
     > make[1]: *** Waiting for unfinished jobs....
     >
     >
     > _______________________________________________
     > ghc-devs mailing list
     > ghc-devs at haskell.org <mailto:ghc-devs at haskell.org>
     > http://www.haskell.org/mailman/listinfo/ghc-devs
     >



    --
    Regards,

    Austin Seipp, Haskell Consultant
    Well-Typed LLP, http://www.well-typed.com/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/ghc-devs/attachments/20141016/d4a1fde9/attachment.html>


More information about the ghc-devs mailing list