#2380: Adjustor.o crash compiling ghc 6.8.3 on iBook G4 10.4.11
--------------------------+-------------------------------------------------
 Reporter:  povman        |          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:  powerpc
       Os:  MacOS X       |  
--------------------------+-------------------------------------------------
Comment (by steve):

 Building using ghc 6.8.3 installed from the binary package works. When
 building via MacPorts, it uses 6.8.2 to build and that causes the built
 stage1/ghc-inline to segfault while compiling .c files in the rts
 directory, not just Adjustor.c which is merely the first one.

 If I run with -v -ddump-stg -ddump-simpl -ddump-cmm -dppr-debug, I get the
 following.
 ../compiler/ghc-inplace -optc-O -optc-I/opt/local/include -optc-Wall
 -optc-W -optc-Wstrict-prototypes -optc-Wmissing-prototypes -optc-Wmissing-
 declarations -optc-Winline -optc-Waggregate-return -optc-I../includes
 -optc-I. -optc-Iparallel -optc-Ism -optc-DCOMPILING_RTS -optc-fomit-frame-
 pointer -optc-I/opt/local/include -optc-I../gmp/gmpbuild -optc-fno-strict-
 aliasing -H16m -O -I/opt/local/include -L/opt/local/lib -optc-O2 -package-
 name rts -static -I/opt/local/include -I../gmp/gmpbuild -I. -#include
 HCIncludes.h -dcmm-lint     -c Adjustor.c -o Adjustor.o -v -ddump-stg
 -ddump-simpl -ddump-cmm -dppr-debug
 Glasgow Haskell Compiler, Version 6.8.3, for Haskell 98, stage 1 booted by
 GHC version 6.8.2
 Using package config file:
 
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.8.3/driver/package.conf.inplace
 Segmentation fault

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2380#comment:6>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to