Validate breaks on Mac OS (even on Leopard - 10.5)

Simon Marlow marlowsd at gmail.com
Tue Oct 6 05:08:37 EDT 2009


On 06/10/2009 05:35, Manuel M T Chakravarty wrote:
> "inplace/bin/ghc-stage2"  -H32m -O -Wall -Werror -H64m -O0 -fasm
> -DNEW_GHC_LAYOUT -hide-all-packages -i -iutils/haddock/src
> -iutils/haddock/dist/build -iutils/haddock/dist/build/autogen
> -Iutils/haddock/dist/build -Iutils/haddock/dist/build/autogen
> -optP-DIN_GHC_TREE -optP-include
> -optPutils/haddock/dist/build/autogen/cabal_macros.h -package
> Cabal-1.7.4 -package array-0.3.0.0 -package base-4.2.0.0 -package
> containers-0.3.0.0 -package directory-1.0.1.0 -package filepath-1.1.0.3
> -package ghc-6.13.20091005 -package pretty-1.0.1.1 -funbox-strict-fields
> -O2 -Wall -XForeignFunctionInterface -XCPP -XPatternGuards
> -XDeriveDataTypeable -XScopedTypeVariables -XMagicHash -odir
> utils/haddock/dist/build -hidir utils/haddock/dist/build -stubdir
> utils/haddock/dist/build -hisuf hi -osuf o -hcsuf hc -c
> utils/haddock/src/Haddock/GhcUtils.hs -o
> utils/haddock/dist/build/Haddock/GhcUtils.o
> ghc-stage2: mkTextEncoding: invalid argument (Invalid argument)
> make[1]: *** [utils/haddock/dist/build/Haddock/GhcUtils.o] Error 1
> make: *** [all] Error 2

Sigh.  Ian, when you're around can you ping me on IRC and we'll see if 
we can get this fixed.  Manuel - in the meantime you might want to back 
out my last patch to libraries/base.

Apparently everyone's iconv is different.  You'd think that "UTF32LE" 
would be a universal encoding name, but no.  I just hope I don't have to 
write a ton of autoconf goop to make this work.

Cheers,
	Simon



More information about the Cvs-ghc mailing list