Re: (no subject)

2010-12-02 Thread Simon Marlow
On 19/12/2006 08:45, mm wrote: I can not login to the GHC Trac with the login/password suggested at the homepage. Could someone please confirm that it is currently not working? I just tried it here, and it worked for me. Cheers, Simon

haskell98 package not linked by default in 7.0.1 (was: Re: making 7.01-pre)

2010-11-01 Thread Simon Marlow
On 30/10/2010 16:52, David Fox wrote: On Sat, Oct 30, 2010 at 4:43 AM, Serge D. Mechvelianimech...@botik.ru wrote: Dear GHC developers, I am testing this fresh ghc-7.0.0.20101028 on Debian Linux, i386-family. Making it from source by ghc-6.12.3 is all right. Then, making it from source by

Re: #4316: Getting the lexer state to check for AlternativeLayoutMode

2010-10-19 Thread Simon Marlow
On 18/10/2010 05:53, Vivian McPhail wrote: On 18 October 2010 15:37, Vivian McPhail haskell.vivian.mcph...@gmail.com mailto:haskell.vivian.mcph...@gmail.com wrote: Hi, In attempting to use the lexer to see whether we are within an alternative layout context: [..] I have a

Re: Spam on the Trac

2010-07-21 Thread Simon Marlow
On 20/07/10 17:05, Sean Leather wrote: I just saw a lot of spam posts to the GHC Trac. Is there any way to prevent future occurrences of this? All the spam has been removed from the Trac, though unfortunately we can't remove it from the mailing list archives so easily. I'm not sure exactly

Re: Segfault in ghc head -fllvm

2010-06-30 Thread Simon Marlow
Don, did you recompile all the libraries after updating GHC? We recently turned on TNTC, which would cause breakages if you had any libraries or packages compiled the old way. Cheers, Simon On 29/06/2010 04:21, Don Stewart wrote: This comes from a Haskell game, where the C program

Re: [GHC] #650: Improve interaction between mutable arrays and GC

2010-01-11 Thread Simon Marlow
Switching to the new server has messed up threading for ghc-bugs emails. I think the culprit is this: References: 047.44b951cd4b5aa8536d862412c8d86...@abbot.galois.com In-Reply-To: 047.44b951cd4b5aa8536d862412c8d86...@abbot.galois.com these references point to @abbot.galois.com, rather than

Re: [GHC] #3709: Data.Either.partitionEithers is not lazy enough

2009-12-03 Thread Simon Marlow
On 03/12/2009 14:12, Henning Thielemann wrote: On Thu, 3 Dec 2009, Malcolm Wallace wrote: #3709: Data.Either.partitionEithers is not lazy enough This is a behavioural change, e.g.: Main case partitionEithers1 [Left 'a', error Not me] of (x : _, _) - x Program error: Not me Main case

Re: mkdirhier fails on Ubuntu Hardy i686 with dash shell

2009-11-02 Thread Simon Marlow
On 25/10/2009 19:34, Ian Lynagh wrote: On Mon, Oct 19, 2009 at 12:49:44PM -0600, Zooko Wilcox-O'Hearn wrote: Replacing the contents of mkdirhier and mkdirhier.sh with mkdir -p $* works-around the problem. Does anyone know why we don't just call mkdir -p normally? Are there portability

Re: runhaskell script on head build

2009-08-26 Thread Simon Marlow
On 26/08/2009 11:05, David Duke wrote: This didn't seem like a ghc bug per se, but am happy to put an entry into trac if appropriate. In playing with DPH, I've recently tried building the head code, using Mac OSX 10.5.8 and ghc 6.10.4 After compiling and installing, I tried building an

Re: panic initC: srt_lbl on 6.10.3

2009-06-29 Thread Simon Marlow
On 28/06/2009 05:39, Conal Elliott wrote: I'm getting panic! (the 'impossible' happened) / initC: srt_lbl in ghc 6.10.3. Does anyone have an educated guess about initC: srt_lbl ? Oddly, ghci doesn't throw the panic. When I comment out some GADT code, the panic goes away. It's a pretty

Re: [HOpenGL] renderString not working in ghci

2009-06-02 Thread Simon Marlow
On 01/06/2009 23:39, Sven Panne wrote: So my question is again: Why is -fPIC not the default for GHC on x86_64? If we don't want the overhead, that's OK (any benchmark numbers?), but then GHC's documentation should really contain a big, fat warning that GHCi's dynamic linker gets cases like the

Re: Linking hsc2hs .c output on Windows w/ build system: is it just me..?

2009-05-21 Thread Simon Marlow
to do it. I've now done exactly that. This seems like a good fix to try to get into 6.10.4 - can you think of any unexpected consequences? Cheers, Simon --sigbjorn On 4/27/2009 04:58, Simon Marlow wrote: On 24/04/2009 23:04, Sigbjorn Finne wrote: I've been experiencing repeated

Re: Inter-module links with Haddock broken?

2009-04-29 Thread Simon Marlow
On 28/04/2009 16:52, David Waern wrote: 2009/4/28 Sven Pannesven.pa...@aedion.de: Am Samstag, 25. April 2009 14:48:03 schrieb Sven Panne: Currently I am unable to make inter-module links (of the form 'Foo.Bar.baz') work with the Haddock shipped with GHC 6.10.2. [...] Until a few moments ago,

Re: Linking hsc2hs .c output on Windows w/ build system: is it just me..?

2009-04-27 Thread Simon Marlow
On 24/04/2009 23:04, Sigbjorn Finne wrote: I've been experiencing repeated woes over the past 4-5 months when trying to spin up build trees on Windows with the new build system. This is happening on the 3-4 boxes that I regularly develop on, which leads me to believe that this may not be limited

Re: [GHC] #3081: Double output after Ctrl+C on Windows

2009-03-17 Thread Simon Marlow
Neil Mitchell wrote: system cp foo foo.bup deleteFile foo If I Ctrl+C during the cp did I just delete my one copy of foo? On Windows, Ctrl-C will unblock a blocked system call. e.g. read() returns with zero. Apparently system foo also returns as soon as you press Ctrl-C, I'm not entirely

Re: [GHC] #3081: Double output after Ctrl+C on Windows

2009-03-12 Thread Simon Marlow
Neil Mitchell wrote: I think I'm confused. I thought Ctrl+C was abort the program now, so figured that foo bar, where foo get's a Ctrl+C means bar is never executed? The double buffering thing I can understand, but the fact that bar gets executed at all is a little confusing. What if I did:

Re: build failure for 6.10.1, missing ghcautoconf.h

2008-11-27 Thread Simon Marlow
Conal Elliott wrote: I just tried to build 6.10.1 from the source tarball (http://haskell.org/ghc/dist/6.10.1/ghc-6.10.1-src.tar.bz2) (plus extralibs) on Ubuntu 8.10, building with ghc-6.11. I got the following error: Configuring ghc-bin-6.10.1...

Re: [GHC] #2305: GHC does not care __RENAME macro

2008-06-05 Thread Simon Marlow
GHC wrote: #2305: GHC does not care __RENAME macro -+-- Reporter: iquiw| Owner: Type: feature request | Status: reopened Priority: normal | Milestone:

Re: [Haskell-cafe] Bug in parallel GHC runtime?

2008-05-29 Thread Simon Marlow
Don Stewart wrote: Hi, Thanks for the bug report. This should be filed on the GHC bug tracker, http://hackage.haskell.org/trac/ghc/newticket?type=bug And I've forwarded it to the glasgow-haskell-bugs mailing list. Please try with the 6.8.3 RC we just released. I fixed a bug that could

RE: [GHC] #1540: GHC on Macs

2008-02-13 Thread Simon Marlow
#1540: GHC on Macs --+--- -- Reporter: guest | Owner: Type: task | Status: closed Priority: high | Milestone: 6.8 branch Component: Build System |

Re: [GHC] #1015: regex001(ghci,threaded1) seg-faults under Solaris

2008-01-25 Thread Simon Marlow
Christian Maeder wrote: Hi Simon, could you please supply a testsuite.tgz for ghc-6.8.2 so that I can test it? (Or say how to easily get the testsuite only). I hope ghc-6.8.2 is sufficient for testing. A recent testsuite should be fine, that test hasn't changed in ages. In the future, I'll

Re: compiling ghc w/o ghc

2007-12-05 Thread Simon Marlow
Bulat Ziganshin wrote: i've seen the following report from a man who tried to compile 6.8.1 under linux without having any ghc installed: checking for ghc... no checking for path to top of build tree... ./configure: line 2724: -v0: command not found ./configure: line 2728: utils/pwd/pwd: No

Re: [GHC] #1943: round function causes cblas NaNs

2007-11-29 Thread Simon Marlow
GHC wrote: When I first submitted this the attach file action failed due to the size of my binaries. I mistakenly then resubmitted the bug and attached the files to ticket 1944. So this bug should be merged with 1944 or better just deleted. Ticket deleted. Simon

Re: ghc-6.6.1 testsuite on arm eabi: TestStub_stub.h: No such file or directory

2007-11-21 Thread Simon Marlow
Martin Guy wrote: 2007/11/20, Simon Marlow [EMAIL PROTECTED]: Martin Guy wrote: $ .../ghc6-6.6.1/testsuite/tests/ghc-regress$ make stage=2 fast make-fast-stage=2.errs 21 Wrong exit code (expected 0 , actual 2 ) /tmp/ghc27396_0/ghc27396_0.hc:5:27: error: TestStub_stub.h: No such file

Re: ghci ':browse *module' does not list items in source order

2007-10-23 Thread Simon Marlow
Claus Reinke wrote: [trac seems unreachable at the moment, hence good old email] while trying to write a test for an extension of :browse, i encountered an issue with the existing functionality: the order of names is not stable, making it difficult to write meaningful tests for :browse. a

Re: 6.8.1-candidate tested

2007-10-18 Thread Simon Marlow
Serge D. Mechveliani wrote: Dear GHC developers, I have tested ghc-6.8.0.20071015-src.tar.bz2 on DoCon and on Dumatel. It looks all right (except the bug-candidate for -O which is common to all GHC versions and which I recently reported ). On DoCon, ghc-6.8.0.20071015 1) builds the

Re: profiling missing from snapshot?

2007-10-18 Thread Simon Marlow
Ketil Malde wrote: I installed the binary ghc-6.8.0.20071017 snapshot, but when I try to compile with -prof, I get % ghc --make -O2 src/Xml2Xls -o xml2xls2 -prof [1 of 1] Compiling Main ( src/Xml2Xls.hs, src/Xml2Xls.o ) Linking xml2xls2 ... /usr/bin/ld: cannot find

Re: [GHC] #1738: GADT3 test failure

2007-10-08 Thread Simon Marlow
GHC wrote: #1738: GADT3 test failure -+-- Reporter: simonmar |Owner: Type: bug | Status: closed Priority: normal|Milestone: 6.10 branch Component:

Re: Request for inline control of warning level

2007-09-03 Thread Simon Marlow
(I can't resist the opportunity to extend this conversation to 3 Simons :-) Simon Peyton-Jones wrote: | OPTIONS_GHC pragmas allow warnings to be enabled or disabled for a | particular file, but there are some limitations: | | * It doesn't override command-line settings (being tacked on the

Re: runghc printing result of main when main is not IO ()

2007-08-30 Thread Simon Marlow
Tomasz Zielonka wrote: Hello! Consider: $ cat R.hs main = return [()] $ runghc R.hs [()] This was a bit surprising for me, because I thought that runghc mimics the way a compiled program behaves. This doesn't happen with 6.6.1, I believe we fixed it at some point by having runghc

Re: Data.HashTable.hashInt seems somewhat sub-optimal

2007-08-20 Thread Simon Marlow
[EMAIL PROTECTED] wrote: I tried submitting this bug through the tracker, but it seemed to give me permissions errors - probably a firewall issue here. :( Apologies. Anyway... Prelude Data.HashTable.hashInt 0 0 Prelude Data.HashTable.hashInt 1 -1 Prelude Data.HashTable.hashInt 2 -1 Prelude

Re: bug report: picoseconds handling in System.Time

2007-08-20 Thread Simon Marlow
Andrei Paskevich wrote: The diffClockTimes function can generate TimeDiff's with a negative value of tdPicosec. When you pass such a TimeDiff to addToClockTime, the latter may send negative picoseconds to toClockTime, provoking the error picoseconds out of range. While we are at it, please,

Re: stg_ap_pp_ret

2007-07-06 Thread Simon Marlow
Frederik Eaton wrote: No time to try to reproduce it, I'm preparing for a conference ;) I haven't seen the bug recently, but ... tangentially I was musing that if someone could devote some time to turning the GHC internal error message (which I've seen on over a hundred occasions, I'm sure)

Re: stg_ap_pp_ret

2007-07-05 Thread Simon Marlow
Frederik Eaton wrote: I've been seeing this a lot: interactive: internal error: stg_ap_pp_ret (GHC version 6.6.1 for i386_unknown_linux) Sometimes it seems to go away when I remove .o and .hi files and recompile, but it keeps coming back when I make edits and/or compile with different

Re: Vote for GHC 6.8 bugs!

2007-07-03 Thread Simon Marlow
Tomasz Zielonka wrote: On Tue, Jul 03, 2007 at 09:28:35AM +0100, Simon Peyton-Jones wrote: We have just instituted a cheap-and-cheerful mechanism for voting. Each bug has a 'cc' field. To vote, just add your email address to the cc field! How should we separate email addresses? Right now

Re: -keep-hc-files or -keep-hc-file?

2007-07-02 Thread Simon Marlow
Ian Lynagh wrote: On Thu, Jun 28, 2007 at 03:46:31PM +0200, Christian Maeder wrote: Christian Maeder schrieb: I'm currently confused if it must be plural or singular (or any) http://www.haskell.org/ghc/docs/latest/html/users_guide/separate-compilation.html#keeping-intermediates shows plural

Re: [GHC] #1468: :browse should browse currently loaded module

2007-06-29 Thread Simon Marlow
Josef Svenningsson wrote: On 6/28/07, *GHC* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: #1468: :browse should browse currently loaded module +--- Reporter: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]

Re: haskell static libraries issue on Solaris 10 x86...

2007-06-13 Thread Simon Marlow
Christian Maeder wrote: Simon Marlow schrieb: Christian Maeder wrote: [...] In PrimOps.s it looks (wrongly mangled?) like this: .text .align 4 .type GHC_ZCCReturnable_static_info, @object .size GHC_ZCCReturnable_static_info, 4 .zero 4 .globl

Re: haskell static libraries issue on Solaris 10 x86...

2007-06-11 Thread Simon Marlow
Christian Maeder wrote: Rod Evans schrieb: If this solves your problem ghc has a problem with object splitting under some solaris linkers Are you talking about the size issue we're presently discussing, or another issue in which the Solaris linkers fail you? We'd be happy to work with you

Re: haskell static libraries issue on Solaris 10 x86...

2007-06-11 Thread Simon Marlow
Christian Maeder wrote: Simon Marlow schrieb: The only reason we keep the .size directives around at all is because certain tools (like Valgind for example) don't work without .size information. GHC itself, including our dynamic linker, works fine without it. I can't tell exactly what has

Re: release notes

2007-06-08 Thread Simon Marlow
the binary distribution produced by our overnight build, which does include the extralibs. The Debian package splits out the extralibs into separate packages, so you can install and upgrade them separately. Cheers, Simon Frederik On Thu, Jun 07, 2007 at 04:23:17PM +0100, Simon Marlow

Re: release notes

2007-06-07 Thread Simon Marlow
Frederik Eaton wrote: Hello, Perhaps it's a bit late, but should the release notes for 6.6.1 mention that many libraries have been split off from the main package (at least in the Debian version)? I am looking here: /usr/share/doc/ghc6/changelog.Debian.gz and here:

Re: Build failures on Mac OS X 10.5

2007-05-24 Thread Simon Marlow
Deborah Goldsmith wrote: On May 23, 2007, at 2:08 AM, Simon Marlow wrote: Deborah Goldsmith wrote: On May 22, 2007, at 1:59 AM, Christian Maeder wrote: What are you trying to achieve? Did you compile parts with ghc-6.6 and ghc-6.6.1? (That may explain the crash.) If you have installed my

Re: binary distribution problem

2007-05-10 Thread Simon Marlow
John Meacham wrote: also, ghc seems to produce noticibly faster 32 bit code than 64 bit code. I haven't observed that here, although the GC overhead for 64-bit binaries tends to be higher because it's shuffling twice as many bytes around. Cheers, Simon

Re: Build failures on Mac OS X 10.5

2007-05-08 Thread Simon Marlow
Deborah Goldsmith wrote: Actually, I'm not sure that's what's going on. The unresolved symbol error is: ../../compiler/ghc-inplace -H16m -O -fglasgow-exts -cpp -Iinclude -#include HsBase.h -funbox-strict-fields -package-name base-2.1.1 -O -Rghc-timing -fgenerics -fgenerics -split-objs

Re: Build failures on Mac OS X 10.5

2007-05-07 Thread Simon Marlow
Deborah Goldsmith wrote: I believe what's going on here is that strerror has been changed for better Unix conformance, under the control of the __DARWIN_UNIX03 preprocessor flag. This is something you'll see in 10.4.x too. Here's an excerpt from /usr/include/unistd.h on 10.4.9: #if

Re: GHC 6.6 panic from Data.Binary.Builder? reproducible on linux and mac os/x

2007-04-30 Thread Simon Marlow
S. Alexander Jacobson wrote: How to reproduce: $ curl http://searchpath.org/searchpath/SearchPath.hs SearchPath.hs $ ghc --make SearchPath.hs -o sp $ ./sp -f runghc --sp HAppS.Protocols.HTTP.FileServer --http-port=7000 searchpath will download all the needed modules and calls out to shell to

Re: [GHC] #1275: ghci debugger is broken in the HEAD

2007-04-16 Thread Simon Marlow
Ian Lynagh wrote: On Sat, Apr 14, 2007 at 05:36:57PM -, GHC wrote: #1275: ghci debugger is broken in the HEAD Thanks, we are aware of this, we believe it is related to Wolfgang' patches changing the symbol names of datacons. But Bernie will be out for the next two weeks or so, and I

Re: ghci question

2007-04-04 Thread Simon Marlow
Duncan Coutts wrote: On Wed, 2007-04-04 at 00:01 +0100, Frederik Eaton wrote: Hello, This is a bit lame but I don't know where to find the information... I am wondering if ghci is OK to use with threads now. It seems to work but I have written down in some of my source code that a certain

Re: [GHC] #1110: Setting PATH needed in Windows Vista

2007-04-02 Thread Simon Marlow
Ross Paterson wrote: On Mon, Apr 02, 2007 at 10:48:11AM -, GHC wrote: [http://www.makegamegold.com World Of Warcraftwow gold][http://www.makegamegold.com/default.asp?cateid=6 wow gold][http://www.makegamegold.com/default.asp?cateid=6 gold wow So the ticket spammers have arrived at the

Re: [GHC] #1110: Setting PATH needed in Windows Vista

2007-04-02 Thread Simon Marlow
Ross Paterson wrote: On Mon, Apr 02, 2007 at 10:48:11AM -, GHC wrote: [http://www.makegamegold.com World Of Warcraftwow gold][http://www.makegamegold.com/default.asp?cateid=6 wow gold][http://www.makegamegold.com/default.asp?cateid=6 gold wow So the ticket spammers have arrived at the

Re: [GHC] Visual Haskell install error

2007-03-28 Thread Simon Marlow
Thanks for the analysis. You can use the GHC bug tracker for tickets against Visual Haskell - just set the Component field to Visual Haskell. Unfortunately we can't guarantee to fix anything promptly; Krasimir Angelov is the only person actively working on Visual Haskell, and he's been quiet

Re: How about change prep-bin-dist-mingw's default enviroment up todate?

2007-03-14 Thread Simon Marlow
Claus Reinke wrote: ps there has to be a less ugly way to get the doc path than this, though: ghc-pkg field base haddock-html | sed -e 's/^[^:]*: //' -e 's/$topdir/echo `ghc --print-libdir`/e' http://hackage.haskell.org/trac/ghc/ticket/937 This fix will be in 6.6.1. Cheers,

Re: [GHC] #1196: Cabal on Windows doesn't like the in-place GHCs

2007-03-06 Thread Simon Marlow
Ah, so you did, thanks for reminding me. We still need to do something about ghc-pkg, though. Cheers, Simon Sigbjorn Finne wrote: I added support for generating .bat files (to HEAD, I believe) for these in-place wrappers some time ago just to address this issue, so you may want to

Re: [GHC] #1171: GHC doesn't respect the imprecise exceptions semantics

2007-02-28 Thread Simon Marlow
Neil Mitchell wrote: Hi In response to Neil: why use `unsafePerformIO` rather than IO exceptions here? I think you're asking for more trouble... Are you referring to ioError? My knowledge of exceptions in Haskell is limited. The error architecture is often a long way from the IO monad,

RE: [GHC] #1171: GHC doesn't respect the imprecise exceptions semantics

2007-02-28 Thread Simon Marlow
The code in YHC is roughly if some list is empty then error No files found else error Many files found. If this code were changed to the equivalent of error (if some list is empty then No files found else Many files found), would there still be circumstances where the actual output produced

Re: [GHC] #1171: GHC doesn't respect the imprecise exceptions semantics

2007-02-28 Thread Simon Marlow
Simon Marlow wrote: The code in YHC is roughly if some list is empty then error No files found else error Many files found. If this code were changed to the equivalent of error (if some list is empty then No files found else Many files found), would there still be circumstances where the actual

Re: [GHC] #1171: GHC doesn't respect the imprecise exceptions semantics

2007-02-28 Thread Simon Marlow
Simon Marlow wrote: Simon Marlow wrote: The code in YHC is roughly if some list is empty then error No files found else error Many files found. If this code were changed to the equivalent of error (if some list is empty then No files found else Many files found), would there still

Re: trac-ticket/955

2007-02-07 Thread Simon Marlow
Christian Maeder wrote: For some reason I cannot login using guest guest http://hackage.haskell.org/trac/ghc/ticket/955 I only want to suggest to change the milestone to 6.8. Although the code-bloat is not nice, we could live with it. Somebody changed the password for guest again. I must

Re: Stretching the Storage Manager a little too much...

2007-01-30 Thread Simon Marlow
Michael Weber wrote: [I am reading ghc-bugs via the list archives, Cc'ing me would make me see responses faster] Here's a simple memoization function: applyMemo :: (Eq a1,Show a1) = (a1 - b) - MVar [(a1,b)] - (a1 - b) applyMemo f refTable x1 = unsafePerformIO $ do -- print x1 table -

Re: Bug interactive: internal error: interpretBCO: unknown or unimplemented opcodes

2007-01-16 Thread Simon Marlow
Matthew Sackman wrote: interactive: internal error: interpretBCO: unknown or unimplemented opcode 20196 (GHC version 6.6 for i386_unknown_linux) Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug Aborted Thanks for the report - this bug has already been fixed,

Re: (no subject)

2006-12-19 Thread Simon Marlow
mm wrote: I can not login to the GHC Trac with the login/password suggested at the homepage. Could someone please confirm that it is currently not working? Someone changed the password for 'guest' :-( Now fixed. Cheers, Simon ___

Re: bug in GHC master Makefile

2006-12-15 Thread Simon Marlow
Norman Ramsey wrote: 'make uninstall' silently does nothing: I'm not aware of 'make uninstall' ever working, in fact I don't think I've ever tried it. Probably we should just disable it, I'm not sure it's worth the trouble to get it right. Ian, what do you think? P.S. The web interface

Re: help with threadDelay

2006-11-22 Thread Simon Marlow
Ian Lynagh wrote: [moving to glasgow-haskell-bugs] On Wed, Nov 15, 2006 at 11:40:12PM +, Neil Davies wrote: however when -threaded is used you get some interesting effects, including returning too early: Tgt/Actual = 0.000125/0.34s, diff = -0.91s Thanks for the report; I can

Re: cabal, extralibs, no happy

2006-11-07 Thread Simon Marlow
Christian Maeder wrote: 3. the happy-1.15 sources can not be compiled due to http://haskell.org/ghc/docs/6.6/html/users_guide/release-6-6.html # The HasBounds class has been removed from Data.Array.Base, and its bounds method is now in the IArray class. The MArray class has also gained a

Re: smart relinking bug

2006-10-23 Thread Simon Marlow
Lemmih wrote: On 10/21/06, Bulat Ziganshin [EMAIL PROTECTED] wrote: Hello Lemmih, Saturday, October 21, 2006, 8:11:02 PM, you wrote: gcc -c -o a.o a.c ghc --make Main.hs a.o this command incorrectly don't relinks executable if a.c was changed but Main.hs wasn't Did you mean a.o

Re: Broken snapshot archives

2006-09-29 Thread Simon Marlow
Tomasz Zielonka wrote: Some recent GHC snapshot files seem to be broken. For example with http://www.haskell.org/ghc/dist/current/dist/ghc-6.5.20060927-i386-unknown-linux.tar.bz2 I get: $ tar jxf ghc-6.5.20060927-i386-unknown-linux.tar.bz2 bzip2: Compressed file ends unexpectedly;

Re: Bogus stats when running SMP programs

2006-09-27 Thread Simon Marlow
Tomasz Zielonka wrote: On Tue, Sep 26, 2006 at 01:46:30AM +0100, Ian Lynagh wrote: I couldn't reproduce this with a simple program that forked off 4 threads to do computation on a single CPU machine, and neither could someone on IRC with head from Sep 15 on a Core Duo. Is it possible to send

Re: Summary of GHC 6.6 test suite failures on MSYS/MinGW

2006-09-27 Thread Simon Marlow
Brian Smith wrote: On 9/26/06, *Simon Marlow* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Brian Smith wrote: The test always failed. When I decreased the number of threads in the test from 5,000 to 1,400 or so, then the tests passed sometimes, and sometimes

Re: Bogus stats when running SMP programs

2006-09-27 Thread Simon Marlow
Tomasz Zielonka wrote: On Wed, Sep 27, 2006 at 09:25:39AM +0100, Simon Marlow wrote: Perhaps clock_gettime() is returning strange results on your system. Could you try compiling with -threaded -debug, and run the program under gdb. When I compile with -threaded -debug, the stats are OK

Re: Summary of GHC 6.6 test suite failures on MSYS/MinGW

2006-09-26 Thread Simon Marlow
Brian Smith wrote: On 9/25/06, *Ian Lynagh* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: On Wed, Sep 13, 2006 at 12:23:27PM -0500, Brian Smith wrote: * conc023(ghci) This test only fails when run via GHCi. This test runs out of memory. The error message to

Re: [GHC] #724: tee complains if used in a process started by ghc

2006-09-04 Thread Simon Marlow
GHC wrote: #724: tee complains if used in a process started by ghc ---+ Reporter: guest | Owner: Type: bug | Status: new Priority: normal|

Re: weird data corruption

2006-08-23 Thread Simon Marlow
. I'm writing with 'hPutStr', but not directly - rather via some modules in a package I wrote. Kernel is Linux 2.6.16, libc 2.3.6, running Debian. Frederik On Tue, Aug 22, 2006 at 10:14:19AM +0100, Simon Marlow wrote: Can you repeat it? What API are you using to write the file? On what OS

Re: weird data corruption

2006-08-22 Thread Simon Marlow
Can you repeat it? What API are you using to write the file? On what OS? Cheers, Simon Frederik Eaton wrote: Sorry, forgot to say that I was using GHC 6.4.2 the first time, and ghc-6.4.3.20060816 this time. Frederik On Mon, Aug 21, 2006 at 10:45:40PM +0100, Frederik Eaton wrote:

Re: ghc searches for package libraries relative to cwd?

2006-08-21 Thread Simon Marlow
Frederik Eaton wrote: Hi all, It seems that ghc is searching for package libraries relative to the current directory. Is that the intended behavior? ghci does the same thing, by the way. $ pwd /home/frederik/GSLHaskell2 $ ghc --make ../test-proc.hs -package GSL Chasing modules from:

Re: Incomplete documentation

2006-08-21 Thread Simon Marlow
Neil Mitchell wrote: Taking a look at: http://haskell.org/ghc/docs/latest/html/libraries/base/GHC-ConsoleHandler.html#v%3AinstallHandler On Windows this has the members: data ConsoleEvent = ControlC | Break | Close | Logoff | Shutdown data Handler = Default | Ignore | Catch (ConsoleEvent -

Re: [GHC] #843: Dependency information for the linking step

2006-08-09 Thread Simon Marlow
Volker Wysk wrote: On Tuesday 08 August 2006 14:08, GHC wrote: #843: Dependency information for the linking step +-- - Reporter: [EMAIL PROTECTED] | Owner: Type: feature request| Status:

Re: Threading woes on FreeBSD

2006-08-08 Thread Simon Marlow
Gregory Wright wrote: Some additional information on the threading problems experienced on FreeBSD. The system was FreeBSD 6.1-RELEASE-p2, dual 2.8 GHz Xeon. I built ghc-6.4.2 from cvs using the FreeBSD ports version of ghc-6.4.2. (The latter has the threaded RTS disabled.) I ran the

Re: Bug in users manual, 6.4.2, section on pattern guards

2006-07-21 Thread Simon Marlow
Matthew Cox wrote: One example given in this discussion is: clunky env var1 var1 = case lookup env var1 of Nothing - fail Just val1 - case lookup env var2 of Nothing - fail Just val2 - val1 + val2 where fail = val1 + val2 this needs to be fixed to: clunky env var1 var1 = case

Re: Bug in GHC 6.4.1 and 6.4.2

2006-07-21 Thread Simon Marlow
Fritz Henglein wrote: According to a message from GHCi, version 6.4.1 (see below; bug also reproduceable with 6.4.2, though not shown here since it consistently resulted in a core dump without prior message) under Windows XP (fully updated per 2006-07-15), I am herewith reporting what appears to

Re: Missing haddock documentation

2006-07-04 Thread Simon Marlow
Neil Mitchell wrote: I'm not sure if anyone has noticed already, but the module documentation has gone missing: Linked to from here: http://haskell.org/ghc/docs/latest/html/libraries/index.html Does not exist: http://haskell.org/ghc/docs/latest/html/libraries/base/Prelude.html Hoogle relies

Re: [GHC] #738: ghc can't load files with selinux Enforcing

2006-07-04 Thread Simon Marlow
Jens Petersen wrote: Perhaps someone who knows SELinux would like to describe how to set up an exception for GHC so we can put it in the FAQ? I have added: /usr/bin/chcon -t unconfined_execmem_exec_t /path/to/binary/prog to the %post install scripts of the darcs and haddock packages in

Re: arithmetic sequences and the prelude: minor problems?

2006-06-30 Thread Simon Marlow
Laszlo Nemeth wrote: Incidentally, [1..5] is accepted (no space between 1 and the dots), while [False..True] is not (no spaces after False), which appears to be a parsing inconsistency. It's a bug, but a known one (we have a test in the test suite for it). Hugs has the same bug, so at least

Re: unexpected arithmetic sequence and deriving Enum behaviour

2006-06-30 Thread Simon Marlow
Hi Laszlo, Laszlo Nemeth wrote: Consider the following code fragment: data Colour = Red | Black | Blue deriving (Show, Bounded) instance Enum Colour where succ Red = Black succ Black = Blue succ Blue = error succ of maxBound fromEnum Red = 1 fromEnum Black = 2

Re: ASSERTION FAILED: file GC.c, line 1352

2006-06-26 Thread Simon Marlow
Joachim Breitner wrote: I have created a small app here, using gtk and hsql, and I sometimes get crashes with this debug message: internal error: ASSERTION FAILED: file GC.c, line 1352 What information do you need to further debug this, or what can I do myself to find the problem?

Re: ghc 6.4.1 failed to build on IRIX64 6.5.29

2006-06-26 Thread Simon Marlow
Andrew Jones wrote: /tmp/ghc363448.lpp:0: internal compiler error: Abort Please submit a full bug report, with preprocessed source if appropriate. See URL:http://gcc.gnu.org/bugs.html for instructions. ghc: 165577416 bytes, 35 GCs, 565100/969672 avg/max bytes residency (2 samples), 17M in use,

Re: GHC 6.2.2 and 6.4.1 on IRIX64 both failed, this time with new error

2006-06-26 Thread Simon Marlow
Andrew Jones wrote: This is the failed 6.4.1 build, but when using 3.4.6 instead of 3.4.0, both 6.2.2 and 6.4.1 fail this way. [EMAIL PROTECTED] --version gcc (GCC) 3.4.6 [EMAIL PROTECTED] -aR IRIX64 godot 6.5 6.5.29f 01090133 IP27 [EMAIL PROTECTED] --version The Glorious Glasgow Haskell

Re: [GHC] #738: ghc can't load files with selinux Enforcing

2006-06-22 Thread Simon Marlow
Jens Petersen wrote: Jon Fairbairn wrote: Fixed in the HEAD and the 6.4 branch, but I haven't been able to test (don't have SE Linux on a local machine). Please download a snapshot and try it out, if possible. That does seem to mend it for me. Note that my report says it only seems

Re: [GHC] #729: Build system uses wrong version of include files.

2006-06-22 Thread Simon Marlow
Can anyone comment further on this bug? I've forgotten who the submitter is, and we need more information. From the description, it looks like the installed version of HsUnix.h is being used while compiling the compiler, which is correct for the stage1 compiler, but would be wrong for

Re: lack of automatic recompilation after library updating

2006-06-16 Thread Simon Marlow
Bulat Ziganshin wrote: i just reinstalled FPS library with new version downloaded via darcs (both old and new versions are 0.7, difference is few days only) i run the following to update lib: runghc Setup.hs unregister runghc Setup.hs clean runghc Setup.hs build runghc Setup.hs install and

Re: One-character bug in time library

2006-06-06 Thread Simon Marlow
wld wrote: Sorry ;) On 6/5/06, wld [EMAIL PROTECTED] wrote: Hi, File package.conf.in (darcs GHC HEAD) contains the following line: hs-libraries: HSTime This should be of course hs-libraries: HSTime Certainly, hs-libraries: HStime Fixed, thanks.

Re: [GHC] #738: ghc can't load files with selinux Enforcing

2006-06-06 Thread Simon Marlow
Jon Fairbairn wrote: On Wed, 31 May 2006 14:15:26 - you wrote: #738: ghc can't load files with selinux Enforcing ---+ Reporter: [EMAIL PROTECTED] |Owner: Type: bug

Re: 6.4.2 under solaris

2006-06-02 Thread Simon Marlow
Christian Maeder wrote: Christian Maeder wrote: Ok, I'm recompiling Now compilation (from cvs of yesterday) failed at: /local/home/maeder/ghc-6.4.3-pre/ghc/rts/libHSrts_thr.a(Storage.thr_o): In function `allocateExec': Storage.c:(.text+0xc58): undefined reference to `getPageSize'

RE: 6.4.2 under solaris

2006-06-01 Thread Simon Marlow
On 01 June 2006 11:26, Christian Maeder wrote: I've recompiled ghc-6.4.2 from cvs again without -threaded. The regression test looks much better now (below). Do you know if the stage2 compiler works with -threaded? Or does it still crash? The conc-cases go through now, but the following

Re: 6.4.2 under solaris

2006-06-01 Thread Simon Marlow
Christian Maeder wrote: Christian Maeder wrote: Well. at least Florenz reported independently the same ctime_r problem under Solaris 10 in http://hackage.haskell.org/trac/ghc/ticket/775 Ok, he used the original 6.4.2 sources that did not have your fix. What file was supposed to fix the

Re: Bug with Char.isAlpha

2006-05-31 Thread Simon Marlow
Michael Nagel wrote: I am using the precompiled windows version of ghc-6.4.2 and for some reason Prelude Char.isAlpha 'ยง' returns true. Hugs however, is of the opinion that the paragraph sign is not an alphabetic character and so am I. I did not find any rationale for this behavior (as no

Re: compiling from source - error

2006-05-31 Thread Simon Marlow
If this error is not repeatable, then it is likely a hardware glitch. If it is repeatable, can you give us more information: - what platform is this? - where did you get your 6.4.1 distribution? Cheers, Simon Johan Meskens CS3 jmcs3 wrote: ==fptools== make all -

Re: Visual Haskell

2006-05-24 Thread Simon Marlow
James Chaffee wrote: I downloaded the installer package for Visual Haskell and attempted to install it. I have Visual Studio 2005. The install went to a point where it said a script was missing and then proceeded to uninstall itself. I would very much like to install the package? Is there

Re: 6.4.2 under solaris

2006-05-18 Thread Simon Marlow
Christian Maeder wrote: Christian Maeder wrote: using Rev. 1.1.2.3 of timeout.hs I could run the testsuite until conc020 which did then sleep with truss repeatedly outputting: I ran the testsuite now with ghc-6.4.1. The results are attached at

Re: More on the OS X crashes

2006-05-16 Thread Simon Marlow
Thanks Greg. Wolfgang Thaller has promised to take a look at this, but I think he's quite busy at the moment. Cheers, Simon Gregory Wright wrote: Hi, I've built a compiler with debugging turned on and have obtained what might be useful information about the crashes on OS X. When I

  1   2   3   4   5   6   7   8   9   10   >