-
Notifications
You must be signed in to change notification settings - Fork 849
Closed
Milestone
Description
Running stack build on stack itself (fe06c3e)
[other packages build fine until]
-- While building package yaml-0.8.11 using:
/home/philip/.stack/programs/x86_64-linux/ghc-7.8.4/bin/runghc-7.8.4 -package=Cabal-1.18.1.5 -clear-package-db -global-package-db /tmp/stack3284/yaml-0.8.11/Setup.lhs --builddir=dist-stack/x86_64-linux/Cabal-1.18.1.5/ build
Process exited with code: ExitFailure 1
Logs have been written to: "/home/philip/projects/stack/.stack-work/logs/yaml-0.8.11.log"
Configuring yaml-0.8.11...
Building yaml-0.8.11...
Preprocessing library yaml-0.8.11...
[1 of 7] Compiling Text.Libyaml ( Text/Libyaml.hs, dist-stack/x86_64-linux/Cabal-1.18.1.5/build/Text/Libyaml.o )
[2 of 7] Compiling Data.Yaml.Internal ( Data/Yaml/Internal.hs, dist-stack/x86_64-linux/Cabal-1.18.1.5/build/Data/Yaml/Internal.o )
[3 of 7] Compiling Data.Yaml ( Data/Yaml.hs, dist-stack/x86_64-linux/Cabal-1.18.1.5/build/Data/Yaml.o )
[4 of 7] Compiling Data.Yaml.Aeson ( Data/Yaml/Aeson.hs, dist-stack/x86_64-linux/Cabal-1.18.1.5/build/Data/Yaml/Aeson.o )
[5 of 7] Compiling Data.Yaml.Builder ( Data/Yaml/Builder.hs, dist-stack/x86_64-linux/Cabal-1.18.1.5/build/Data/Yaml/Builder.o )
[6 of 7] Compiling Data.Yaml.Parser ( Data/Yaml/Parser.hs, dist-stack/x86_64-linux/Cabal-1.18.1.5/build/Data/Yaml/Parser.o )
[7 of 7] Compiling Data.Yaml.Include ( Data/Yaml/Include.hs, dist-stack/x86_64-linux/Cabal-1.18.1.5/build/Data/Yaml/Include.o )
In-place registering yaml-0.8.11...
Preprocessing executable 'yaml2json' for yaml-0.8.11...
[1 of 1] Compiling Main ( exe/yaml2json.hs, dist-stack/x86_64-linux/Cabal-1.18.1.5/build/yaml2json/yaml2json-tmp/Main.o )
Linking dist-stack/x86_64-linux/Cabal-1.18.1.5/build/yaml2json/yaml2json ...
/usr/bin/ld: dist-stack/x86_64-linux/Cabal-1.18.1.5/build/yaml2json/yaml2json-tmp/Main.o: relocation R_X86_64_32S against `stg_bhtmp-0.1.0.0: build
Building tmp-0.1.0.0...
Preprocessing executable 'tmp' for tmp-0.1.0.0...
Linking dist-stack/x86_64-linux/Cabal-1.22.2.0/build/tmp/tmp ...
/usr/bin/ld: dist-stack/x86_64-linux/Cabal-1.22.2.0/build/tmp/tmp-tmp/Main.o: relocation R_X86_64_32S against `stg_bh_upd_frame_info' can not be used when making a shared object; recompile with -fPIC
dist-stack/x86_64-linux/Cabal-1.22.2.0/build/tmp/tmp-tmp/Main.o: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
-- While building package tmp-0.1.0.0 using:
/home/philip/.stack/programs/x86_64-linux/ghc-7.10.1/bin/runghc-7.10.1 -package=Cabal-1.22.2.0 -clear-package-db -global-package-db /home/philip/tmp/Setup.hs --builddir=dist-stack/x86_64-linux/Cabal-1.22.2.0/ build
Process exited with code: ExitFailure 1
_upd_frame_info' can not be used when making a shared object; recompile with -fPIC
dist-stack/x86_64-linux/Cabal-1.18.1.5/build/yaml2json/yaml2json-tmp/Main.o: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
When running on a no-added-dependencies project
tmp-0.1.0.0: build
Building tmp-0.1.0.0...
Preprocessing executable 'tmp' for tmp-0.1.0.0...
Linking dist-stack/x86_64-linux/Cabal-1.22.2.0/build/tmp/tmp ...
/usr/bin/ld: dist-stack/x86_64-linux/Cabal-1.22.2.0/build/tmp/tmp-tmp/Main.o: relocation R_X86_64_32S against `stg_bh_upd_frame_info' can not be used when making a shared object; recompile with -fPIC
dist-stack/x86_64-linux/Cabal-1.22.2.0/build/tmp/tmp-tmp/Main.o: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
-- While building package tmp-0.1.0.0 using:
/home/philip/.stack/programs/x86_64-linux/ghc-7.10.1/bin/runghc-7.10.1 -package=Cabal-1.22.2.0 -clear-package-db -global-package-db /home/philip/tmp/Setup.hs --builddir=dist-stack/x86_64-linux/Cabal-1.22.2.0/ build
Process exited with code: ExitFailure 1
ghorn