[MacPorts] #15923: ghc 6.8.3 Segmentation fault during build

MacPorts noreply at macports.org
Tue Jul 8 03:51:56 PDT 2008


#15923: ghc 6.8.3 Segmentation fault during build
------------------------------------+---------------------------------------
 Reporter:  macports at je-ju.net      |       Owner:  macports-tickets at lists.macosforge.org
     Type:  defect                  |      Status:  new                                  
 Priority:  Normal                  |   Milestone:                                       
Component:  ports                   |     Version:  1.6.0                                
 Keywords:  ghc segmentation fault  |  
------------------------------------+---------------------------------------
 I'm getting a segmentation fault when building ghc. I have already done a
 'port clean ghc' and this is the result of the build after that:

 {{{
 --->  Fetching ghc
 --->  Verifying checksum(s) for ghc
 --->  Extracting ghc
 --->  Applying patches to ghc
 --->  Configuring ghc
 --->  Building ghc with target all
 Error: Target org.macports.build returned: shell command "env
 DYLD_FALLBACK_LIBRARY_PATH=/opt/local/lib make" returned error 2
 Command output: <<ghc: 80466216 bytes, 10 GCs, 2189312/4202496 avg/max
 bytes residency (2 samples), 21M in use, 0.00 INIT (0.00 elapsed), 0.67
 MUT (0.95 elapsed), 0.18 GC (0.22 elapsed) :ghc>>
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work
 /ghc-bootstrap/bin/ghc -H16m -O -I/opt/local/include -L/opt/local/lib
 -istage1/utils  -istage1/basicTypes  -istage1/types  -istage1/hsSyn
 -istage1/prelude  -istage1/rename  -istage1/typecheck  -istage1/deSugar
 -istage1/coreSyn  -istage1/vectorise  -istage1/specialise
 -istage1/simplCore  -istage1/stranal  -istage1/stgSyn  -istage1/simplStg
 -istage1/codeGen  -istage1/main  -istage1/profiling  -istage1/parser
 -istage1/cprAnalysis  -istage1/ndpFlatten  -istage1/iface  -istage1/cmm
 -istage1/nativeGen -Wall -fno-warn-name-shadowing -fno-warn-orphans
 -Istage1 -cpp -fglasgow-exts -fno-generics -Rghc-timing -I. -Iparser
 -package unix -ignore-package lang -recomp -Rghc-timing  -H16M '-#include
 "cutils.h"' -DUSING_COMPAT -i../compat -ignore-package Cabal -package
 directory -package pretty -package containers    -c
 ndpFlatten/FlattenInfo.hs -o stage1/ndpFlatten/FlattenInfo.o  -ohi
 stage1/ndpFlatten/FlattenInfo.hi
 }}}

 ...

 {{{
 ------------------------------------------------------------------------
 == make all -r;
  in
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.8.3/rts
 ------------------------------------------------------------------------
 ../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
 make[1]: *** [Adjustor.o] Segmentation fault
 make: *** [stage1] Error 1

 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/15923>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list