Skip to content

Instantly share code, notes, and snippets.

@shlevy
Created October 19, 2016 14:08
Show Gist options
  • Select an option

  • Save shlevy/f533501b813627faaf93309793c479e4 to your computer and use it in GitHub Desktop.

Select an option

Save shlevy/f533501b813627faaf93309793c479e4 to your computer and use it in GitHub Desktop.
$ "inplace/bin/ghc-stage1" -keep-tmp-files -hisuf hi -osuf o -hcsuf hc -static -O0 -H64m -Wall -this-unit-id base-4.9.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-include -optPlibraries/base/dist-install/build/autogen/cabal_macros.h -package-id ghc-prim-0.5.0.0 -package-id integer-simple-0.1.1.1 -package-id rts -this-unit-id base -XHaskell2010 -O -fllvm -no-user-package-db -rtsopts -Wno-trustworthy-safe -Wno-deprecated-flags -Wnoncanonical-monad-instances -odir libraries/base/dist-install/build -hidir libraries/base/dist-install/build -stubdir libraries/base/dist-install/build -c libraries/base/./GHC/Float.hs -o libraries/base/dist-install/build/GHC/Float.o
ld: warning: directory not found for option '-L/nix/store/2vd6b82fih97l9bd77ykyvr0b359ircg-clang-wrapper-3.7.1/lib'
ld: warning: directory not found for option '-L/nix/store/2vd6b82fih97l9bd77ykyvr0b359ircg-clang-wrapper-3.7.1/lib'
ld: warning: directory not found for option '-L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk/usr/lib/system'
ld: warning: directory not found for option '-L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk/usr/lib/system'
ld: building for iOS, but linking in object file built for OSX, file '/private/tmp/nix-build-ghc-8.0.1.drv-15/ghc40061_0/ghc_10.o' for architecture armv7
clang-3.7: error: linker command failed with exit code 1 (use -v to see invocation)
`arm-apple-darwin10-cc' failed in phase `Linker'. (Exit code: 1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment