Re: Weird failure of ghc-7.0.2 on OS X 10.5 using the bindist tarball

2011-03-12 Thread Ian Lynagh
It turns out that even an i386 build made on 10.6 won't work on 10.5: http://hackage.haskell.org/trac/ghc/ticket/4996 And even if this is fixable, it won't help, as we'll have to drop 10.5 support in order to support XCode 4: http://hackage.haskell.org/trac/ghc/ticket/5011 If you build

Re: trac ticket spam

2011-03-12 Thread Ian Lynagh
On Sat, Mar 12, 2011 at 10:13:07PM +, Simon Marlow wrote: On 12/03/11 09:00, Max Bolingbroke wrote: There is this plugin: https://software.sandia.gov/trac/fast/wiki/TicketModerator The TicketModerator plugin is an extension for the Trac project Possibly useful? Maybe. Before

7.0.3

2011-03-15 Thread Ian Lynagh
Hi all, Due to a number of issues in the 7.0.2 release, we plan to put out a 7.0.3 release before finally retiring the 7.0 branch. We intend to fix: * Doc install location on Windows * Doc building on OS X (#4997) * Object splitting on OS X (with XCode = 3.2) * Don't require the 10.5 SDK on OS

Re: 7.0.3

2011-03-15 Thread Ian Lynagh
On Tue, Mar 15, 2011 at 10:17:24AM -0700, Don Stewart wrote: ETA? As soon as we can fix what we want to fix, and get the builds done. Thanks Ian ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org

Re: 7.0.3

2011-03-16 Thread Ian Lynagh
On Tue, Mar 15, 2011 at 02:46:37PM -0700, David Terei wrote: Could you merge my fix for this: http://hackage.haskell.org/trac/ghc/ticket/4995 So patch is: Wed Mar 9 13:53:46 PST 2011 David Terei davidte...@gmail.com * LLVM: Fix #4995, llvm mangler broken for large compiles Its

Re: MacOS 10.5 was:Re: cabal install network was: ...

2011-03-17 Thread Ian Lynagh
On Thu, Mar 17, 2011 at 02:03:15PM +0100, Christian Maeder wrote: Am 17.03.2011 12:49, schrieb Christian Maeder: Am 23.02.2011 15:41, schrieb Ian Lynagh: On Tue, Feb 22, 2011 at 05:17:35PM +0100, Christian Maeder wrote: Am 22.02.2011 14:47, schrieb Ian Lynagh: On Tue, Feb 22, 2011 at 09:59

Re: Documentation build failure

2011-03-18 Thread Ian Lynagh
On Sun, Mar 06, 2011 at 01:05:12AM +, Ian Lynagh wrote: On Sat, Mar 05, 2011 at 01:20:03PM +0100, Malte Sommerkorn wrote: Building the ps/pdf documentation works only with a specific, outdated version of dblatex I've just won a battle with dblatex to get the docs built on OS X

Re: testing 7.02-candidate

2011-03-20 Thread Ian Lynagh
Hi Serge, [ 3 of 17] Compiling T_cubeext( T_cubeext.hs, T_cubeext.o ) T_cubeext.hs:143:9: Overlapping instances for LinSolvRing (UPol k) arising from a use of `ct' Matching instances: instance [overlap ok] EuclideanRing a = LinSolvRing (UPol a) --

Re: Issue with SrcSpan of AbsBinds

2011-03-24 Thread Ian Lynagh
Hi JP, On Fri, Mar 18, 2011 at 02:51:36PM +0100, JP Moresmau wrote: And the TypecheckedSource gives me something like (using the ghc-syb-utils package to dump it:) Can you file a ticket with complete reproduction instructions please? Thanks Ian

ANNOUNCE: GHC version 7.0.3

2011-03-27 Thread Ian Lynagh
= The (Interactive) Glasgow Haskell Compiler -- version 7.0.3 = The GHC Team is pleased to announce a new patchlevel release of GHC. This release contains a handful

Re: ANNOUNCE: GHC version 7.0.3

2011-03-30 Thread Ian Lynagh
On Tue, Mar 29, 2011 at 10:12:15PM -0400, wren ng thornton wrote: 2695 total tests, which gave rise to 14978 test cases, of which 0 caused framework failures 12589 were skipped 2302 expected passes 74 expected failures 0 unexpected passes 13

Re: Rebuilding ghc changes interface hashes?

2011-04-06 Thread Ian Lynagh
On Tue, Apr 05, 2011 at 08:51:52PM +0100, Simon Marlow wrote: On 05/04/11 17:51, Matthias Kilian wrote: On Tue, Apr 05, 2011 at 09:59:23PM +0530, Joachim Breitner wrote: Also, the initial upload was built using ghc-6.12.1, while the upload now is build with ghc-7.0.2. Given that it is a

Re: Broken ghc-7.0.3/vector combination?

2011-04-20 Thread Ian Lynagh
On Wed, Apr 20, 2011 at 05:02:50PM +0200, Daniel Fischer wrote: So, is it possible that some change in ghc-7.0.3 vs. the previous versions Very little changed between 7.0.2 and 7.0.3. The only thing that jumps out to me as possibly being relevant is: diff -ur

Re: Head does not build on OS X

2011-04-22 Thread Ian Lynagh
On Fri, Apr 22, 2011 at 08:53:44AM +0200, Johan Tibell wrote: Here's the error. I've run make clean, but it didn't help: It sounds like you need to run perl boot. Thanks Ian ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org

ANNOUNCE: GHC 7.0.4 Release Candidate 1

2011-06-03 Thread Ian Lynagh
We are pleased to announce the first release candidate for GHC 7.0.4: http://www.haskell.org/ghc/dist/7.0.4-rc1/ This includes the source tarball, installers for OS X and Windows, and bindists for amd64/Linux, i386/Linux, amd64/FreeBSD and i386/FreeBSD. Please test as much as possible;

Re: Compiling 32-bit GHC on a 64-bit Mac

2011-06-05 Thread Ian Lynagh
On Sun, Jun 05, 2011 at 02:10:39PM +0200, Johan Tibell wrote: I need to reproduce a bug that only appears on 32-bit machines. I don't own such a machine but I was hoping I could compile a 32-bit GHC on my Mac and debug using that. What changes do I need to make (e.g. to build/mk) to build a

Re: How to install GhC on a Mac without registering?

2011-06-06 Thread Ian Lynagh
On Mon, Jun 06, 2011 at 03:47:57PM +0100, Malcolm Wallace wrote: On 6 Jun 2011, at 13:49, Lyndon Maydwell wrote: I would be fantastic if XCode wasn't a dependency. ... Not to detract at all from the work of the wonderful GHC and Haskell Platform contributors in any way. For me it

ANNOUNCE: GHC version 7.0.4

2011-06-15 Thread Ian Lynagh
= The (Interactive) Glasgow Haskell Compiler -- version 7.0.4 = The GHC Team is pleased to announce a new patchlevel release of GHC. This release contains a handful

Re: GHC and Haskell 98

2011-06-20 Thread Ian Lynagh
On Mon, Jun 20, 2011 at 12:43:37PM +0100, Paterson, Ross wrote: Simon Peyton-Jones writes: (Plan A) Add a module 'Prelude' to package 'haskell98'. Now you can compile a pure H98 program thus: ghc -c Main.hs -hide-all-packages -package haskell98

ANNOUNCE: GHC 7.2.1 Release Candidate 1

2011-07-29 Thread Ian Lynagh
We are pleased to announce the first release candidate for GHC 7.2.1: http://www.haskell.org/ghc/dist/7.2.1-rc1/ This includes the source and testsuite tarballs, installers for OS X and Windows, and bindists for amd64/Linux, i386/Linux, amd64/FreeBSD and i386/FreeBSD. Please test as much

Re: integer-simple

2011-07-29 Thread Ian Lynagh
On Fri, Jul 29, 2011 at 05:51:23PM +0100, Chris Dornan wrote: But when I repeat with INTEGER_LIBRARY = integer-simple (on quick test) GHCi, version 6.12.3: http://www.haskell.org/ghc/ :? for help Note that 6.12.3 is quite old now, and neither that branch or the 7.0 branch are still being

Re: GHC API output files options problem

2011-07-29 Thread Ian Lynagh
Hi Marianna, On Sun, Jul 17, 2011 at 12:11:57PM +0200, Marianna Rapoport wrote: Thus, test_ghc.sh and test_my.sh should do the same, but the first works correctly while the latter puts use.o and use.hi to the src folder. I'm no expert on the GHC API, but replacing doWalk with this seems to

Re: possible strictness bug in profiled version of a program

2011-07-30 Thread Ian Lynagh
On Mon, Jul 25, 2011 at 06:21:16PM +0200, Peter Hercek wrote: Is it a bug? Should it be reported to the ghc trac database? Please report it and we'll take a look. Thanks Ian ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org

Re: hsc2hs and #include

2011-07-30 Thread Ian Lynagh
On Sat, Jul 30, 2011 at 09:10:21PM +, Evan Laforge wrote: On Sat, Jul 30, 2011 at 8:32 PM, Edward Z. Yang ezy...@mit.edu wrote: This is supposed to get defined as a command line argument to the preprocessor, see compiler/main/DriverPipeline.hs.  Are you saying you don't see it when

Re: GHCJS

2011-08-03 Thread Ian Lynagh
On Wed, Aug 03, 2011 at 11:44:10AM +0100, Simon Marlow wrote: On 03/08/2011 11:09, Victor Nazarov wrote: On Wed, Aug 3, 2011 at 11:30 AM, Simon Peyton-Jones simo...@microsoft.com wrote: So perhaps that's the problem. parseDynamicFlags could perfectly well simply return any un-recognised

Re: ANNOUNCE: GHC 7.2.1 Release Candidate 1

2011-08-04 Thread Ian Lynagh
On Thu, Aug 04, 2011 at 12:51:01PM +0100, Simon Marlow wrote: On 04/08/2011 05:35, Jens Petersen wrote: On 3 August 2011 19:01, Jens Petersenj...@community.haskell.org wrote: Unexpected failures: [...] ffi/should_run fed001 [bad exit code] (normal) [...] from

Re: ANNOUNCE: GHC 7.2.1 Release Candidate 1

2011-08-05 Thread Ian Lynagh
On Sat, Jul 30, 2011 at 10:57:40PM +1000, Manuel M T Chakravarty wrote: The RC unfortunately doesn't build on Lion (OS X 10.7). I've put the latest 7.2 source here, along with OS X builds: http://www.haskell.org/ghc/dist/7.2.1-rc2/ My guess is that the bindists will work on Lion, but that

Re: 7.2.1-rc1 fails to build on kfreebsd-*, mips*, s390 and sparc

2011-08-07 Thread Ian Lynagh
On Sun, Aug 07, 2011 at 01:34:41PM +0200, Joachim Breitner wrote: The causes seem to be different. On kfreebsd, we get: ghc-stage1: panic! (the 'impossible' happened) (GHC version 7.2.0.20110728 for i386-unknown-kfreebsdgnu): Don't know if OSUnknown is elf This might be something

Re: ANNOUNCE: GHC 7.2.1 Release Candidate 1

2011-08-08 Thread Ian Lynagh
On Mon, Aug 08, 2011 at 11:20:18PM +1000, Manuel M T Chakravarty wrote: Ian Lynagh: On Sat, Jul 30, 2011 at 10:57:40PM +1000, Manuel M T Chakravarty wrote: The RC unfortunately doesn't build on Lion (OS X 10.7). I've put the latest 7.2 source here, along with OS X builds: http

Re: hsc2hs and #include

2011-08-09 Thread Ian Lynagh
On Mon, Aug 08, 2011 at 06:44:29PM -0700, Evan Laforge wrote: So... remove it all? I've done so. Thanks Ian ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Re: ANNOUNCE: GHC 7.2.1 Release Candidate 1

2011-08-09 Thread Ian Lynagh
On Tue, Aug 09, 2011 at 10:52:39AM +1000, Manuel M T Chakravarty wrote: Ian Lynagh: On Mon, Aug 08, 2011 at 11:20:18PM +1000, Manuel M T Chakravarty wrote: Ian Lynagh: You are right that the bindists use the default gcc (i.e., the one with the LLVM backend). That is ok, though, as GHC

ANNOUNCE: GHC version 7.2.1

2011-08-09 Thread Ian Lynagh
= The (Interactive) Glasgow Haskell Compiler -- version 7.2.1 = The GHC Team is pleased to announce a new major release of GHC, 7.2.1. The 7.2 branch is intended to

Re: With every new GHC release, also released any new versions of libraries

2011-08-25 Thread Ian Lynagh
On Thu, Aug 25, 2011 at 01:36:13PM +0200, Johan Tibell wrote: On Thu, Aug 25, 2011 at 11:28 AM, Daniel Fischer daniel.is.fisc...@googlemail.com wrote: On Thursday 25 August 2011, 10:39:29, Johan Tibell wrote: P.S. Could someone please remind me why containers ships with GHC? Some other

Re: With every new GHC release, also released any new versions of libraries

2011-08-25 Thread Ian Lynagh
On Thu, Aug 25, 2011 at 10:39:29AM +0200, Johan Tibell wrote: I suggest that with each GHC release the new library releases should be uploaded to Hackage. They normally are, but in this case I ran out of time before disappearing for 2 weeks. They're now uploaded. Sorry for any inconvenience.

Re: Records in Haskell

2011-09-15 Thread Ian Lynagh
On Thu, Sep 15, 2011 at 08:47:30AM +, Simon Peyton-Jones wrote: Provoked the (very constructive) Yesod blog post on Limitations of Haskell, and the follow up discussion, I've started a wiki page to collect whatever ideas we have about the name spacing issue for record fields.

--make et al not in flags.sgml?

2004-10-27 Thread Ian Lynagh
Hi, Is there a reason --make and friends aren't in flags.sgml? This means they don't end up in the man page I generate. I've attached a patch that adds an entry for them, text mostly stolen from elsewhere in the docs. Thanks Ian --- ghc6-6.2.2.orig/ghc/docs/users_guide/flags.sgml +++

happy and OPTIONS pragmas

2004-11-04 Thread Ian Lynagh
Hi, If I have this at the start of a .x file: { {-# OPTIONS -w #-} module Lexer (lex_tok) where } then the generated .hs file starts: {-# OPTIONS -cpp #-} {-# LINE 2 Lexer.x #-} {-# OPTIONS -w #-} module Lexer (lex_tok) where and the warnings are suppressed

readline fun

2005-02-02 Thread Ian Lynagh
Hi all, The Debian ghc6 package curently has both a build-dependency and a normal dependency on libreadline4-dev. The former is so the readline library (and ghci) can be built, and the latter so compiling programs with the readline package behaves correctly. Now I want to move over to

Re: Bug#294481: ghci -lpthread fails

2005-02-10 Thread Ian Lynagh
On Wed, Feb 09, 2005 at 11:13:36PM +0100, Juliusz Chroboczek wrote: Package: ghc6 Version: 6.2.2-2 /usr/lib/libpthread.so (comes from libc6-dev 2.3.2.ds1-20) is a GNU linker script, not a shared object. This breaks ghci. Known problem:

Re: Bug#294481: ghci -lpthread fails

2005-02-10 Thread Ian Lynagh
On Thu, Feb 10, 2005 at 07:00:47PM +0100, Juliusz Chroboczek wrote: Hi Ian, What is your particular problem? Running Darcs under ghci. This seems to work for me (at least in as much as ghci loads and FastPackedString.lengthPS (FastPackedString.packString Foo) says 3): rm -rf .libs rm

Re: Bug#294481: ghci -lpthread fails

2005-02-11 Thread Ian Lynagh
On Fri, Feb 11, 2005 at 11:27:21AM -, Simon Marlow wrote: On 10 February 2005 23:35, Ian Lynagh wrote: I'm no library expert, so there may be a cleaner/simpler/more portable equivalent to the above. I'm not that familiar with libtool, but I guess what you're doing here is creating

Re: GHC 6.4 release candidates available

2005-03-01 Thread Ian Lynagh
On Thu, Feb 10, 2005 at 01:11:48PM -, Simon Marlow wrote: We are finally at the release candidate stage for GHC 6.4. Snapshots with versions 6.4.20050209 and later should be considered release candidates for 6.4. Source and Linux binary distributions are avaiable here:

Re: readline fun

2005-03-01 Thread Ian Lynagh
Sorry it took me so long to reply. On Mon, Feb 07, 2005 at 11:57:58AM -, Simon Marlow wrote: On 02 February 2005 15:51, Ian Lynagh wrote: I bet the old GHC will work fine with the new readline. You might be right, but I'd much rather not have to check it really does before relaxing

ghc-pkg too happy to create ~/.ghc

2005-03-15 Thread Ian Lynagh
Hi, The Debian autobuilders don't let you write to ~ (which seems reasonable, as they are only compiling the software, not running it), so my builds are failing with -- ==fptools== /usr/bin/make boot -wr; in /build/buildd/ghc6-6.4/ghc/rts [...] ../utils/ghc-pkg/ghc-pkg-inplace --force

alpha problems with ghc 6.4

2005-03-15 Thread Ian Lynagh
Hi, An alpha build of ghc 6.4 quickly fails because of the #if alpha_TARGET_ARCH import PrimRep ( getPrimRepSize, isFloatingRep ) import Type ( typePrimRep ) #endif in ghc/compiler/typecheck/TcForeign.lhs which no longer exist. Fortunately, the imported functions aren't used either.

Inlining question

2005-04-03 Thread Ian Lynagh
Hi all, With foo.hs below, if I compile normally then it takes about 70 seconds to run: $ rm -f *.o *.hi foo $ ghc -cpp -Wall -O2 foo.hs -o foo $ time ./foo real1m10.266s user1m9.698s sys 0m0.521s If I turn up the inlining threshold then it takes only about 13 seconds: $ rm -f *.o

Re: switching off let-floating

2005-07-28 Thread Ian Lynagh
On Thu, Jul 28, 2005 at 04:37:40PM +0200, Wolfgang Jeltsch wrote: Related question: Can anybody tell me when there will be Debian packages of GHC 6.4 available? There are 6.4 packages in unstable. They aren't installable in unstable, but I think they should be installable on a stable system.

Re: more on GHC 6.4 Debian packages

2005-07-28 Thread Ian Lynagh
On Thu, Jul 28, 2005 at 10:56:40PM +0200, Wolfgang Jeltsch wrote: Am Donnerstag, 28. Juli 2005 20:46 schrieb Iavor Diatchki: I am using the testing distribution, which appears to have something called ghc-cvs and ghc 6.2 but not ghc 6.4. I didn't know about ghc-cvs so far. The idea of

Re: 6.4.1 release candidate testing

2005-08-03 Thread Ian Lynagh
On Mon, Aug 01, 2005 at 03:07:16PM +0100, Simon Marlow wrote: This is to announce that testing for 6.4.1 has begun. Snapshots from 20050730 onwards are release candidates - please test if you can. Snapshots are available from here: http://www.haskell.org/ghc/dist/stable/dist/ we have

C/Haskell speed comparisons

2005-09-19 Thread Ian Lynagh
Hi all, Quite often in darcs we want to do a simple loop over a chunk of memory, looking for the first whitespace character or somesuch. Historically this has been done by writing a small snippet of C, but this has a number of downsides (less type safety in the C code, Int/int/HsInt/CInt

Re: Optimizations for mutable structures?

2005-12-07 Thread Ian Lynagh
On Wed, Dec 07, 2005 at 02:15:24PM -, Simon Marlow wrote: On 07 December 2005 13:38, Malcolm Wallace wrote: Jan-Willem Maessen [EMAIL PROTECTED] writes: - Fetch elimination for imperative reads: writeIORef r e acts readIORef r === writeIORef r e acts return e

Re: darcs switchover

2006-01-14 Thread Ian Lynagh
On Sat, Jan 14, 2006 at 11:42:11AM -0600, T.C. Andrew wrote: After I completed the above procedure to get the source, and then $autoreconf $./configure $make the build always stuck at: ==fptools== make all -wr; in /login/haskell/public/ghc/ghc/compiler

Re: Problem building on sparc/Linux

2006-03-01 Thread Ian Lynagh
On Wed, Mar 01, 2006 at 12:24:17PM +, Simon Marlow wrote: There's a ticket open on this one: http://cvs.haskell.org/trac/ghc/ticket/470 The ticket does give more info (isSpace isn't working correctly). If you could track this down further, that would be great. Looks like a

Re: How to find out the C type signature corresponding to a Haskell function type in FFI?

2006-03-07 Thread Ian Lynagh
On Tue, Mar 07, 2006 at 07:57:50PM +0100, Tomasz Zielonka wrote: On Tue, Mar 07, 2006 at 04:35:27PM -, Brian Hulley wrote: A third point is, how would I pass an arbitrary monad instead of just using IO? What for? IO is the monad that most closely matches the imperative, C semantics.

Mixing registerised and unregisterised builds

2006-03-15 Thread Ian Lynagh
Hi all, The attached e-mail seems to be about a problem using a library compiled with an unregisterised ghc with a registerised ghc. The linking step is giving many undefined reference to `stg_ap_p_ret's (with various numbers of 'p's) as well as a few to `GHCziIOBase_zdWIO_entry', and possible

Re: Mixing registerised and unregisterised builds

2006-03-16 Thread Ian Lynagh
On Thu, Mar 16, 2006 at 10:05:44AM +, Simon Marlow wrote: That's right - registerised and unregisterised code are completely incompatible. OK, thanks. Its similar to the situation with profiled and unprofiled code. But in this case we get a warning: mismatched interface file ways:

Re: 6.4.2 release plans

2006-03-18 Thread Ian Lynagh
On Wed, Mar 15, 2006 at 04:24:14PM +, Simon Marlow wrote: If you have anything else for 6.4.2, please let me know. Just a small thing, but it looks like, while the HEAD has been changed to send --help output to stdout, ghc-6.4.2.20060316 still has the following in

Re: [Haskell-cafe] Packages and modules

2006-06-26 Thread Ian Lynagh
On Mon, Jun 26, 2006 at 04:20:16PM +0100, Brian Hulley wrote: I don't think this solves the whole problem. Suppose M1 needs to use A.B.C from P1 *and* A.B.C from P2 For a simple example of a case where this might arise, suppose M1 is the migration module for data (stored in a database,

Re: Packages and modules

2006-07-05 Thread Ian Lynagh
On Wed, Jul 05, 2006 at 01:03:01AM +0100, Brian Hulley wrote: Simon Peyton-Jones wrote: Concerning other mail on this subject, which has been v useful, I've revised the Wiki page (substantially) to take it into account. http://hackage.haskell.org/trac/ghc/wiki/GhcPackages Further input

Re: Data.FiniteMap

2006-09-04 Thread Ian Lynagh
On Mon, Sep 04, 2006 at 02:32:34PM +0200, Duncan Coutts wrote: * 6.4.1 is not even marked stable in debian yet (only 6.2.2 is stable) Debian doesn't have a concept of marked stable. 6.4.1 didn't exist when sarge was released, so it has not yet had a chance to be included in a

Re: instance overlap in 6.6 candidate

2006-09-04 Thread Ian Lynagh
On Mon, Sep 04, 2006 at 06:22:34PM +0400, Serge D. Mechveliani wrote: Here is an example of how I alayws was using overlaps with standard instances. data Equation = ... instance Show Equation where ... instance Show [Equation] where

Re: more fixups for GHC docs

2006-09-07 Thread Ian Lynagh
Hi Bulat, On Thu, Sep 07, 2006 at 07:26:38PM +0400, Bulat Ziganshin wrote: 1. section 7.11.6 contains small typo - both %note are %note foo while CORE pragmas use foo and bar 2. section 7.13 notes that generic classes was broken in GHC 5.02. afaik, they worked at least in GHC 6.4 Both

Re: compiler-independent core libraries infrastructure

2006-09-15 Thread Ian Lynagh
Hi Bulat, Just a partial answer for now: On Wed, Sep 13, 2006 at 12:29:58PM +0400, Bulat Ziganshin wrote: Friday, September 8, 2006, 5:52:57 AM, you wrote: what is a 'base' library now? it is the library that implements common set of operations for latest versions of ghc, hugs and nhc.

Re: Help with unregisterised build

2006-09-25 Thread Ian Lynagh
On Wed, Sep 13, 2006 at 09:43:03PM +1000, Jeremy Wazny wrote: I've attempted to build an installation of GHC which uses unregisterised libraries, but have not had much success. I am new to GHC's build system and would be grateful for some advice. I'm trying to build the 6.4.2 source

Re: threadDelay not ending

2006-09-25 Thread Ian Lynagh
Hi Rich, On Mon, Sep 18, 2006 at 09:23:52AM -0500, Rich Fought wrote: I've got some unit test code that forks off test processes using the 'system' function and then delays using 'threadDelay' to synchronize with the test process. This has worked fine until I upgraded to 6.4.2, now some

Re: Year 2038 problem in GHC 6.4.2 runtime

2006-09-25 Thread Ian Lynagh
On Fri, Sep 22, 2006 at 04:16:44PM +0200, Cyril Schmidt wrote: As far as I can see, the current (6.4.2) GHC runtime suffers the year 2038 problem; that is, the System.Time module does not support dates from 2038 onwards (the code below reproduces the problem). We inherit the problem from C's

Re: internal error: asyncRead#, ghci and fps (windows) (trac 806)

2006-09-25 Thread Ian Lynagh
On Tue, Sep 19, 2006 at 09:20:45PM +0200, Rene de Visser wrote: Is there anyway to turn off that ghci runs in threaded mode on windows? Only by recompiling, I'm afraid (for 6.4.2 comment out the line SRC_HC_OPTS += -threaded in ghc/compiler/Makefile; for 6.5 you need to also do so in

Re: more extra-libs for ghc 6.6

2006-09-25 Thread Ian Lynagh
On Tue, Sep 19, 2006 at 08:45:30PM +0400, Bulat Ziganshin wrote: Hello glasgow-haskell-users, how about adding to the list of extra libs the following very useful ones: I think we're too late in the release process to be adding libraries. Also, I think we would like to move towards

Re: more fixups for GHC docs

2006-09-25 Thread Ian Lynagh
Hi Bulat, Thanks for the suggestions! On Tue, Sep 19, 2006 at 05:52:53PM +0400, Bulat Ziganshin wrote: in GHC library paragraph - add a link to the API documentation. btw, my download (http://www.haskell.org/ghc/dist/current/dist/ghc-6.5.20060901-i386-unknown-mingw32.tar.gz) don't

Re: compiler-independent core libraries infrastructure

2006-09-27 Thread Ian Lynagh
On Fri, Sep 15, 2006 at 05:20:36PM +0100, Ian Lynagh wrote: As it happens I was working on getting GHC to use cabal to build base et al on the plane the other day, and I had a brief look at this. See my comment in http://hackage.haskell.org/trac/ghc/ticket/710 for the results of my longer

ANNOUNCE: GHC 6.6 Second Release Candidate

2006-10-02 Thread Ian Lynagh
We are pleased to announce the Second Release Candidate phase for GHC 6.6. Snapshots beginning with 6.5.20061001 are release candidates for 6.6 We would be particularly interested to hear whether or not the 6.6 RC works for people who were having trouble with 6.4.2. Also, please note

Re: Controlling -fno-unit-at-a-time

2006-10-04 Thread Ian Lynagh
On Tue, Oct 03, 2006 at 04:59:58PM -0400, Ravi Nanavati wrote: If I understand the way things work, GHC decides whether or not to emit the -fno-unit-at-a-time flag in -fvia-C compilation based on whether or not the gcc used when compiling GHC supported the flag or not. I'm running into

Re: [Haskell] Expecting more inlining for bit shifting

2006-10-09 Thread Ian Lynagh
On Mon, Oct 09, 2006 at 10:33:47AM -0400, [EMAIL PROTECTED] wrote: On Mon, 9 Oct 2006, Simon Peyton-Jones wrote: Turns out that 'shift' is just too big to be inlined. (It's only called once, but you have exported it too.) You can see GHC's inlining decisions by saying -ddump-inlinings.

ANNOUNCE: GHC version 6.6

2006-10-11 Thread Ian Lynagh
=== The (Interactive) Glasgow Haskell Compiler -- version 6.6 === The GHC Team is pleased to announce a new release of GHC. There have been many changes since the 6.4.2

Re: ghc-6.6 under solaris

2006-10-12 Thread Ian Lynagh
On Thu, Oct 12, 2006 at 03:28:37PM +0200, Christian Maeder wrote: I've created ghc-6.6 under solaris. [410 of 642] Compiling Proofs.HideTheoremShift ( Proofs/HideTheoremShift.hs, Proofs/HideTheoremShift.o ) ghc-6.6: panic! (the 'impossible' happened) (GHC version 6.6 for

Re: GHC 6.6 on Ubuntu

2006-11-19 Thread Ian Lynagh
On Fri, Nov 17, 2006 at 07:48:41AM -0800, Chad Scherrer wrote: Is there a preferred way of getting this going? I tried the GHC instructions for Debian, but this seems to depend on 6.6 already being in the repository, which it's not, in Ubuntu (why?). I like Debian/Ubuntu's install system,

Re: FW: GHC API: Problems with implementing :reload for ghc --make

2006-11-24 Thread Ian Lynagh
Hi Brian, Sorry for the delayed response. My goal is to write a program GhcRemake that works like ghc --make. However, instead of terminating after compilation is done, I want the program to stay open and wait for me to hit ENTER. When I hit ENTER, GhcRemake rebuilds the project, just as if

Re: Using GHC API

2006-11-25 Thread Ian Lynagh
Hi Chris, On Fri, Nov 10, 2006 at 04:15:10PM +, C.M.Brown wrote: I am currently in the process of porting some of the Haskell Refactorer (HaRe) over to ghc 6.6. Part of HaRe requires the API and until now I've been content with using th 6.5 API. However, since I've started the switch

Re: Hacking on GHC interactively with GHCi

2006-11-25 Thread Ian Lynagh
On Tue, Oct 17, 2006 at 09:54:26AM +, Clemens Fruhwirth wrote: *Main :main -B/usr/lib/ghc-6.6 --help ...[freeze here .. pressed C-c] *** Exception: exit: ExitFailure 1 *Main I could reproduce this with stage2/ghc-inplace --interactive :set -I. -Istage1 -cpp -fglasgow-exts

Re: raw foregin imports - new backend for jhc: ghc

2006-12-04 Thread Ian Lynagh
Hi John, On Mon, Nov 27, 2006 at 08:26:34PM -0800, John Meacham wrote: At the moment, I don't think I need anything, I was just misreading certain features. the ghc backend seems to be working fine with the following caveats: * all integral types (even Integer) are flattened to Int#.

Re: TH - splicing with functions defined in the same source file

2006-12-04 Thread Ian Lynagh
On Thu, Nov 30, 2006 at 02:12:48AM +, Simon Peyton-Jones wrote: 2. You have to compile all the code before your cut-point to byte-code, just in case it's invoked by a splice afterwards. This is in addition to compiling it to machine code (assuming that's what the main compilation

Re: % of memory unit to heap-controlling RTS flags

2006-12-06 Thread Ian Lynagh
On Mon, Dec 04, 2006 at 01:15:16PM +0300, Bulat Ziganshin wrote: Monday, December 4, 2006, 4:19:45 AM, you wrote: and -H to (say) 25% of physical RAM. i had exactly the same idea. in particular, i want to setup -c value as percentage of available RAM I've added these suggestions to trac

Re: ghc-6.6-src-extralibs.tar.bz2

2006-12-08 Thread Ian Lynagh
On Fri, Dec 08, 2006 at 08:55:28AM +0100, Sven Panne wrote: Am Donnerstag, 7. Dezember 2006 11:37 schrieb Christian Maeder: The archive http://www.haskell.org/ghc/dist/6.6/ghc-6.6-src-extralibs.tar.bz2 does not contain the files ControlPoint.hs and Domain.hs from directory

Re: difficult profiling example

2006-12-13 Thread Ian Lynagh
Hi Serge, On Sat, Dec 09, 2006 at 04:19:26PM +0300, Serge D. Mechveliani wrote: This is again on the time profiling in ghc-6.6. Who could, please, guess what is happening? Is it possible for you to make available a complete, small example showing the confusing behaviour please? Thanks Ian

Re: HEAD ghci crash on ppc OS X

2007-01-28 Thread Ian Lynagh
On Tue, Jan 16, 2007 at 02:19:46PM -0800, David Kirkman wrote: http://cass166.ucsd.edu/~david/link-patch Applied, thanks! Ian ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org

Re: hasktags - small patch

2007-02-20 Thread Ian Lynagh
Hi Marc, On Sat, Feb 17, 2007 at 05:12:13AM +0100, Marc Weber wrote: 154c154 let wordlines = map words aslines --- let wordlines = map mywords aslines 161a162,174 -- my words is mainly copied from Data.List. -- difference abc::def is split into three words

Re: Problems with -caf-all

2007-03-02 Thread Ian Lynagh
On Thu, Feb 22, 2007 at 09:00:01PM -0800, R Hayes wrote: I get the following error message when I try to compile with -caf-all. /tmp/ghc583_0/ghc583_0.s:6482:0: FATAL:Symbol _Mainmain_CAF_cc_ccs already defined. Any ideas as to what I'm doing wrong? Nothing, it's a bug:

Re: Problem compiling GHC

2007-03-02 Thread Ian Lynagh
On Mon, Feb 26, 2007 at 02:48:38PM +0100, Cristian Perfumo wrote: So, what I did, to be sure that the error had nothing to do with my modification, was to download GHC again and try to build the original version. But I still get the same error (that I paste below this message). So you're

Re: ghci and ghc -threaded broken with pipes forking

2007-03-05 Thread Ian Lynagh
On Mon, Mar 05, 2007 at 08:36:29AM -0600, John Goerzen wrote: On Mon, Mar 05, 2007 at 12:59:17PM +, Simon Marlow wrote: There seems to be a common misconception that forkOS is necessary to get certain kinds of concurrency, and forkIO won't do. I don't know where this comes from: the

Re: Still trying to build unregisterised for FreeBSD/amd64

2007-03-13 Thread Ian Lynagh
Hi Gregory, On Thu, Mar 08, 2007 at 11:25:39AM -0500, Gregory Wright wrote: I fixed up Linker.c by replacing the calls to mmap (which will need fixing up anyway on FreeBSD/amd64) with MAP_FAILED and copying the definitions of four relocation types for X86_64 from machine/elf.h on the

Re: Progress building unregisterised for FreeBSD/amd64

2007-03-13 Thread Ian Lynagh
Hi Gregory, On Tue, Mar 13, 2007 at 05:18:42PM -0400, Gregory Wright wrote: The 6.4.2 build now runs successfully to the end of the hc-build script. Ah, good, that'll hopefully make getting 6.6 working less painful. The interesting thing is that out of the box using the 6.4.2 bootstrap

Re: More on FreeBSD/amd64

2007-04-01 Thread Ian Lynagh
On Sun, Apr 01, 2007 at 06:10:25PM -0400, Gregory Wright wrote: Ah, remove the #if/#endif around the definition of puts, its export, and the GHC.Pack import in libraries/base/GHC/Handle.hs No such luck. I even copied puts into libraries/base/GHC/ ForeignPtr.hs but I still get I cycle

Re: Login problems with trac

2007-04-03 Thread Ian Lynagh
On Tue, Apr 03, 2007 at 03:13:50PM +, C Rodrigues wrote: The wiki has edit links if I login as guest, but not if I login as heatsink. Should be fixed now. Is that also because of the spam issue? Yup; you weren't in the developer group, but you are now. Thanks Ian

Re: distributed compilation by GHC

2007-04-05 Thread Ian Lynagh
On Thu, Apr 05, 2007 at 10:47:39AM -0700, Bryan O'Sullivan wrote: Simon Marlow wrote: This is one reason I wrote the 'setup makefile' patch for Cabal[1] recently. I haven't seen that patch show up in the cabal tree yet. Do you plan to commit it? I'd love to see it in. Coincidentally,

Re: Failed to load interface for `Prelude'

2007-04-08 Thread Ian Lynagh
On Sat, Apr 07, 2007 at 12:27:47PM +0200, Thorkil Naur wrote: 1. It would probably be useful to give us the exact version of ghc that you are using and also the version you are building. (Sorry if you reported it and I missed it, but I cannot find it right now.) Ditto. 3. In #1195, igloo

Re: FreeBSD/amd64 registerised running

2007-04-09 Thread Ian Lynagh
On Sun, Apr 08, 2007 at 07:49:24PM -0400, Gregory Wright wrote: I have ghc-6.6 (darcs version from 20070405) running registerized on FreeBSD/amd64. Excellent! Well done, and thanks for persevering! It would be great if you could let us have a bindist and any necessary patches. The fix is

ANNOUNCE: GHC 6.6.1 Release Candidate

2007-04-10 Thread Ian Lynagh
We are pleased to announce the Release Candidate phase for GHC 6.6.1. Snapshots beginning with 6.6.20070409 are release candidates for 6.6.1 You can download snapshots from here: http://www.haskell.org/ghc/dist/stable/dist/ Right now we have the source bundles:

Re: FreeBSD/amd64 registerised running

2007-04-12 Thread Ian Lynagh
On Thu, Apr 12, 2007 at 04:33:27PM +0100, Simon Marlow wrote: I'm confused. I thought we copied the configuration from the target to the host as part of the bootstrapping process, but now I can't see how this is supposed to happen for HsBaseConfig.h. It looks like following the

Re: FreeBSD/amd64 registerised running

2007-04-12 Thread Ian Lynagh
On Thu, Apr 12, 2007 at 08:49:03PM +0100, Malcolm Wallace wrote: Simon Marlow [EMAIL PROTECTED] writes: Ah. I was about to checkin a replacement for System.Posix.Types (in base) that uses hsc2hs instead of autoconf. Anyway, to answer your question, using hsc2hs in System.Posix.Types

Re: Buildng ghc-devel from macports

2007-04-13 Thread Ian Lynagh
On Thu, Apr 12, 2007 at 11:07:03AM -0400, Gregory Wright wrote: configure: No cpphs found configure: No greencard found Setup: Unrecognised flags: --with-cc=gcc make[1]: *** [stamp/configure.library.build-profiling.base] Error 1 make: *** [stage1] Error 2 it to me directly (I maintain

<    1   2   3   4   5   6   7   8   9   10   >