Skip to content

Instantly share code, notes, and snippets.

@cartazio
Created March 21, 2015 23:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cartazio/ac04ab8048c9f7577d3d to your computer and use it in GitHub Desktop.
Save cartazio/ac04ab8048c9f7577d3d to your computer and use it in GitHub Desktop.
inplace/bin/hsc2hs
"inplace/bin/hsc2hs" '--cc=clang' '--ld=clang' --cross-safe --cflag=-Werror --cflag=-Wall --cflag=-m64 --cflag=-fno-stack-protector --cflag=-m64 --lflag=-m64 --cflag=-Dx86_64_HOST_ARCH=1 --cflag=-Ddarwin_HOST_OS=1 --cflag=-D__GLASGOW_HASKELL__=708 '--cflag=-m64' '--cflag=-fno-stack-protector' '--cflag=-Werror' '--cflag=-Wall' '--cflag=-Icompiler/stage1/build/autogen' '--cflag=-Icompiler/.' '--cflag=-Icompiler/parser' '--cflag=-Icompiler/utils' '--cflag=-Icompiler/stage1' '--cflag=-isystem/usr/local/lib/ghc-7.8.4/process-1.2.0.0/include' '--cflag=-isystem/usr/local/lib/ghc-7.8.4/directory-1.2.1.0/include' '--cflag=-isystem/usr/local/lib/ghc-7.8.4/unix-2.7.0.1/include' '--cflag=-isystem/usr/local/lib/ghc-7.8.4/time-1.4.2/include' '--cflag=-isystem/usr/local/lib/ghc-7.8.4/bytestring-0.10.4.0/include' '--cflag=-isystem/usr/local/lib/ghc-7.8.4/base-4.7.0.2/include' '--cflag=-isystem/usr/local/lib/ghc-7.8.4/integer-gmp-0.5.1.0/include' '--cflag=-isystem/usr/local/lib/ghc-7.8.4/include' '--cflag=-Werror=unused-but-set-variable' '--cflag=-Wno-error=inline' '--lflag=-L/Users/carter/Desktop/repoScratcher/ghc-7.10/libraries/transformers/dist-boot/build' '--lflag=-L/usr/local/lib/ghc-7.8.4/process-1.2.0.0' '--lflag=-L/Users/carter/Desktop/repoScratcher/ghc-7.10/libraries/hpc/dist-boot/build' '--lflag=-L/Users/carter/Desktop/repoScratcher/ghc-7.10/libraries/hoopl/dist-boot/build' '--lflag=-L/Users/carter/Desktop/repoScratcher/ghc-7.10/libraries/bin-package-db/dist-boot/build' '--lflag=-L/usr/local/lib/ghc-7.8.4/directory-1.2.1.0' '--lflag=-L/usr/local/lib/ghc-7.8.4/unix-2.7.0.1' '--lflag=-L/usr/local/lib/ghc-7.8.4/time-1.4.2' '--lflag=-L/usr/local/lib/ghc-7.8.4/old-locale-1.0.0.6' '--lflag=-L/usr/local/lib/ghc-7.8.4/filepath-1.3.0.2' '--lflag=-L/Users/carter/Desktop/repoScratcher/ghc-7.10/libraries/binary/dist-boot/build' '--lflag=-L/usr/local/lib/ghc-7.8.4/containers-0.5.5.1' '--lflag=-L/usr/local/lib/ghc-7.8.4/bytestring-0.10.4.0' '--lflag=-L/usr/local/lib/ghc-7.8.4/deepseq-1.3.0.2' '--lflag=-L/usr/local/lib/ghc-7.8.4/array-0.5.0.0' '--lflag=-L/usr/local/lib/ghc-7.8.4/base-4.7.0.2' '--lflag=-L/usr/local/lib/ghc-7.8.4/integer-gmp-0.5.1.0' '--lflag=-L/usr/local/lib/ghc-7.8.4/ghc-prim-0.3.1.0' '--lflag=-L/usr/local/lib/ghc-7.8.4/rts-1.0' '--lflag=-ldl' '--lflag=-liconv' '--lflag=-lm' '--lflag=-ldl' --cflag=-Icompiler/stage1/build/autogen --cflag=-include --cflag=compiler/stage1/build/autogen/cabal_macros.h compiler/utils/Fingerprint.hsc -o compiler/stage1/build/Fingerprint.hs
error: unknown warning option '-Werror=unused-but-set-variable'; did you mean '-Werror=unused-const-variable'? [-Werror,-Wunknown-warning-option]
compiling compiler/stage1/build/Fingerprint_hsc_make.c failed (exit code 1)
command was: clang -c compiler/stage1/build/Fingerprint_hsc_make.c -o compiler/stage1/build/Fingerprint_hsc_make.o -Werror -Wall -m64 -fno-stack-protector -m64 -Dx86_64_HOST_ARCH=1 -Ddarwin_HOST_OS=1 -D__GLASGOW_HASKELL__=708 -m64 -fno-stack-protector -Werror -Wall -Icompiler/stage1/build/autogen -Icompiler/. -Icompiler/parser -Icompiler/utils -Icompiler/stage1 -isystem/usr/local/lib/ghc-7.8.4/process-1.2.0.0/include -isystem/usr/local/lib/ghc-7.8.4/directory-1.2.1.0/include -isystem/usr/local/lib/ghc-7.8.4/unix-2.7.0.1/include -isystem/usr/local/lib/ghc-7.8.4/time-1.4.2/include -isystem/usr/local/lib/ghc-7.8.4/bytestring-0.10.4.0/include -isystem/usr/local/lib/ghc-7.8.4/base-4.7.0.2/include -isystem/usr/local/lib/ghc-7.8.4/integer-gmp-0.5.1.0/include -isystem/usr/local/lib/ghc-7.8.4/include -Werror=unused-but-set-variable -Wno-error=inline -Icompiler/stage1/build/autogen -include compiler/stage1/build/autogen/cabal_macros.h -I/Users/carter/Desktop/repoScratcher/ghc-7.10/inplace/lib/include/
make[1]: *** [compiler/stage1/build/Fingerprint.hs] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment