Re: [GHC] #6139: Data.Time.Day read instance too liberal

2012-06-03 Thread GHC
#6139: Data.Time.Day read instance too liberal
-+--
 Reporter:  guest|  Owner:  
 Type:  bug  | Status:  new 
 Priority:  normal   |  Component:  libraries/base  
  Version:  7.0.3|   Keywords:  
   Os:  Unknown/Multiple |   Architecture:  Unknown/Multiple
  Failure:  Incorrect result at runtime  |   Testcase:  
Blockedby:   |   Blocking:  
  Related:   |  
-+--

Comment(by altaic):

 This looks to be fixed in 7.4.1:
 {{{
 $ ghci
 GHCi, version 7.4.1: http://www.haskell.org/ghc/  :? for help
 Loading package ghc-prim ... linking ... done.
 Loading package integer-gmp ... linking ... done.
 Loading package base ... linking ... done.
 Prelude> :module Data.Time
 Prelude Data.Time> read "0001-22-01" :: Day 0001-12-01

 :3:26: parse error on input `0001'
 }}}

 as well as in git master:
 {{{
 $ ./inplace/bin/ghc-stage2 --interactive
 GHCi, version 7.5.20120602: http://www.haskell.org/ghc/  :? for help
 Loading package ghc-prim ... linking ... done.
 Loading package integer-gmp ... linking ... done.
 Loading package base ... linking ... done.
 Prelude> :module Data.Time
 Prelude Data.Time> read "0001-22-01" :: Day 0001-12-01

 :3:26:
 Illegal literal in type (use -XDataKinds to enable): 1
 }}}

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler

___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #5390: Hard-coded /Developer path in Mac ghc

2012-06-03 Thread GHC
#5390: Hard-coded /Developer path in Mac ghc
-+--
Reporter:  Ahruman   |   Owner:  pumpkin
Type:  bug   |  Status:  new
Priority:  low   |   Milestone:  7.6.1  
   Component:  Compiler  | Version:  7.0.3  
Keywords:  platform  |  Os:  MacOS X
Architecture:  Unknown/Multiple  | Failure:  GHC doesn't work at all
  Difficulty:|Testcase: 
   Blockedby:|Blocking: 
 Related:|  
-+--

Comment(by altaic):

 Oops, I meant to say: Haskell Platform 2012.2.0.0

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler

___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #5390: Hard-coded /Developer path in Mac ghc

2012-06-03 Thread GHC
#5390: Hard-coded /Developer path in Mac ghc
-+--
Reporter:  Ahruman   |   Owner:  pumpkin
Type:  bug   |  Status:  new
Priority:  low   |   Milestone:  7.6.1  
   Component:  Compiler  | Version:  7.0.3  
Keywords:  platform  |  Os:  MacOS X
Architecture:  Unknown/Multiple  | Failure:  GHC doesn't work at all
  Difficulty:|Testcase: 
   Blockedby:|Blocking: 
 Related:|  
-+--

Comment(by altaic):

 I believe this issue has been fixed; with Haskell Platform 2012.0.0 (OS X,
 64 bit), my `/usr/bin/ghc` looks like the following (no references to
 `/Developer`, or even `gcc`, for that matter):
 {{{
 #!/bin/sh
 
exedir="/Library/Frameworks/GHC.framework/Versions/7.4.1-x86_64/usr/lib/ghc-7.4.1"
 exeprog="ghc-stage2"
 executablename="$exedir/$exeprog"
 datadir="/Library/Frameworks/GHC.framework/Versions/7.4.1-x86_64/usr/share"
 bindir="/Library/Frameworks/GHC.framework/Versions/7.4.1-x86_64/usr/bin"
 
topdir="/Library/Frameworks/GHC.framework/Versions/7.4.1-x86_64/usr/lib/ghc-7.4.1"
 executablename="$exedir/ghc"
 exec "$executablename" -B"$topdir" ${1+"$@"}
 }}}

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler

___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #3222: GLFW 0.3 build fails w/ SSE error in 6.10.3, works in 6.10.1

2012-06-03 Thread GHC
#3222: GLFW 0.3 build fails w/ SSE error in 6.10.3, works in 6.10.1
---+
Reporter:  GregFrascadore  |   Owner:  
Type:  bug |  Status:  new 
Priority:  lowest  |   Milestone:  7.6.1   
   Component:  Compiler| Version:  6.10.3  
Keywords:  |  Os:  MacOS X 
Architecture:  x86 | Failure:  None/Unknown
  Difficulty:  Unknown |Testcase:  
   Blockedby:  |Blocking:  
 Related:  |  
---+

Comment(by altaic):

 FWIW, GLFW 0.5.0.0 installed fine for me with GHC 7.4.1 (x86_64) on OS X
 10.8 (build 12A206j) using Xcode 4.4 DP4. Could be this bug has long since
 been squashed.

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler

___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #5899: RTS crash w/ strange closure type 603975781 on OS X 10.8

2012-06-03 Thread GHC
#5899: RTS crash w/ strange closure type 603975781 on OS X 10.8
---+
Reporter:  dylukes |   Owner:   

Type:  bug |  Status:  new  

Priority:  high|   Milestone:  
7.4.2
   Component:  Runtime System  | Version:  
7.4.1
Keywords:  rts, strange closure, internal error, os x  |  Os:  
MacOS X  
Architecture:  x86_64 (amd64)  | Failure:  
Runtime crash
  Difficulty:  Unknown |Testcase:   

   Blockedby:  |Blocking:   

 Related:  |  
---+

Comment(by lukexi):

 Hi guys,

 I'm very happy to report that this seems to be fixed using the new Haskell
 Platform release 2012.2.0.0!

 The test program above runs perfectly, and my multithreaded server I
 originally ran into the 'strange closure type' issue with runs wonderfully
 as well. Hurray!

 I'm on ML DP3 (Build 12A206j), with Xcode 4.4 DP4.
 {{{
 lukexi@Luke-Ianninis-MacBook-Air:~/ghctest2$ echo 'main = print $ reverse
 [1,2,3]' > Main.hs
 lukexi@Luke-Ianninis-MacBook-Air:~/ghctest2$ ghc Main
 [1 of 1] Compiling Main ( Main.hs, Main.o )
 Linking Main ...
 lukexi@Luke-Ianninis-MacBook-Air:~/ghctest2$ ./Main
 [3,2,1]
 lukexi@Luke-Ianninis-MacBook-Air:~/ghctest2$
 }}}

 {{{
 lukexi@Luke-Ianninis-MacBook-Air:~/ghctest2$ ghc --version
 The Glorious Glasgow Haskell Compilation System, version 7.4.1
 lukexi@Luke-Ianninis-MacBook-Air:~/ghctest2$ ld -v
 @(#)PROGRAM:ld  PROJECT:ld64-132.11
 configured to support archs: armv6 armv7 i386 x86_64
 LTO support using: LLVM version 3.1svn, from Apple Clang 4.0 (build
 421.0.31)
 lukexi@Luke-Ianninis-MacBook-Air:~/ghctest2$ gcc --version
 i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build
 5658) (LLVM build 2336.11.00)
 Copyright (C) 2007 Free Software Foundation, Inc.
 This is free software; see the source for copying conditions.  There is NO
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
 PURPOSE.
 }}}

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler

___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #6139: Data.Time.Day read instance too liberal

2012-06-03 Thread GHC
#6139: Data.Time.Day read instance too liberal
-+--
 Reporter:  guest|  Owner:  
 Type:  bug  | Status:  new 
 Priority:  normal   |  Component:  libraries/base  
  Version:  7.0.3|   Keywords:  
   Os:  Unknown/Multiple |   Architecture:  Unknown/Multiple
  Failure:  Incorrect result at runtime  |   Testcase:  
Blockedby:   |   Blocking:  
  Related:   |  
-+--

Comment(by guest):

 (forgot to sign: sonoflilit at gmail)

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler

___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


[GHC] #6139: Data.Time.Day read instance too liberal

2012-06-03 Thread GHC
#6139: Data.Time.Day read instance too liberal
-+--
 Reporter:  guest|  Owner:  
 Type:  bug  | Status:  new 
 Priority:  normal   |  Component:  libraries/base  
  Version:  7.0.3|   Keywords:  
   Os:  Unknown/Multiple |   Architecture:  Unknown/Multiple
  Failure:  Incorrect result at runtime  |   Testcase:  
Blockedby:   |   Blocking:  
  Related:   |  
-+--
 Prelude Data.Time> read "0001-22-01" :: Day
 0001-12-01

 Obviously, this should be a parse error.

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler

___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #6138: GHCI Startup Crash with HP 2012.2.0.0 on 64bit OS X 10.6

2012-06-03 Thread GHC
#6138: GHCI Startup Crash with HP 2012.2.0.0 on 64bit OS X 10.6
-+--
  Reporter:  MtnViewMark |  Owner:
  Type:  bug | Status:  closed
  Priority:  normal  |  Milestone:
 Component:  Runtime System  |Version:  7.4.1 
Resolution:  wontfix |   Keywords:
Os:  MacOS X |   Architecture:  x86_64 (amd64)
   Failure:  None/Unknown| Difficulty:  Unknown   
  Testcase:  |  Blockedby:
  Blocking:  |Related:
-+--
Changes (by igloo):

  * status:  new => closed
  * difficulty:  => Unknown
  * resolution:  => wontfix


Comment:

 Thanks for the report, but I think XCode 3.2.6 is too old.
 http://www.haskell.org/ghc/download_ghc_7_4_1#macosx_x86_64 says you need
 4.1 to use our binaries.

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler

___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


[GHC] #6138: GHCI Startup Crash with HP 2012.2.0.0 on 64bit OS X 10.6

2012-06-03 Thread GHC
#6138: GHCI Startup Crash with HP 2012.2.0.0 on 64bit OS X 10.6
--+-
 Reporter:  MtnViewMark   |  Owner:
 Type:  bug   | Status:  new   
 Priority:  normal|  Component:  Runtime System
  Version:  7.4.1 |   Keywords:
   Os:  MacOS X   |   Architecture:  x86_64 (amd64)
  Failure:  None/Unknown  |   Testcase:
Blockedby:|   Blocking:
  Related:|  
--+-
 This is a migration of [http://trac.haskell.org/haskell-
 platform/ticket/199 HP ticket #199]:

 Installation of the HP appears to have succeeded and things seem to
 compile and work fine, but GHCI frequently crashes on startup. Here:


 {{{
 GHCi, version 7.4.1: http://www.haskell.org/ghc/ :? for help
 Loading package ghc-prim ... linking ... done.
 Loading package integer-gmp ... linking ... done.
 Loading package base ... linking ... done.
 Segmentation fault
 }}}

 There's a 2-3 second delay between the last message and the segfault.
 Trying to invoke GHCI a couple of times eventually succeeds and results in
 a working REPL. I have reproduced this on two machines that ran the
 previous version just fine.

 Please see the attached [http://trac.haskell.org/haskell-
 platform/attachment/ticket/199/ghc_2012-06-03-205527_MacPro09.crash crash
 reporter log] in the original ticket: The crash appears to be in the
 garbage collector.

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler

___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs