Hi, On 6 October 2010 01:02, Simon Marlow <[email protected]> wrote:
> On 29/09/2010 07:25, Vivian McPhail wrote: > >> Trying to build rc1 from source >> >> linux x86_64 >> BuildFlavour = perf >> >> It seems that the -fPIC flag is set, but an error still occurs ( >> /usr/bin/ld: libraries/integer-gmp/gmp/objs/abs.o: relocation >> R_X86_64_32 against `.text' can not be used when making a shared object; >> recompile with -fPIC >> ) >> > > Normally the GMP library would not be built, because it should be installed > on your system. However, if you don't have the right package installed > (e.g. libgmp3-dev on Debian/Ubuntu), then the GHC build system will > automatically build GMP. > > Just to let you know, libgmp3-dev is already installed (Debian package). Could there be a problem with (debian) package detection? Vivian Perhaps there is a problem with using our copy of GMP when building shared > libraries; we'll look into that. In the meantime you should be able to work > around the problem by installing the GMP development libraries on your > machine. > > Cheers, > Simon > > > > > "inplace/bin/ghc-stage1" -fPIC -dynamic -O -H64m -package-name >> base-4.3.0.0 -hide-all-packages -i -ilibraries/base/. >> -ilibraries/base/dist-install/build >> -ilibraries/base/dist-install/build/autogen >> -Ilibraries/base/dist-install/build >> -Ilibraries/base/dist-install/build/autogen -Ilibraries/base/include >> -optP-DOPTIMISE_INTEGER_GCD_LCM -optP-include >> -optPlibraries/base/dist-install/build/autogen/cabal_macros.h -package >> ghc-prim-0.2.0.0 -package integer-gmp-0.2.0.2 -package rts-1.0 >> -package-name base -XMagicHash -XExistentialQuantification -XRank2Types >> -XScopedTypeVariables -XUnboxedTuples -XForeignFunctionInterface >> -XUnliftedFFITypes -XDeriveDataTypeable -XGeneralizedNewtypeDeriving >> -XFlexibleInstances -XStandaloneDeriving -XPatternGuards >> -XEmptyDataDecls -XNoImplicitPrelude -XCPP -no-user-package-conf >> -rtsopts -O2 -XGenerics -fno-warn-deprecated-flags -odir >> libraries/base/dist-install/build -hidir >> libraries/base/dist-install/build -stubdir >> libraries/base/dist-install/build -hisuf dyn_hi -osuf dyn_o -hcsuf >> dyn_hc -c libraries/base/./Data/Typeable.hs-boot -o >> libraries/base/dist-install/build/Data/Typeable.dyn_o-boot >> /usr/bin/ld: libraries/integer-gmp/gmp/objs/abs.o: relocation >> R_X86_64_32 against `.text' can not be used when making a shared object; >> recompile with -fPIC >> libraries/integer-gmp/gmp/objs/abs.o: could not read symbols: Bad value >> collect2: ld returned 1 exit status >> make[1]: *** >> [libraries/integer-gmp/dist-install/build/ >> libHSinteger-gmp-0.2.0.2-ghc7.0.0.20100924.so >> <http://libHSinteger-gmp-0.2.0.2-ghc7.0.0.20100924.so>] Error 1 >> make[1]: *** Waiting for unfinished jobs.... >> make: *** [all] Error 2 >> >> Vivian >> >> >> >> >> >> >> _______________________________________________ >> Glasgow-haskell-users mailing list >> [email protected] >> http://www.haskell.org/mailman/listinfo/glasgow-haskell-users >> > > -- --- yolar et elver. --- DISCLAIMER This transmission contains information that may be confidential. It is intended for the named addressee only. Unless you are the named addressee you may not copy or use it or disclose it to anyone else.
_______________________________________________ Glasgow-haskell-users mailing list [email protected] http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
