Re: [GHC] #696: segmentation fault in ./genprimopcode (x86_64)

2006-03-01 Thread GHC
#696: segmentation fault in ./genprimopcode (x86_64)
-+--
  Reporter:  taral   |  Owner:  simonmar  
  Type:  bug | Status:  new   
  Priority:  normal  |  Milestone:  6.4.2 
 Component:  Compiler (NCG)  |Version:  6.4.1 
  Severity:  normal  | Resolution:
  Keywords:  | Os:  Linux 
Difficulty:  Unknown |   Architecture:  x86_64 (amd64)
-+--
Comment (by simonmar):

 taral - does the -fasm version of the null program crash for you?

-- 
Ticket URL: http://cvs.haskell.org/trac/ghc/ticket/696
GHC http://www.haskell.org/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] #696: segmentation fault in ./genprimopcode (x86_64)

2006-03-01 Thread GHC
#696: segmentation fault in ./genprimopcode (x86_64)
-+--
  Reporter:  taral   |  Owner:  simonmar  
  Type:  bug | Status:  new   
  Priority:  normal  |  Milestone:  6.4.2 
 Component:  Compiler (NCG)  |Version:  6.4.1 
  Severity:  normal  | Resolution:
  Keywords:  | Os:  Linux 
Difficulty:  Unknown |   Architecture:  x86_64 (amd64)
-+--
Comment (by simonmar):

 null.s looks like it is unregisterised, whereas null.fasm.s is
 registerised.  This would explain the crash: if the default RTS is
 unregisterised, linking registerised code against it will fail.

 So I guess your Debian build of GHC 6.4.1 is unregisterised.  This is
 something you should probably look into - there's no reason to have an
 unregisterised build of 6.4.1 for x86_64, registerised works fine and is a
 lot faster (and -fasm works).

 It is usual to disable the native code generator for a registerised build.
 I guess the Debian folks didn't do this.  I'll look into providing more
 safety checks in GHC to make sure you get a sensible error message rather
 than a crash in the future.

-- 
Ticket URL: http://cvs.haskell.org/trac/ghc/ticket/696
GHC http://www.haskell.org/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] #696: segmentation fault in ./genprimopcode (x86_64)

2006-02-20 Thread GHC
#696: segmentation fault in ./genprimopcode (x86_64)
-+--
  Reporter:  taral   |  Owner:  simonmar  
  Type:  bug | Status:  new   
  Priority:  normal  |  Milestone:  6.4.2 
 Component:  Compiler (NCG)  |Version:  6.4.1 
  Severity:  normal  | Resolution:
  Keywords:  | Os:  Linux 
Difficulty:  Unknown |   Architecture:  x86_64 (amd64)
-+--
Changes (by simonmar):

  * milestone:  = 6.4.2
  * owner:  = simonmar

-- 
Ticket URL: http://cvs.haskell.org/trac/ghc/ticket/696
GHC http://www.haskell.org/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] #696: segmentation fault in ./genprimopcode (x86_64)

2006-02-14 Thread GHC
#696: segmentation fault in ./genprimopcode (x86_64)
---+
Reporter:  taral   |Owner: 
Type:  bug |   Status:  new
Priority:  normal  |Milestone: 
   Component:  Compiler (NCG)  |  Version:  6.4.1  
Severity:  normal  | Keywords: 
  Os:  Linux   |   Difficulty:  Unknown
Architecture:  x86_64 (amd64)  |  
---+
(ghc 6.4.1-1 from debian, compiling ghc-6.5.20060211)

 SRC_HC_OPTS = -H128m -O -fasm -Rghc-timing

 ./primopcode segfaults.

 {{{
 /usr/bin/ghc -H128m -O -fasm -Rghc-timing -package parsec-c Main.hs -o
 Main.o  -ohi Main.hi
 /usr/bin/ghc -o genprimopcode -H128m -O -fasm -Rghc-timing -package parsec
 Main.o
 /usr/bin/ghc -M -optdep-f -optdep.depend  -osuf o-H128m -O -fasm
 -Rghc-timing -package parsec Main.hs
 }}}

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/696
GHC http://www.haskell.org/ghc/
The Glasgow Haskell Compiler___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs