Skip to content

Instantly share code, notes, and snippets.

@mitchty
Created March 13, 2018 13:15
Show Gist options
  • Save mitchty/22d30a864a3116439f63a2198a330043 to your computer and use it in GitHub Desktop.
Save mitchty/22d30a864a3116439f63a2198a330043 to your computer and use it in GitHub Desktop.
echo '#!/usr/bin/perl' >> utils/count_lines/dist/count_lines
echo 'my $TARGETPLATFORM = "arm-alpine-linux";' >> utils/count_lines/dist/count_lines
"gcc" -marm -fno-stack-protector -Wall -Iiserv/stage2/build/iserv/autogen -Iiserv/. -Iiserv/stage2/build/. -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/libraries/directory/.' -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/libraries/directory/dist-install/build/.' -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/libraries/unix/include' -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/libraries/unix/dist-install/build/include' -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/libraries/unix/dist-install/build/include' -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/libraries/unix/dist-install/build/dist-install/build/include' -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/libraries/time/lib/include' -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/libraries/time/lib/dist-install/build/include' -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/libraries/time/dist-install/build/lib/include' -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/libraries/time/dist-install/build/lib/dist-install/build/include' -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/libraries/containers/include' -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/libraries/containers/dist-install/build/include' -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/libraries/containers/dist-install/build/include' -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/libraries/containers/dist-install/build/dist-install/build/include' -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/libraries/bytestring/include' -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/libraries/bytestring/dist-install/build/include' -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/libraries/bytestring/dist-install/build/include' -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/libraries/bytestring/dist-install/build/dist-install/build/include' -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/libraries/base/include' -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/libraries/base/dist-install/build/include' -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/libraries/base/dist-install/build/include' -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/libraries/base/dist-install/build/dist-install/build/include' -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/libraries/integer-gmp/include' -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/libraries/integer-gmp/dist-install/build/include' -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/libraries/integer-gmp/dist-install/build/include' -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/libraries/integer-gmp/dist-install/build/dist-install/build/include' -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/rts/dist/build' -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/includes' -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/includes/dist-derivedconstants/header' -Werror=unused-but-set-variable -Wno-error=inline -ffunction-sections -fdata-sections -c iserv/cbits/iservmain.c -o iserv/stage2/build/cbits/iservmain.o
echo 'my $TABLES_NEXT_TO_CODE = "YES";' >> utils/count_lines/dist/count_lines
cat utils/count_lines/count_lines.pl >> utils/count_lines/dist/count_lines
"gcc" -marm -fno-stack-protector -Wall -Iiserv/stage2_p/build/iserv/autogen -Iiserv/. -Iiserv/stage2_p/build/. -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/libraries/directory/.' -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/libraries/directory/dist-install/build/.' -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/libraries/unix/include' -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/libraries/unix/dist-install/build/include' -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/libraries/unix/dist-install/build/include' -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/libraries/unix/dist-install/build/dist-install/build/include' -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/libraries/time/lib/include' -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/libraries/time/lib/dist-install/build/include' -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/libraries/time/dist-install/build/lib/include' -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/libraries/time/dist-install/build/lib/dist-install/build/include' -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/libraries/containers/include' -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/libraries/containers/dist-install/build/include' -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/libraries/containers/dist-install/build/include' -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/libraries/containers/dist-install/build/dist-install/build/include' -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/libraries/bytestring/include' -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/libraries/bytestring/dist-install/build/include' -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/libraries/bytestring/dist-install/build/include' -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/libraries/bytestring/dist-install/build/dist-install/build/include' -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/libraries/base/include' -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/libraries/base/dist-install/build/include' -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/libraries/base/dist-install/build/include' -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/libraries/base/dist-install/build/dist-install/build/include' -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/libraries/integer-gmp/include' -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/libraries/integer-gmp/dist-install/build/include' -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/libraries/integer-gmp/dist-install/build/include' -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/libraries/integer-gmp/dist-install/build/dist-install/build/include' -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/rts/dist/build' -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/includes' -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/includes/dist-derivedconstants/header' -Werror=unused-but-set-variable -Wno-error=inline -ffunction-sections -fdata-sections -c iserv/cbits/iservmain.c -o iserv/stage2_p/build/cbits/iservmain.p_o
"gcc" -marm -fno-stack-protector -Wall -Iiserv/stage2_dyn/build/iserv/autogen -Iiserv/. -Iiserv/stage2_dyn/build/. -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/libraries/directory/.' -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/libraries/directory/dist-install/build/.' -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/libraries/unix/include' -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/libraries/unix/dist-install/build/include' -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/libraries/unix/dist-install/build/include' -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/libraries/unix/dist-install/build/dist-install/build/include' -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/libraries/time/lib/include' -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/libraries/time/lib/dist-install/build/include' -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/libraries/time/dist-install/build/lib/include' -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/libraries/time/dist-install/build/lib/dist-install/build/include' -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/libraries/containers/include' -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/libraries/containers/dist-install/build/include' -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/libraries/containers/dist-install/build/include' -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/libraries/containers/dist-install/build/dist-install/build/include' -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/libraries/bytestring/include' -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/libraries/bytestring/dist-install/build/include' -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/libraries/bytestring/dist-install/build/include' -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/libraries/bytestring/dist-install/build/dist-install/build/include' -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/libraries/base/include' -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/libraries/base/dist-install/build/include' -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/libraries/base/dist-install/build/include' -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/libraries/base/dist-install/build/dist-install/build/include' -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/libraries/integer-gmp/include' -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/libraries/integer-gmp/dist-install/build/include' -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/libraries/integer-gmp/dist-install/build/include' -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/libraries/integer-gmp/dist-install/build/dist-install/build/include' -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/rts/dist/build' -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/includes' -I'/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/includes/dist-derivedconstants/header' -Werror=unused-but-set-variable -Wno-error=inline -ffunction-sections -fdata-sections -c iserv/cbits/iservmain.c -o iserv/stage2_dyn/build/cbits/iservmain.dyn_o
/usr/bin/install -c -m 755 utils/hp2ps/dist/build/tmp/hp2ps inplace/lib/bin/hp2ps
/usr/bin/install -c -m 755 utils/genapply/dist/build/tmp/genapply inplace/lib/bin/genapply
"cp" utils/count_lines/dist/count_lines inplace/bin/count_lines
chmod +x inplace/bin/count_lines
"rm" -f inplace/bin/hp2ps
echo '#!/bin/sh' >> inplace/bin/hp2ps
echo 'executablename="/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/inplace/lib/bin/hp2ps"' >> inplace/bin/hp2ps
echo 'datadir="/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/inplace/lib"' >> inplace/bin/hp2ps
echo 'bindir="/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/inplace/bin"' >> inplace/bin/hp2ps
echo 'topdir="/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/inplace/lib"' >> inplace/bin/hp2ps
echo 'pgmgcc="gcc"' >> inplace/bin/hp2ps
echo 'export LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"' >> inplace/bin/hp2ps
cat utils/hp2ps/hp2ps.wrapper >> inplace/bin/hp2ps
chmod +x inplace/bin/hp2ps
"rm" -f inplace/bin/genapply
echo '#!/bin/sh' >> inplace/bin/genapply
echo 'executablename="/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/inplace/lib/bin/genapply"' >> inplace/bin/genapply
echo 'datadir="/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/inplace/lib"' >> inplace/bin/genapply
echo 'bindir="/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/inplace/bin"' >> inplace/bin/genapply
echo 'topdir="/tmp/workspace/alpine-build-ghc_8.4.1-4JCVG775BLPUUIVONG7OXNONWQVRSQWC3VMIAC47VEVGV7FT77PA/community/ghc/src/ghc-8.4.1/inplace/lib"' >> inplace/bin/genapply
echo 'pgmgcc="gcc"' >> inplace/bin/genapply
echo 'export LD_LIBRARY_PATH="/usr/lib/ghc-8.0.2/pretty-1.1.3.3:/usr/lib/ghc-8.0.2/deepseq-1.4.2.0:/usr/lib/ghc-8.0.2/array-0.5.1.1:/usr/lib/ghc-8.0.2/base-4.9.1.0:/usr/lib/ghc-8.0.2/integer-gmp-1.0.0.1:/usr/lib/ghc-8.0.2/ghc-prim-0.5.0.0:/usr/lib/ghc-8.0.2/rts${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"' >> inplace/bin/genapply
echo 'exec "$executablename" ${1+"$@"}' >> inplace/bin/genapply
chmod +x inplace/bin/genapply
"inplace/bin/genapply" >rts/dist/build/AutoApply.cmm
"inplace/bin/ghc-stage1" -static -H32m -O -Wall -Iincludes -Iincludes/dist -Iincludes/dist-derivedconstants/header -Iincludes/dist-ghcconstants/header -Irts -Irts/dist/build -DCOMPILING_RTS -this-unit-id rts -optc-DNOSMP -dcmm-lint -i -irts -irts/dist/build -Irts/dist/build -irts/dist/build/./autogen -Irts/dist/build/./autogen -O2 -Wcpp-undef -Wnoncanonical-monad-instances -c rts/dist/build/AutoApply.cmm -o rts/dist/build/AutoApply.o
"inplace/bin/ghc-stage1" -static -prof -eventlog -H32m -O -Wall -Iincludes -Iincludes/dist -Iincludes/dist-derivedconstants/header -Iincludes/dist-ghcconstants/header -Irts -Irts/dist/build -DCOMPILING_RTS -this-unit-id rts -optc-DNOSMP -dcmm-lint -i -irts -irts/dist/build -Irts/dist/build -irts/dist/build/./autogen -Irts/dist/build/./autogen -O2 -Wcpp-undef -Wnoncanonical-monad-instances -c rts/dist/build/AutoApply.cmm -o rts/dist/build/AutoApply.p_o
"inplace/bin/ghc-stage1" -fPIC -dynamic -H32m -O -Wall -Iincludes -Iincludes/dist -Iincludes/dist-derivedconstants/header -Iincludes/dist-ghcconstants/header -Irts -Irts/dist/build -DCOMPILING_RTS -this-unit-id rts -optc-DNOSMP -dcmm-lint -i -irts -irts/dist/build -Irts/dist/build -irts/dist/build/./autogen -Irts/dist/build/./autogen -O2 -Wcpp-undef -Wnoncanonical-monad-instances -c rts/dist/build/AutoApply.cmm -o rts/dist/build/AutoApply.dyn_o
"inplace/bin/ghc-stage1" -static -eventlog -H32m -O -Wall -Iincludes -Iincludes/dist -Iincludes/dist-derivedconstants/header -Iincludes/dist-ghcconstants/header -Irts -Irts/dist/build -DCOMPILING_RTS -this-unit-id rts -optc-DNOSMP -dcmm-lint -i -irts -irts/dist/build -Irts/dist/build -irts/dist/build/./autogen -Irts/dist/build/./autogen -O2 -Wcpp-undef -Wnoncanonical-monad-instances -c rts/dist/build/AutoApply.cmm -o rts/dist/build/AutoApply.l_o
/usr/lib/gcc/armv6-alpine-linux-musleabihf/6.4.0/../../../../armv6-alpine-linux-musleabihf/bin/ld: error: /tmp/ghc24934_0/ghc_7.p_o uses VFP register arguments, libraries/ghc-prim/dist-install/build/GHC/Types.p_o does not
/usr/lib/gcc/armv6-alpine-linux-musleabihf/6.4.0/../../../../armv6-alpine-linux-musleabihf/bin/ld: failed to merge target specific data of file /tmp/ghc24934_0/ghc_7.p_o
collect2: error: ld returned 1 exit status
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment