[commit: ghc] ghc-7.8: change deriveConstants to use nm in a POSIX way (fixes #8781) (e7563ec)

Simon Marlow marlowsd at gmail.com
Mon Mar 24 10:06:04 UTC 2014

On 24/03/2014 06:49, kyra wrote:
> On 3/23/2014 20:51, Jost Berthold wrote:
>> Hello,
>> With the patch to deriveConstants, a build on an older Windows (32bit
>> Vista, MinGW32 installation, which used to work) now fails with error
>>     Can't find "STD_HDR_SIZE"
> Same here: Windows 64-bit, MSYS2, nm being called is from binutils 2.24.

I also ran into this when I tried to do a Windows build today, so I've 
reverted the patch in my local tree.

Karel: will you look into this?

Note that on Windows, nm is part of the mingw tools that we provide in 
ghc-tarballs/, so if that needs upgrading we'll need to commit new 
versions of the tools (for both 32 and 64-bit mingw).


More information about the ghc-devs mailing list