
#8497: clang/wrapper cannot build GHC head with integer-gmp on Mavericks ----------------------------------------+---------------------------------- Reporter: kazu-yamamoto | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.7 Resolution: | Keywords: clang Operating System: MacOS X | Architecture: Type of failure: Building GHC failed | Unknown/Multiple Test Case: | Difficulty: Unknown Blocking: | Blocked By: | Related Tickets: ----------------------------------------+---------------------------------- Comment (by kazu-yamamoto): I installed GMP by MacPorts and did: {{{ % ./configure --prefix=/ghc-head --with-gmp-includes=/opt/local/include --with-gmp-libraries=/opt/local/lib % make }}} I got the following error this time: {{{ inplace/bin/dll-split compiler/stage2/build/.depend-v-p-dyn.haskell "DynFlags" " Annotations Avail Bag BasicTypes BinIface Binary Bitmap BlockId BooleanFormula B reakArray BufWrite BuildTyCl ByteCodeAsm ByteCodeInstr ByteCodeItbls CLabel Clas s CmdLineParser Cmm CmmCallConv CmmExpr CmmInfo CmmMachOp CmmNode CmmType CmmUti ls CoAxiom CodeGen.Platform CodeGen.Platform.ARM CodeGen.Platform.NoRegs CodeGen .Platform.PPC CodeGen.Platform.PPC_Darwin CodeGen.Platform.SPARC CodeGen.Platfor m.X86 CodeGen.Platform.X86_64 Coercion Config Constants CoreArity CoreFVs CoreLi nt CoreSubst CoreSyn CoreTidy CoreUnfold CoreUtils CostCentre DataCon Demand Dig raph DriverPhases DsMonad DynFlags Encoding ErrUtils Exception ExtsCompat46 FamI nst FamInstEnv FastBool FastFunctions FastMutInt FastString FastTypes Finder Fin gerprint FiniteMap ForeignCall Hooks Hoopl Hoopl.Dataflow HsBinds HsDecls HsDoc HsExpr HsImpExp HsLit HsPat HsSyn HsTypes HsUtils HscTypes IOEnv Id IdInfo Iface Env IfaceSyn IfaceType InstEnv InteractiveEvalTypes Kind ListSetOps Literal Load Iface Maybes MkCore MkGraph MkId Module MonadUtils Name NameEnv NameSet OccName OccurAnal OptCoercion OrdList Outputable PackageConfig Packages Pair Panic Pipel ineMonad Platform PlatformConstants PprCmm PprCmmDecl PprCmmExpr PprCore PrelInf o PrelNames PrelRules Pretty PrimOp RdrName Reg RegClass Rules SMRep Serialized SrcLoc StaticFlags StgCmmArgRep StgCmmClosure StgCmmEnv StgCmmLayout StgCmmMonad StgCmmProf StgCmmTicky StgCmmUtils StgSyn Stream StringBuffer TcEvidence TcIfac e TcMType TcRnMonad TcRnTypes TcType TcTypeNats TrieMap TyCon Type TypeRep TysPr im TysWiredIn Unify UniqFM UniqSet UniqSupply Unique Util Var VarEnv VarSet" dyld: lazy symbol binding failed: Symbol not found: _locale_charset Referenced from: /Users/kazu/work/ghc/libraries/base/dist- install/build/libHSb ase-4.7.0.0-ghc7.7.20131102.dylib Expected in: flat namespace dyld: Symbol not found: _locale_charset Referenced from: /Users/kazu/work/ghc/libraries/base/dist- install/build/libHSb ase-4.7.0.0-ghc7.7.20131102.dylib Expected in: flat namespace make[1]: *** [compiler/stage2/dll-split.stamp] Trace/BPT trap: 5 make: *** [all] Error 2 }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8497#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler