Re: ANNOUNCE: GHC 7.10.1 Release Candidate 1

Tamar Christina lonetiger at gmail.com
Sat Dec 27 16:38:11 UTC 2014


Hi Edward,


You’re right, this is my mistake, I am compiling x86_64 Windows, I have not updated my tools to work on it yet so I’ve been using the x86_32 binaries and didn’t noticed that my msys2 was compiling a 64bit version.


That explains the warning, sorry for the false alarm!


Regards,

Tamar





From: Edward Z. Yang
Sent: ‎Saturday‎, ‎December‎ ‎27‎, ‎2014 ‎16‎:‎16
To: lonetiger
Cc: Austin Seipp, ghc-devs at haskell.org, glasgow-haskell-users@





Hello lonetiger,

I don't think any relevant logic changed in 7.10; however, this
commit may be relevant:

    commit 8fb03bfd768ea0d5c666bbe07a50cb05214bbe92
    Author: Ian Lynagh <igloo at earth.li>  Sun Mar 18 11:42:31 2012
    Committer: Ian Lynagh <igloo at earth.li>  Sun Mar 18 11:42:31 2012
    Original File: compiler/typecheck/TcForeign.lhs

    If we say we're treating StdCall as CCall, then actually do so

But this warning should have applied even on older versions of GHC.

Are you running x86_64 Windows?  stdcall is specific to x86_32.

Edward

Excerpts from lonetiger's message of 2014-12-24 08:24:52 -0500:
> Hi,
> 
> 
> I’ve had some issues building this (and the git HEAD), it seems that the config.guess and config.sub in the libffi tarball is old, it doesn’t detect the platform when building with msys2. I had to unpack the tarfile and update the files, after this it correctly built.
> 
> 
> Then I proceeded to try to make a shared library and got the following warning:
> 
> 
> ManualCheck.hs:18:1: Warning:
>     the 'stdcall' calling convention is unsupported on this platform,
>     treating as ccall
>     When checking declaration:
>       foreign export stdcall "testFoo" testFooA :: CInt -> IO (FooPtr)
> 
> 
> 
> Does this mean that GHC no longer supports stdcall on windows? or could this be related to issue I had building?
> 
> 
> Regards,
> 
> Tamar
> 
> 
> 
> 
> 
> From: Austin Seipp
> Sent: ‎Tuesday‎, ‎December‎ ‎23‎, ‎2014 ‎15‎:‎36
> To: ghc-devs at haskell.org, glasgow-haskell-users at haskell.org
> 
> 
> 
> 
> 
> We are pleased to announce the first release candidate for GHC 7.10.1:
> 
>     https://downloads.haskell.org/~ghc/7.10.1-rc1/
> 
> This includes the source tarball and bindists for 64bit/32bit Linux
> and Windows. Binary builds for other platforms will be available
> shortly. (CentOS 6.5 binaries are not available at this time like they
> were for 7.8.x). These binaries and tarballs have an accompanying
> SHA256SUMS file signed by my GPG key id (0x3B58D86F).
> 
> We plan to make the 7.10.1 release sometime in February of 2015. We
> expect another RC to occur during January of 2015.
> 
> Please test as much as possible; bugs are much cheaper if we find them
> before the release!
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/ghc-devs/attachments/20141227/c086d1ee/attachment.html>


More information about the ghc-devs mailing list