Hi Simon,
On Tue, Oct 23, 2012 at 06:51:35AM -0700, Simon Marlow wrote:
>
> commit a7e0d4484189d08125083638582a6f8e4ae44801
> Author: Simon Marlow <[email protected]>
> Date: Tue Oct 23 13:05:28 2012 +0100
>
> a small -fPIC optimisation
>
> (PicBaseReg + lit) + N ==> PicBaseReg + (lit+N)
This makes my "SRC_HC_OPTS += -fPIC" OS X x86 validate fail with:
"inplace/bin/ghc-stage1" -static -H32m -O -Werror -Wall -H64m -O0 -fPIC
-package-name integer-gmp-0.5.0.0 -hide-all-packages -i
-ilibraries/integer-gmp/. -ilibraries/integer-gmp/dist-install/build
-ilibraries/integer-gmp/dist-install/build/autogen
-Ilibraries/integer-gmp/dist-install/build
-Ilibraries/integer-gmp/dist-install/build/autogen -Ilibraries/integer-gmp/.
-optP-include
-optPlibraries/integer-gmp/dist-install/build/autogen/cabal_macros.h -package
ghc-prim-0.3.0.0 -package-name integer-gmp -XHaskell98 -XCPP -XMagicHash
-XUnboxedTuples -XNoImplicitPrelude -XForeignFunctionInterface
-XUnliftedFFITypes -O2 -O -dcore-lint -fno-warn-deprecated-flags
-no-user-package-db -rtsopts -odir
libraries/integer-gmp/dist-install/build -hidir
libraries/integer-gmp/dist-install/build -stubdir
libraries/integer-gmp/dist-install/build -hisuf hi -osuf o -hcsuf hc -c
libraries/integer-gmp/./GHC/Integer/Type.lhs -o
libraries/integer-gmp/dist-install/build/GHC/Integer/Type.o
ghc-stage1: panic! (the 'impossible' happened)
(GHC version 7.7.20121023 for i386-apple-darwin):
cmmOffsetLit 1
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
Thanks
Ian
_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc