GHC | 1 Mar 02:24 2011

#4986: negative Double numbers print out all wrong

#4986: negative Double numbers print out all wrong
-------------------------------+--------------------------------------------
    Reporter:  vincef13        |       Owner:                         
        Type:  bug             |      Status:  new                    
    Priority:  normal          |   Component:  Compiler               
     Version:  7.0.1           |    Keywords:                         
    Testcase:                  |   Blockedby:                         
          Os:  MacOS X         |    Blocking:                         
Architecture:  x86_64 (amd64)  |     Failure:  Runtime performance bug
-------------------------------+--------------------------------------------
 Prelude> (-1) :: Double
 -3.666940035476786e76

--

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4986>
GHC | 1 Mar 02:25 2011

Re: #4986: negative Double numbers print out all wrong

#4986: negative Double numbers print out all wrong
-------------------------------+--------------------------------------------
    Reporter:  vincef13        |       Owner:                         
        Type:  bug             |      Status:  new                    
    Priority:  normal          |   Component:  GHCi                   
     Version:  7.0.1           |    Keywords:                         
    Testcase:                  |   Blockedby:                         
          Os:  MacOS X         |    Blocking:                         
Architecture:  x86_64 (amd64)  |     Failure:  Runtime performance bug
-------------------------------+--------------------------------------------
Changes (by vincef13):

  * component:  Compiler => GHCi

--

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4986#comment:1>
GHC | 1 Mar 02:34 2011

Re: #4986: negative Double numbers print out all wrong

#4986: negative Double numbers print out all wrong
--------------------------------------+-------------------------------------
  Reporter:  vincef13                 |          Owner:                
      Type:  bug                      |         Status:  closed        
  Priority:  normal                   |      Milestone:                
 Component:  GHCi                     |        Version:  7.0.1         
Resolution:  fixed                    |       Keywords:                
  Testcase:                           |      Blockedby:                
Difficulty:                           |             Os:  MacOS X       
  Blocking:                           |   Architecture:  x86_64 (amd64)
   Failure:  Runtime performance bug  |  
--------------------------------------+-------------------------------------
Changes (by igloo):

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

Comment:

 Thanks for the report. Happily, this is a duplicate of #4867, which is
 already fixed in the 7.0 branch.

--

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4986#comment:2>
GHC | 1 Mar 03:37 2011

#4987: darcs: internal error: stg_ap_v_ret (GHC version 7.0.1 for x86_64_apple_darwin)

#4987: darcs: internal error: stg_ap_v_ret (GHC version 7.0.1 for
x86_64_apple_darwin)
-------------------------------+--------------------------------------------
    Reporter:  guest           |       Owner:               
        Type:  bug             |      Status:  new          
    Priority:  normal          |   Component:  Compiler     
     Version:  7.0.1           |    Keywords:               
    Testcase:                  |   Blockedby:               
          Os:  MacOS X         |    Blocking:               
Architecture:  x86_64 (amd64)  |     Failure:  Runtime crash
-------------------------------+--------------------------------------------
 While doing a darcs pull from the Agda repository
 <http://www.cse.chalmers.se/~nad/repos/Agda> I got:

 darcs: internal error: stg_ap_v_ret
     (GHC version 7.0.1 for x86_64_apple_darwin)
     Please report this as a GHC bug:
 http://www.haskell.org/ghc/reportabug

 This happened just once.

 darcs version 2.5.1
 GHC was bootstrapped using the x86_64 ghc-6.10.4 from MacPorts
 Mac OS X 10.6.6 (Snow Leopard)
 Unsure of relevant Xcode version as neither ghc-6.10.4 nor ghc-7.0.1 built
 recently, but current.

--

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4987>
(Continue reading)

GHC | 1 Mar 03:59 2011

Re: #4013: build fails on OS X: Invalid Mach-O file:Address out of bounds while relocating object file

#4013: build fails on OS X: Invalid Mach-O file:Address out of bounds while
relocating object file
----------------------------------+-----------------------------------------
  Reporter:  igloo                |          Owner:         
      Type:  bug                  |         Status:  new    
  Priority:  high                 |      Milestone:  7.0.3  
 Component:  Compiler             |        Version:  6.13   
Resolution:                       |       Keywords:         
  Testcase:                       |      Blockedby:         
Difficulty:                       |             Os:  MacOS X
  Blocking:                       |   Architecture:  x86    
   Failure:  Building GHC failed  |  
----------------------------------+-----------------------------------------
Changes (by chak):

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

Comment:

 The last patch doesn't seem to have helped:
 http://darcs.haskell.org/ghcBuilder/builders/tn23/271/8.html

--

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4013#comment:25>
GHC | 1 Mar 10:02 2011

Re: #4973: building ghc7.0.1.20110217 under x86 solaris fails

#4973: building ghc7.0.1.20110217 under x86 solaris fails
----------------------------------+-----------------------------------------
  Reporter:  maeder               |          Owner:         
      Type:  bug                  |         Status:  new    
  Priority:  highest              |      Milestone:  7.0.2  
 Component:  Compiler             |        Version:  7.0.1  
Resolution:                       |       Keywords:         
  Testcase:                       |      Blockedby:         
Difficulty:                       |             Os:  Solaris
  Blocking:                       |   Architecture:  x86    
   Failure:  Building GHC failed  |  
----------------------------------+-----------------------------------------
Changes (by maeder):

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

Comment:

 The flag correction does not fix the relocation error:

 {{{
 ld: Schwerer Fehler: Verschiebungsfehler: R_386_GOTOFF: Datei
 rts/dist/build/STM.dyn_o: Symbol capabilities: Verschiebung muss lokal
 gebunden sein
 gmake[1]: *** [rts/dist/build/libHSrts-ghc7.0.1.20110224.so] Fehler 1
 gmake: *** [all] Fehler 2
 }}}

(Continue reading)

GHC | 1 Mar 10:06 2011

#4988: Hang in GHCi debugger

#4988: Hang in GHCi debugger
---------------------------------+------------------------------------------
    Reporter:  simonmar          |        Owner:            
        Type:  bug               |       Status:  new       
    Priority:  high              |    Milestone:  7.2.1     
   Component:  GHCi              |      Version:  7.0.1     
    Keywords:                    |     Testcase:  break024  
   Blockedby:                    |   Difficulty:            
          Os:  Unknown/Multiple  |     Blocking:            
Architecture:  Unknown/Multiple  |      Failure:  GHCi crash
---------------------------------+------------------------------------------
 GHCi hangs when loading a file after stopping at an exception breakpoint:

 {{{
 $ cd testsuite/tests/ghc-regress/ghci.debugger/scripts
 $ ../../../../../inplace/bin/ghc-stage2 --interactive break024 -fbreak-on-
 error
 GHCi, version 7.1.20110227: http://www.haskell.org/ghc/  :? for help
 Loading package ghc-prim ... linking ... done.
 Loading package integer-gmp ... linking ... done.
 Loading package base ... linking ... done.
 Loading package ffi-1.0 ... linking ... done.
 [1 of 1] Compiling Main             ( break024.hs, interpreted )
 Ok, modules loaded: Main.
 *Main> exception_uncaught
 Stopped at <exception thrown>
 _exception :: e = _
 [<exception thrown>] *Main> :l break024
 ^CInterrupted.
 *Main>
(Continue reading)

GHC | 1 Mar 10:13 2011

Re: #4973: building ghc7.0.1.20110217 under x86 solaris fails

#4973: building ghc7.0.1.20110217 under x86 solaris fails
----------------------------------+-----------------------------------------
  Reporter:  maeder               |          Owner:         
      Type:  bug                  |         Status:  new    
  Priority:  highest              |      Milestone:  7.0.2  
 Component:  Compiler             |        Version:  7.0.1  
Resolution:                       |       Keywords:         
  Testcase:                       |      Blockedby:         
Difficulty:                       |             Os:  Solaris
  Blocking:                       |   Architecture:  x86    
   Failure:  Building GHC failed  |  
----------------------------------+-----------------------------------------

Comment(by maeder):

 Here's the error in English

 {{{
 -bash-3.00$ "inplace/bin/ghc-stage1" -package-name rts -shared -dynamic
 -dynload deploy -no-auto-link-packages `cat rts/libs.depend`
 rts/dist/build/STM.dyn_o rts/dist/build/Timer.dyn_o
 rts/dist/build/ThreadPaused.dyn_o rts/dist/build/Ticky.dyn_o
 rts/dist/build/RtsMain.dyn_o rts/dist/build/ThreadLabels.dyn_o
 rts/dist/build/Hpc.dyn_o rts/dist/build/HsFFI.dyn_o
 rts/dist/build/Linker.dyn_o rts/dist/build/Printer.dyn_o
 rts/dist/build/RaiseAsync.dyn_o rts/dist/build/RtsMessages.dyn_o
 rts/dist/build/Proftimer.dyn_o rts/dist/build/Schedule.dyn_o
 rts/dist/build/Hash.dyn_o rts/dist/build/Trace.dyn_o
 rts/dist/build/Weak.dyn_o rts/dist/build/Task.dyn_o
 rts/dist/build/StgCRun.dyn_o rts/dist/build/LdvProfile.dyn_o
(Continue reading)

GHC | 1 Mar 10:19 2011

Re: #4973: building ghc7.0.1.20110217 under x86 solaris fails

#4973: building ghc7.0.1.20110217 under x86 solaris fails
----------------------------------+-----------------------------------------
  Reporter:  maeder               |          Owner:         
      Type:  bug                  |         Status:  new    
  Priority:  highest              |      Milestone:  7.0.2  
 Component:  Compiler             |        Version:  7.0.1  
Resolution:                       |       Keywords:         
  Testcase:                       |      Blockedby:         
Difficulty:                       |             Os:  Solaris
  Blocking:                       |   Architecture:  x86    
   Failure:  Building GHC failed  |  
----------------------------------+-----------------------------------------

Comment(by maeder):

 Omitting the "-shared" flag results in "ld: fatal: library -lHSrtsmain:
 not found", but for the 7.0.2 release I would suggest to switch off the
 recently added shared library support.

--

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4973#comment:10>
GHC | 1 Mar 10:34 2011

Re: #4973: building ghc7.0.1.20110217 under x86 solaris fails

#4973: building ghc7.0.1.20110217 under x86 solaris fails
----------------------------------+-----------------------------------------
  Reporter:  maeder               |          Owner:         
      Type:  bug                  |         Status:  new    
  Priority:  highest              |      Milestone:  7.0.2  
 Component:  Compiler             |        Version:  7.0.1  
Resolution:                       |       Keywords:         
  Testcase:                       |      Blockedby:         
Difficulty:                       |             Os:  Solaris
  Blocking:                       |   Architecture:  x86    
   Failure:  Building GHC failed  |  
----------------------------------+-----------------------------------------

Comment(by kgardas):

 Unfortunately if you disable shared libs, then neither DTrace is working
 which is kind of pity, isn't it? Could you be so kind and test that the
 build does not break if you remove ``i386-unknown-solaris2'' from
 ``PlatformSupportsSharedLibs'' in mk/config.mk ? If not, then this might
 be the easiest way how to disable the support, yet describe in Wiki how to
 enable it for SunOS 5.11 by user... And we can later investigate this
 failure for 7.2.1 release.

--

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4973#comment:11>

Gmane