Opened 12 years ago

Closed 12 years ago

Last modified 48 years ago

#377 closed bug (Fixed)

can't build ghc with package depending on lang installed

Reported by: juhp Owned by: nobody
Priority: normal Milestone:
Component: Compiler Version: 6.4
Keywords: Cc:
Operating System: Architecture:
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:


When I try to build jhc with ghc and have wxhaskell
the build fails because although lang-1.0 is hidden somehow
it is exposed (by --make??) by being a dependency of the
wxcore package.

If I uninstall wxhaskell then there is no problem...
it is annoying having to uninstall and re-install pkgs
just to build
something.  The same problem occurs with hs-plugins
(instead of wxhaskell) iirc.

Change History (3)

comment:1 Changed 12 years ago by juhp

Logged In: YES 

I quite forgot, and making this even more relevant ;) ,
this also affects building ghc-6.4 itself...

comment:2 Changed 12 years ago by juhp

Summary: can't build jhc with package depending on lang installedcan't build ghc with package depending on lang installed
Logged In: YES 

In fact it segfaults:

ghc-6.4 -H16m -O  -istage1/utils  -istage1/basicTypes 
-istage1/types  -istage1/hsSyn  -istage1/prelude 
-istage1/rename  -istage1/typecheck  -istage1/deSugar 
-istage1/coreSyn  -istage1/specialise  -istage1/simplCore 
-istage1/stranal  -istage1/stgSyn  -istage1/simplStg 
-istage1/codeGen  -istage1/main  -istage1/profiling 
-istage1/parser  -istage1/cprAnalysis  -istage1/compMan 
-istage1/ndpFlatten  -istage1/iface  -istage1/cmm -Istage1
-DOMIT_NATIVE_CODEGEN -cpp -fglasgow-exts -fno-generics
-Rghc-timing -I. -IcodeGen -InativeGen -Iparser -package
unix -package Cabal -recomp -Rghc-timing  -H16M '-#include
"hschooks.h"' -i../lib/compat    -c types/Generics.lhs -o
stage1/types/Generics.o  -ohi stage1/types/Generics.hi

    Module `Generics' is a member of package lang-1.0.
    To compile this module, please use -ignore-package lang-1.0.
<<ghc: 73454848 bytes, make[3]: ***
[stage1/types/Generics.o] Segmentation fault
make[2]: *** [all] Error 1

comment:3 Changed 12 years ago by simonmar

Status: assignedclosed
Logged In: YES 

Fixed, thanks.
Note: See TracTickets for help on using tickets.