Windows build broken in Linker.c

Simon Marlow marlowsd at gmail.com
Fri Oct 24 15:33:53 UTC 2014


I sent a patch to Austin to validate+commit earlier this week.

On 24/10/2014 15:08, Gintautas Miliauskas wrote:
> This is still not fixed, right? I've been working on the mingw gcc
> upgrade and testing on 32 bit, and this failure got me running in
> circles until I discovered that baseline was broken too...
>
> On Fri, Oct 17, 2014 at 2:00 AM, Simon Marlow <marlowsd at gmail.com
> <mailto:marlowsd at gmail.com>> wrote:
>
>     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/
>
>
>     _______________________________________________
>     ghc-devs mailing list
>     ghc-devs at haskell.org <mailto:ghc-devs at haskell.org>
>     http://www.haskell.org/mailman/listinfo/ghc-devs
>
>
>
>
> --
> Gintautas Miliauskas


More information about the ghc-devs mailing list