Re: Resolving Windows 64-bit linker issues

2015-02-17 Thread Gintautas Miliauskas
To: Darren Grant dedgr...@gmail.com; Mikolaj Konarski miko...@well-typed.com Cc: Phyx loneti...@gmail.com; Roman Kuznetsov kuzn...@gmail.com; ghc-devs@haskell.org; David Macek david.mace...@gmail.com; kyrab ky...@mail.ru; Gintautas Miliauskas gintau...@miliauskas.lt; Martin Foster martin.e.fos

Re: Automating GHC build for Windows

2014-12-21 Thread Gintautas Miliauskas
harm (for some reason) so it is basically invisible. However, first it would be nice if somebody else could confirm that it is indeed the case. Yeah, for what it is worth, this also happens on my FreeBSD builder too, but it works fine despite of that. -- Gintautas Miliauskas

Perl for Windows and GHC

2014-12-21 Thread Gintautas Miliauskas
) and would probably need to be trimmed beforehand though. Are there any utilities other than ghc-split which rely on perl at ghc runtime? If not, are there any plans to convert ghc-split to a sane language? I would sign up if I knew I would have the time... :( -- Gintautas Miliauskas

Re: [Msys2-users] Debugging undeterministic segfaults

2014-11-10 Thread Gintautas Miliauskas
Hey, I'm on vacation right now without access to my workstation, I will be back in a couple weeks. I believe hvr@ was having some stability issues too, maybe he can help reproduce the problem? Thanks for looking into this. -- Gintautas Miliauskas On Nov 10, 2014 6:24 PM, David Macek

Re: [Msys2-users] Debugging undeterministic segfaults

2014-11-05 Thread Gintautas Miliauskas
runs segfaulted (-j5). -- Gintautas Miliauskas ___ ghc-devs mailing list ghc-devs@haskell.org http://www.haskell.org/mailman/listinfo/ghc-devs

Re: [Msys2-users] Debugging undeterministic segfaults

2014-11-04 Thread Gintautas Miliauskas
: $ /usr/bin/gcc -o crash crash.c $ ./crash.exe hi $ echo $? 0 On Tue, Nov 4, 2014 at 1:56 AM, Ray Donnelly mingw.andr...@gmail.com wrote: On Tue, Nov 4, 2014 at 12:45 AM, Gintautas Miliauskas gintautas.miliaus...@gmail.com wrote: I have a suspicion that the segmentation faults are related to fork

Re: [Msys2-users] Debugging undeterministic segfaults

2014-11-04 Thread Gintautas Miliauskas
you're using, Gintautas. Release/trunk? -- David Macek ___ ghc-devs mailing list ghc-devs@haskell.org http://www.haskell.org/mailman/listinfo/ghc-devs -- Gintautas Miliauskas ___ ghc-devs mailing list

Re: [Msys2-users] Debugging undeterministic segfaults

2014-11-04 Thread Gintautas Miliauskas
a few segfaults, so this is probably not it. -- Gintautas Miliauskas ___ ghc-devs mailing list ghc-devs@haskell.org http://www.haskell.org/mailman/listinfo/ghc-devs

Re: [Msys2-users] Debugging undeterministic segfaults

2014-11-04 Thread Gintautas Miliauskas
I'm using /usr/bin/perl, and don't have the mingw perl installed. On Tue, Nov 4, 2014 at 4:10 PM, David Macek david.mace...@gmail.com wrote: On 4. 11. 2014 14:14, Gintautas Miliauskas wrote: I'm working on ghc trunk. I'm trying to reproduce your errors, but I failed at ./boot

Re: [Msys2-users] Debugging undeterministic segfaults

2014-11-04 Thread Gintautas Miliauskas
Macek -- ___ Msys2-users mailing list msys2-us...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/msys2-users -- Gintautas Miliauskas

Re: [Msys2-users] Debugging undeterministic segfaults

2014-11-04 Thread Gintautas Miliauskas
Oh, and David, thanks for your help. It's really appreciated. This issue has been driving me nuts recently, and I don't have a good strategy to root it out... On Tue, Nov 4, 2014 at 11:23 PM, David Macek david.mace...@gmail.com wrote: On 4. 11. 2014 23:20, Gintautas Miliauskas wrote: ghc

Re: GHC on Windows (extended/broad discussion)

2014-11-03 Thread Gintautas Miliauskas
Alright, based on the votes let's do Wednesday (Nov 5) 8:00pm. Sorry, forgot to specify the timezone: 8:00pm UTC. -- Gintautas Miliauskas ___ ghc-devs mailing list ghc-devs@haskell.org http://www.haskell.org/mailman/listinfo/ghc-devs

ghc panic during build

2014-11-03 Thread Gintautas Miliauskas
libraries/base/ghc.mk:4: recipe for target 'libraries/base/dist-install/build/GHC/TypeLits.o' failed I may have been building in a non-clean repository after a git pull though, could that have caused this? -- Gintautas Miliauskas ___ ghc-devs mailing list

Re: Automating GHC build for Windows

2014-11-03 Thread Gintautas Miliauskas
Potentially related issues: https://github.com/haskell/cabal/issues/1698 https://ghc.haskell.org/trac/ghc/ticket/2924 https://ghc.haskell.org/trac/ghc/ticket/3231 https://ghc.haskell.org/trac/ghc/ticket/2650 On Mon, Nov 3, 2014 at 1:24 AM, Gintautas Miliauskas gintautas.miliaus...@gmail.com

Re: [Msys2-users] Debugging undeterministic segfaults

2014-11-03 Thread Gintautas Miliauskas
it would be since for Windows there is already a nicely packaged native Haskell Platform installer. On Mon, Nov 3, 2014 at 3:30 AM, Ray Donnelly mingw.andr...@gmail.com wrote: On Sun, Nov 2, 2014 at 11:45 PM, Gintautas Miliauskas gintautas.miliaus...@gmail.com wrote: Hello, I have been

Re: [Msys2-users] Debugging undeterministic segfaults

2014-11-03 Thread Gintautas Miliauskas
Closing and reopening the msys2 console seems to help - for some time. On Tue, Nov 4, 2014 at 1:30 AM, Ray Donnelly mingw.andr...@gmail.com wrote: On Mon, Nov 3, 2014 at 11:07 PM, Gintautas Miliauskas gintautas.miliaus...@gmail.com wrote: +ghc-devs Hi Ray, thanks for the feedback. ghc

Re: GHC on Windows (extended/broad discussion)

2014-11-02 Thread Gintautas Miliauskas
portable. Looking forward to seeing everyone! I will try to take notes of the meeting and send them to the mailing list afterwards. On Thu, Oct 30, 2014 at 9:03 PM, Gintautas Miliauskas gintautas.miliaus...@gmail.com wrote: Updated. Note that I'm on vacation starting Friday (Nov 7

Re: Tests with compilation errors

2014-11-02 Thread Gintautas Miliauskas
split off related tests? If it isn't, let's just enable them by default. On Thu, Oct 30, 2014 at 10:19 PM, Austin Seipp aus...@well-typed.com wrote: On Thu, Oct 30, 2014 at 6:48 AM, Gintautas Miliauskas gintautas.miliaus...@gmail.com wrote: Going through some validate.sh results, I found

Problem with installing primitive on Windows/i686

2014-11-02 Thread Gintautas Miliauskas
-include-dirs= and --extra-lib-dirs= to specify where it is. If the header file does exist, it may contain errors that are caught by the C compiler at the preprocessing stage. In this case you can re-run configure with the verbosity flag -v3 to see the error messages. -- Gintautas Miliauskas

Tests with compilation errors

2014-10-30 Thread Gintautas Miliauskas
without good reason. Perhaps do some color coding of the test runner output? That would also help. -- Gintautas Miliauskas ___ ghc-devs mailing list ghc-devs@haskell.org http://www.haskell.org/mailman/listinfo/ghc-devs

Re: Automating GHC build for Windows

2014-10-30 Thread Gintautas Miliauskas
21:49 GMT+01:00 Gintautas Miliauskas gintau...@miliauskas.lt: Can you try running the offending command with -v to see which step breaks? I have tried it, even together with building the GHC sources with a recent toolchain, but I did not get much forward. I tried running it locally under

Re: GHC on Windows (extended/broad discussion)

2014-10-30 Thread Gintautas Miliauskas
to find a good timeslot? Sign up at http://doodle.com/34e598zc7m8sbaqm -- Gintautas Miliauskas http://doodle.com/34e598zc7m8sbaqm http://doodle.com/34e598zc7m8sbaqm ___ ghc-devs mailing list ghc-devs@haskell.org http://www.haskell.org/mailman/listinfo/ghc-devs

Re: GHC on Windows (extended/broad discussion)

2014-10-30 Thread Gintautas Miliauskas
Regards, Tamar *From:* Gintautas Miliauskas gintautas.miliaus...@gmail.com *Sent:* ‎Thursday‎, ‎October‎ ‎30‎, ‎2014 ‎16‎:‎34 *To:* Simon Peyton Jones simo...@microsoft.com *Cc:* kyra ky...@mail.ru, ghc-devs@haskell.org On Tue, Oct 28, 2014 at 11:02 PM, Simon Peyton Jones simo...@microsoft.com

Re: GHC on Windows (extended/broad discussion)

2014-10-29 Thread Gintautas Miliauskas
/haskell/win32 and that's the official upstream repository GHC tracks (via a locally mirrored repo at git.haskell.org) Cheers, hvr -- Gintautas Miliauskas ___ ghc-devs mailing list ghc-devs@haskell.org http://www.haskell.org/mailman/listinfo

Re: GHC on Windows (extended/broad discussion)

2014-10-29 Thread Gintautas Miliauskas
: I bet Bryan would willingly cede maintainership of Win32. I’m copying him. Bryan? *From:* Herbert Valerio Riedel [mailto:hvrie...@gmail.com] *Sent:* 29 October 2014 12:47 *To:* Gintautas Miliauskas *Cc:* Phyx; Simon Peyton Jones; kyra; ghc-devs@haskell.org *Subject:* Re: GHC on Windows

Re: Windows build broken in Linker.c

2014-10-29 Thread Gintautas Miliauskas
https://phabricator.haskell.org/D400 On Mon, Oct 27, 2014 at 1:34 PM, Gintautas Miliauskas gintau...@miliauskas.lt wrote: FYI, after the fix ghc builds again on Windows 32-bit, but validate.sh fails: rts\Linker.c: In function 'allocateImageAndTrampolines': rts\Linker.c:3657:31

Re: GHC on Windows (extended/broad discussion)

2014-10-28 Thread Gintautas Miliauskas
=id -- Regards, Austin Seipp, Haskell Consultant Well-Typed LLP, http://www.well-typed.com/ -- Gintautas Miliauskas ___ ghc-devs mailing list ghc-devs@haskell.org http://www.haskell.org/mailman/listinfo/ghc-devs

Re: Automating GHC build for Windows

2014-10-28 Thread Gintautas Miliauskas
://haskell.inf.elte.hu/builders/windows-x86-head/56/10.html ___ ghc-devs mailing list ghc-devs@haskell.org http://www.haskell.org/mailman/listinfo/ghc-devs -- Gintautas Miliauskas http://www.haskell.org/mailman/listinfo/ghc-devs

Re: Automating GHC build for Windows

2014-10-28 Thread Gintautas Miliauskas
Can you try running the offending command with -v to see which step breaks? I tried running it locally under strace but did not see any file renames either. On Tue, Oct 28, 2014 at 6:37 PM, Páli Gábor János pali.ga...@gmail.com wrote: 2014-10-26 18:17 GMT+01:00 Gintautas Miliauskas gintau

Re: GHC on mingw-w64 / gcc 4.8.3 on Windows

2014-10-27 Thread Gintautas Miliauskas
got a bunch of conflicting export definitions from the C library, and removing the ones in Linker.c resulted in runtime crashes. Not quite sure what was going on there. Probably issues due to my patch being rather ad-hoc. -- Gintautas Miliauskas ___ ghc

Re: Windows build broken in Linker.c

2014-10-27 Thread Gintautas Miliauskas
mind. On it. On Fri, Oct 24, 2014 at 10:33 AM, Simon Marlow marlo...@gmail.com wrote: 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

Re: GHC on mingw-w64 / gcc 4.8.3 on Windows

2014-10-27 Thread Gintautas Miliauskas
The patch looks good both on i686 and x86_64. Cool stuff! On Mon, Oct 27, 2014 at 12:01 PM, kyra ky...@mail.ru wrote: On 10/27/2014 1:37 PM, Gintautas Miliauskas wrote: During a couple of days I'll extract my patch to Linker.c and put it to Phabricator then, and also I'll comment

Re: Automating GHC build for Windows

2014-10-26 Thread Gintautas Miliauskas
/4b648be19c75e6c6a8e6f9f93fa12c7a4176f0ae [2] http://haskell.inf.elte.hu/builders/windows-x86-head/56/10.html ___ ghc-devs mailing list ghc-devs@haskell.org http://www.haskell.org/mailman/listinfo/ghc-devs -- Gintautas Miliauskas ___ ghc

Re: Windows build broken in Linker.c

2014-10-24 Thread Gintautas Miliauskas
mailing list ghc-devs@haskell.org http://www.haskell.org/mailman/listinfo/ghc-devs -- Gintautas Miliauskas ___ ghc-devs mailing list ghc-devs@haskell.org http://www.haskell.org/mailman/listinfo/ghc-devs

Re: Building ghc on Windows with msys2

2014-10-13 Thread Gintautas Miliauskas
distributions depending on the licenses involved (I'm not sure if this was ever considered for ghc-tarballs.git to begin with) Cheers, hvr -- Gintautas Miliauskas ___ ghc-devs mailing list ghc-devs@haskell.org http://www.haskell.org/mailman

Re: Building ghc on Windows with msys2

2014-10-12 Thread Gintautas Miliauskas
issues or missing proxy configuration. This could easily be addressed by printing a message with a URL and a filesystem location to put the file in the case that the download fails. If there are no objections, I'll proceed with whipping up a patch. -- Gintautas Miliauskas

Problems adding a custom section to a Windows binary

2014-10-12 Thread Gintautas Miliauskas
the developers say, but have not gotten a response yet. Perhaps someone here knows what's going on? -- Gintautas Miliauskas ___ ghc-devs mailing list ghc-devs@haskell.org http://www.haskell.org/mailman/listinfo/ghc-devs

Re: Building ghc on Windows with msys2

2014-10-10 Thread Gintautas Miliauskas
a positive willingness to help others, along with some level of expertise, NOT a promise to drop everything to attend to someone else’s problem. Simon *From:* loneti...@gmail.com [mailto:loneti...@gmail.com] *Sent:* 09 October 2014 06:04 *To:* Gintautas Miliauskas; Simon Peyton Jones *Cc

RE: Building ghc on Windows with msys2

2014-10-09 Thread Gintautas Miliauskas
I'll set up a wikipage this evening. Should we get a mailing list of our own too, or do you think it's best to continue on ghc-devs@? -- Gintautas Miliauskas On Oct 9, 2014 9:52 AM, Simon Peyton Jones simo...@microsoft.com wrote: I think I’m fairly behind on the current build process of GHC

Re: Building ghc on Windows with msys2

2014-10-07 Thread Gintautas Miliauskas
. but nothing really happened. Maybe this time it can! Possible member of such a task force are: ·Gintautas Miliauskas gintautas.miliaus...@gmail.com ·kyra ky...@mail.ru ·Marek Wawrzos marek.28...@gmail.com ·Tamar Christina loneti...@gmail.com ·Roman

Re: Building ghc on Windows with msys2

2014-10-07 Thread Gintautas Miliauskas
are not deterministic at all. Any idea what's happening? Any suggestions for debugging this? On Wed, Oct 8, 2014 at 1:21 AM, Gintautas Miliauskas gintautas.miliaus...@gmail.com wrote: I've cleaned up the main Windows build https://ghc.haskell.org/trac/ghc/wiki/Building/Preparation/Windows page, moved

Re: GitHub pull requests

2014-10-05 Thread Gintautas Miliauskas
Is there any particular reason why taking in GitHub pull requests would be more problematic than, say, applying patches attached to Trac bugs? Both have to be dealt with manually by someone with commit rights for the canonical repository anyway. If the issue is important enough that, say, tracking

Re: Building ghc on Windows with msys2

2014-10-02 Thread Gintautas Miliauskas
packages of mingw for Windows. Let's figure out if there is something more mainstream and if we can migrate to that. -- Gintautas Miliauskas ___ ghc-devs mailing list ghc-devs@haskell.org http://www.haskell.org/mailman/listinfo/ghc-devs

Re: Building ghc on Windows with msys2

2014-10-02 Thread Gintautas Miliauskas
sure always the most recent version of ghc-tarballs is available * full history of ghc-tarballs is tracked, easier bisecting * no extra scripts needed I don't know how much space overhead git adds. wget-ting just the files themselves might still be faster. -- Gintautas Miliauskas

Re: Building ghc on Windows with msys2

2014-09-28 Thread Gintautas Miliauskas
, because that's almost never what you want. On Sun, Sep 28, 2014 at 9:08 AM, kyra ky...@mail.ru wrote: On 9/28/2014 1:04 AM, Gintautas Miliauskas wrote: 11. A build with the host gcc failed. I think the cause is that it is too new (4.9.1, significantly newer than 4.6.3 in ghc-tarballs

Re: Building ghc on Windows with msys2

2014-09-28 Thread Gintautas Miliauskas
https://ghc.haskell.org/trac/ghc/ticket/9626)? Thanks. Fwiw, the test-runner seems to work fine with the Cygwin-provided Python interpreter. Hmm, interesting... -- Gintautas Miliauskas ___ ghc-devs mailing list ghc-devs@haskell.org http

Re: Building ghc on Windows with msys2

2014-09-27 Thread Gintautas Miliauskas
Of *Gintautas Miliauskas *Sent:* 15 September 2014 21:58 *To:* ghc-devs@haskell.org *Subject:* Building ghc on Windows with msys2 Hello, I have been messing around a little bit with building GHC from source on Windows, and found the msys2 wikipage https://ghc.haskell.org/trac/ghc/wiki

Building ghc on Windows with msys2

2014-09-15 Thread Gintautas Miliauskas
shoot an email to make sure that work is not being duplicated. msys2 seems to be in good shape and should probably be promoted to the primary suggested method to build ghc on Windows. Let's look into that once the new build instructions have been proofread and verified. Best regards, -- Gintautas