Hi Frederic, On Thu, Nov 17, 2016 at 01:35PM, frederic wagner wrote: > I cannot build anything using stack. > > to reproduce : > > stack new test simple > cd test > stack build > > -> gives following output : > [1 of 1] Compiling Main ( /tmp/stack28309/Setup.hs, > /tmp/stack28309/Setup.o ) > Linking > /home/wagnerf/.stack/setup-exe-cache/x86_64-linux/tmp-setup-Simple-Cabal-1.24.0.0-ghc-8.0.1 > ... > /usr/bin/ld: /tmp/stack28309/Setup.o: relocation R_X86_64_32S against symbol > `stg_bh_upd_frame_info' can not be used when making a shared object; > recompile with -fPIC > /usr/bin/ld: > /home/wagnerf/.stack/programs/x86_64-linux/ghc-8.0.1/lib/ghc-8.0.1/Cabal-1.24.0.0/libHSCabal-1.24.0.0.a(Simple__87.o): > relocation R_X86_64_32S against `.text' can not be used when making a shared > object; recompile with -fPIC
Thanks for reporting this. The above works for me with haskell-stack and ghc both from unstable. The current version of ghc in testing is known to be broken (see #712228): https://bugs.debian.org/712228 Could you give it a try? Best, -- Ilias _______________________________________________ Pkg-haskell-maintainers mailing list Pkg-haskell-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-haskell-maintainers