Re: [GHC] #2619: Can't build HEAD with ghc-6.10

2008-09-27 Thread GHC
#2619: Can't build HEAD with ghc-6.10
--+-
 Reporter:  judah |  Owner: 
 Type:  bug   | Status:  new
 Priority:  normal|  Milestone:  6.10.1 
Component:  Compiler  |Version:  6.9
 Severity:  normal| Resolution: 
 Keywords:| Difficulty:  Unknown
 Testcase:|   Architecture:  x86
   Os:  MacOS X   |  
--+-
Comment (by judah):

 I'm building HEAD with {{{BuildFlavor = quickest}}}.

 I deleted the ghc files from the tarball and installed the above package.
 Using that, HEAD built and installed without incident.

-- 
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] #2012: compiling via-C does not work on ppc

2008-09-27 Thread GHC
#2012: compiling via-C does not work on ppc
--+-
 Reporter:  maeder|  Owner: 
 Type:  bug   | Status:  new
 Priority:  normal|  Milestone:  6.12 branch
Component:  Compiler  |Version:  6.8.2  
 Severity:  normal| Resolution: 
 Keywords:| Difficulty:  Unknown
 Testcase:|   Architecture:  powerpc
   Os:  MacOS X   |  
--+-
Changes (by igloo):

  * milestone:  6.10.1 => 6.12 branch

Comment:

 I don't think we're likely to fix this before -fvia-C is removed in 6.12.
 The workaround is just to use `-fasm`, of course.

-- 
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] #2354: NOINLINE pragma ignored

2008-09-27 Thread GHC
#2354: NOINLINE pragma ignored
--+-
 Reporter:  guest |  Owner: 
 Type:  bug   | Status:  new
 Priority:  normal|  Milestone:  6.12 branch
Component:  Compiler  |Version:  6.9
 Severity:  normal| Resolution: 
 Keywords:| Difficulty:  Unknown
 Testcase:|   Architecture:  Unknown
   Os:  Unknown   |  
--+-
Changes (by igloo):

  * milestone:  6.10.1 => 6.12 branch

-- 
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] #2410: HEAD build fails when building way=p with WAY_p_OPTS='-prof -caf-all -auto-all'

2008-09-27 Thread GHC
#2410: HEAD build fails when building way=p with WAY_p_OPTS='-prof -caf-all 
-auto-
all'
--+-
 Reporter:  pgavin|  Owner: 
 Type:  bug   | Status:  new
 Priority:  normal|  Milestone:  6.10.1 
Component:  Compiler  |Version:  6.9
 Severity:  normal| Resolution: 
 Keywords:| Difficulty:  Unknown
 Testcase:|   Architecture:  x86
   Os:  MacOS X   |  
--+-
Comment (by igloo):

 Testcase:
 {{{
 module C where

 data RealFloat a => Complex a = !a :+ !a
 deriving (Eq, Show)

 instance  (RealFloat a) => Num (Complex a)  where
 {-# SPECIALISE instance Num (Complex Float) #-}
 {-# SPECIALISE instance Num (Complex Double) #-}
 (x :+ y) + (x' :+ y')   =  (x + x') :+ (y + y')
 }}}
 With 6.11.20080927:
 {{{
 $ ghc -prof -caf-all -auto-all -O2 -c C.hs -fforce-recomp
 /tmp/ghc31271_0/ghc31271_0.s: Assembler messages:

 /tmp/ghc31271_0/ghc31271_0.s:14944:0:
  Error: symbol `C_a_CAF_cc_ccs' is already defined

 /tmp/ghc31271_0/ghc31271_0.s:14976:0:
  Error: symbol `C_a_CAF_cc_ccs' is already defined
 }}}

-- 
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] #2377: Building ghc-api with profiling fails during install

2008-09-27 Thread GHC
#2377: Building ghc-api with profiling fails during install
--+-
 Reporter:  bos   |  Owner: 
 Type:  bug   | Status:  closed 
 Priority:  normal|  Milestone:  6.10.1 
Component:  Compiler  |Version:  6.8.3  
 Severity:  normal| Resolution:  fixed  
 Keywords:| Difficulty:  Unknown
 Testcase:|   Architecture:  Unknown
   Os:  Unknown   |  
--+-
Changes (by igloo):

  * status:  new => closed
  * resolution:  => fixed

Comment:

 Thanks for the report; I can reproduce this with 6.8.3, but it's fixed in
 the 6.10 branch.

 You need
 {{{
 echo "GhcLibProfiled=YES" >> mk/build.mk
 }}}
 instead in 6.10, though.

-- 
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] #2338: unpack primitive types by default in data? and NOUNPACK?

2008-09-27 Thread GHC
#2338: unpack primitive types by default in data? and NOUNPACK?
-+--
 Reporter:  Isaac Dupree |  Owner: 
 Type:  feature request  | Status:  new
 Priority:  normal   |  Milestone:  6.12 branch
Component:  Compiler |Version:  6.8.2  
 Severity:  normal   | Resolution: 
 Keywords:   | Difficulty:  Unknown
 Testcase:   |   Architecture:  Unknown
   Os:  Unknown  |  
-+--
Changes (by igloo):

  * milestone:  6.10.1 => 6.12 branch

-- 
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] #2357: Implement the Haskell' proposal for polymorphic pattern bindings

2008-09-27 Thread GHC
#2357: Implement the Haskell' proposal for polymorphic pattern bindings
-+--
 Reporter:  simonmar |  Owner: 
 Type:  task | Status:  new
 Priority:  normal   |  Milestone:  6.12 branch
Component:  Compiler (Type checker)  |Version:  6.8.2  
 Severity:  normal   | Resolution: 
 Keywords:   | Difficulty:  Unknown
 Testcase:   |   Architecture:  Unknown
   Os:  Unknown  |  
-+--
Changes (by igloo):

  * milestone:  6.10.1 => 6.12 branch

-- 
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] #2423: Panic building GHC version 6.8.3 for powerpc-apple-darwin

2008-09-27 Thread GHC
#2423: Panic building GHC version 6.8.3 for powerpc-apple-darwin
--+-
 Reporter:  jimwhite  |  Owner: 
 Type:  bug   | Status:  new
 Priority:  normal|  Milestone:  6.10.1 
Component:  Build System  |Version:  6.8.3  
 Severity:  normal| Resolution: 
 Keywords:| Difficulty:  Unknown
 Testcase:|   Architecture:  Unknown
   Os:  Unknown   |  
--+-
Comment (by igloo):

 Are you able to test whether the GHC 6.10.1 beta works for you, please?

-- 
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] #2484: ghc 6.8.2 broken after Security Update 2008-005 (PPC) on Mac OS 10.4.11

2008-09-27 Thread GHC
#2484: ghc 6.8.2 broken after Security Update 2008-005 (PPC) on Mac OS 10.4.11
--+-
 Reporter:  knarF |  Owner:
 Type:  bug   | Status:  closed
 Priority:  normal|  Milestone:  6.10.1
Component:  Compiler  |Version:  6.8.2 
 Severity:  normal| Resolution:  worksforme
 Keywords:| Difficulty:  Unknown   
 Testcase:|   Architecture:  powerpc   
   Os:  MacOS X   |  
--+-
Changes (by igloo):

  * status:  new => closed
  * resolution:  => worksforme

Comment:

 Unreproducible, and no response from submitter.

-- 
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] #2495: Source dist should include Happy/Alex-generated sources

2008-09-27 Thread GHC
#2495: Source dist should include Happy/Alex-generated sources
--+-
 Reporter:  simonmar  |  Owner: 
 Type:  bug   | Status:  closed 
 Priority:  normal|  Milestone:  6.10.1 
Component:  Build System  |Version:  6.8.3  
 Severity:  normal| Resolution:  fixed  
 Keywords:| Difficulty:  Unknown
 Testcase:|   Architecture:  Unknown
   Os:  Unknown   |  
--+-
Changes (by igloo):

  * status:  new => closed
  * resolution:  => fixed

Comment:

 Now done.

-- 
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] #2619: Can't build HEAD with ghc-6.10

2008-09-27 Thread GHC
#2619: Can't build HEAD with ghc-6.10
--+-
 Reporter:  judah |  Owner: 
 Type:  bug   | Status:  new
 Priority:  normal|  Milestone:  6.10.1 
Component:  Compiler  |Version:  6.9
 Severity:  normal| Resolution: 
 Keywords:| Difficulty:  Unknown
 Testcase:|   Architecture:  x86
   Os:  MacOS X   |  
--+-
Changes (by igloo):

  * owner:  igloo =>

-- 
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] #2628: isatty behaves unexpectedly on mingw

2008-09-27 Thread GHC
#2628: isatty behaves unexpectedly on mingw
---+
Reporter:  igloo   |   Owner: 
Type:  bug |  Status:  new
Priority:  normal  |   Milestone:  6.10.1 
   Component:  libraries/base  | Version:  6.8.3  
Severity:  normal  |Keywords: 
  Difficulty:  Unknown |Testcase:  2228   
Architecture:  x86 |  Os:  Windows
---+
 test 2228 is failing for me in an msys window on Windows:
 {{{
 -BlockBuffering Nothing
 +LineBuffering
  BlockBuffering Nothing
 }}}
 because isatty behaves unexpectedly on mingw:
 {{{
 #include 
 #include 

 int main(void) {
 int i;
 i = fileno(stdin);
 printf("%d\n", i);
 i = fileno(stdout);
 printf("%d\n", i);
 i = isatty(0);
 printf("%d\n", i);
 i = isatty(1);
 printf("%d\n", i);
 return 0;
 }
 }}}
 {{{
 $ ./w
 0
 1
 0
 0

 $ ./w < /dev/null
 0
 1
 64
 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] #2295: Combined -odir/-hidir flag

2008-09-27 Thread GHC
#2295: Combined -odir/-hidir flag
--+-
 Reporter:  NeilMitchell  |  Owner:  igloo  
 Type:  merge | Status:  new
 Priority:  normal|  Milestone:  6.10.1 
Component:  Driver|Version:  6.8.2  
 Severity:  minor | Resolution: 
 Keywords:| Difficulty:  Unknown
 Testcase:|   Architecture:  Unknown
   Os:  Unknown   |  
--+-
Changes (by simonmar):

  * owner:  => igloo
  * type:  feature request => merge

Comment:

 Done:

 {{{
 Sat Sep 27 15:18:22 BST 2008  Simon Marlow <[EMAIL PROTECTED]>
   * Add -outputdir flag (#2295)
 }}}

-- 
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] #915: Implement list fusion using streams instead of foldr/build

2008-09-27 Thread GHC
#915: Implement list fusion using streams instead of foldr/build
+---
 Reporter:  simonpj |  Owner:
 Type:  task| Status:  new   
 Priority:  normal  |  Milestone:  6.12 branch   
Component:  libraries/base  |Version:  6.8   
 Severity:  normal  | Resolution:
 Keywords:  fusion  | Difficulty:  Project (> 1 week)
 Testcase:  N/A |   Architecture:  Multiple  
   Os:  Unknown |  
+---
Comment (by dons):

 This library has been written and released,

  http://hackage.haskell.org/cgi-bin/hackage-scripts/package/stream-fusion

 To replace GHC's existing list fusion, we'll need to work out how
 concatMap is optimised, and push the desugaring for list comprehensions
 into GHC.

 For now though, users can just use the library, and avoid list
 comprehensions and [n .. m] (use enumFromTo).

-- 
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] #915: Implement list fusion using streams instead of foldr/build

2008-09-27 Thread GHC
#915: Implement list fusion using streams instead of foldr/build
+---
 Reporter:  simonpj |  Owner:
 Type:  task| Status:  new   
 Priority:  normal  |  Milestone:  6.12 branch   
Component:  libraries/base  |Version:  6.8   
 Severity:  normal  | Resolution:
 Keywords:  fusion  | Difficulty:  Project (> 1 week)
 Testcase:  N/A |   Architecture:  Multiple  
   Os:  Unknown |  
+---
Changes (by Deewiant):

 * cc: Deewiant (added)

-- 
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] #2619: Can't build HEAD with ghc-6.10

2008-09-27 Thread GHC
#2619: Can't build HEAD with ghc-6.10
--+-
 Reporter:  judah |  Owner:  igloo  
 Type:  bug   | Status:  new
 Priority:  normal|  Milestone:  6.10.1 
Component:  Compiler  |Version:  6.9
 Severity:  normal| Resolution: 
 Keywords:| Difficulty:  Unknown
 Testcase:|   Architecture:  x86
   Os:  MacOS X   |  
--+-
Comment (by igloo):

 Hmm, I can't reproduce this problem.

 How are you building the HEAD?

 Does it work for you if you use this installer?
 http://www.haskell.org/ghc/dist/stable/dist/GHC-6.10.0.20080921-i386.pkg

-- 
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] #2603: Crash on Korn shell on Windows XP

2008-09-27 Thread GHC
#2603: Crash on Korn shell on Windows XP
--+-
 Reporter:  NeilMitchell  |  Owner: 
 Type:  bug   | Status:  closed 
 Priority:  normal|  Milestone: 
Component:  Compiler  |Version:  6.9
 Severity:  normal| Resolution:  fixed  
 Keywords:| Difficulty:  Unknown
 Testcase:|   Architecture:  Unknown
   Os:  Unknown   |  
--+-
Changes (by igloo):

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

Comment:

 Applied, thanks!

-- 
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] #2081: GHC reports internal error: stg_ap_v_ret

2008-09-27 Thread GHC
#2081: GHC reports internal error: stg_ap_v_ret
-+--
 Reporter:  thorkilnaur  |  Owner: 
 Type:  bug  | Status:  new
 Priority:  normal   |  Milestone:  6.10 branch
Component:  Compiler |Version:  6.9
 Severity:  normal   | Resolution: 
 Keywords:   | Difficulty:  Unknown
 Testcase:   |   Architecture:  Multiple   
   Os:  Multiple |  
-+--
Comment (by thorkilnaur):

 I am no longer able to produce the error message {{{internal error:
 stg_ap_p_ret}}} using the method originally described (compiling a program
 with GHC HEAD while spending resources in a separate process). I have
 looked a bit more into the timeout case: As I read what happens,
 timeout.hs is compiled using the stage1 inplace compiler. And:
 {{{
 $ uname -a
 Darwin thorkil-naurs-mac-mini.local 9.4.0 Darwin Kernel Version 9.4.0: Mon
 Jun  9 19:36:17 PDT 2008; root:xnu-1228.5.20~1/RELEASE_PPC Power Macintosh
 $ /Users/thorkilnaur/tn/buildbot/ghc/tnaur-ppc-osx-2/tnaur-ppc-osx-
 head-2/build/ghc/stage1-inplace/ghc -fforce-recomp --make timeout.hs
 [1 of 1] Compiling Main ( timeout.hs, timeout.o )
 Linking timeout ...
 $ ./timeout 200 'echo Something'
 Something
 $ /Users/thorkilnaur/tn/buildbot/ghc/tnaur-ppc-osx-2/tnaur-ppc-osx-
 head-2/build/ghc/stage1-inplace/ghc -fforce-recomp --make timeout.hs -O2
 [1 of 1] Compiling Main ( timeout.hs, timeout.o )
 Linking timeout ...
 $ ./timeout 200 'echo Something'
 timeout: internal error: stg_ap_p_ret
 (GHC version 6.11.20080927 for powerpc_apple_darwin)
 Please report this as a GHC bug:
 http://www.haskell.org/ghc/reportabug
 Something
 Abort trap
 $
 }}}
 So {{{-O2}}} makes a difference.

 Best regards
 Thorkil

-- 
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] #2411: RaiseAsync and STM segfault with stop_at_atomically in some circumstances.

2008-09-27 Thread GHC
#2411: RaiseAsync and STM segfault with stop_at_atomically in some 
circumstances.
+---
 Reporter:  sclv|  Owner:  igloo  
 Type:  merge   | Status:  new
 Priority:  high|  Milestone:  6.10.1 
Component:  Runtime System  |Version:  6.8.3  
 Severity:  normal  | Resolution: 
 Keywords:  | Difficulty:  Unknown
 Testcase:  |   Architecture:  Unknown
   Os:  Unknown |  
+---
Changes (by simonmar):

  * owner:  simonmar => igloo
  * type:  bug => merge

Comment:

 Fixed:

 {{{
 Fri Sep 26 16:28:06 PDT 2008  Simon Marlow <[EMAIL PROTECTED]>
   * Fix #2411: missing case for CATCH_STM_FRAME in raiseAsync()
 }}}

-- 
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