"/usr/local/bin/ghc" -o utils/deriveConstants/dist/build/tmp/deriveConstants -hisuf hi -osuf o -hcsuf hc -static -H32m -O -package process -package containers -package-db libraries/bootstrapping.conf -i -iutils/deriveConstants/. -iutils/deriveConstants/dist/build -iutils/deriveConstants/dist/build/autogen -Iutils/deriveConstants/dist/build -Iutils/deriveConstants/dist/build/autogen -no-user-package-db -rtsopts -odir utils/deriveConstants/dist/build -hidir utils/deriveConstants/dist/build -stubdir utils/deriveConstants/dist/build -static -H32m -O -package process -package containers -package-db libraries/bootstrapping.conf -i -iutils/deriveConstants/. -iutils/deriveConstants/dist/build -iutils/deriveConstants/dist/build/autogen -Iutils/deriveConstants/dist/build -Iutils/deriveConstants/dist/build/autogen -no-user-package-db -rtsopts utils/deriveConstants/dist/build/DeriveConstants.o /usr/local/lib/ghc/libHSrts.a(RtsFlags.o)(.text+0x2cd): In function `copyArg': : warning: strcpy() is almost always misused, please use strlcpy() /usr/local/lib/ghc/libHSrts.a(RtsUtils.o)(.text+0x329): In function `showStgWord64': : warning: sprintf() is often misused, please use snprintf() /usr/bin/install -c -m 755 utils/deriveConstants/dist/build/tmp/deriveConstants inplace/lib/bin/deriveConstants "rm" -f inplace/bin/deriveConstants echo '#!/bin/sh' >> inplace/bin/deriveConstants echo 'executablename="/home/ghc-builder/build/builder/tempbuild/build/inplace/lib/bin/deriveConstants"' >> inplace/bin/deriveConstants echo 'datadir="/home/ghc-builder/build/builder/tempbuild/build/inplace/lib"' >> inplace/bin/deriveConstants echo 'bindir="/home/ghc-builder/build/builder/tempbuild/build/inplace/bin"' >> inplace/bin/deriveConstants echo 'topdir="/home/ghc-builder/build/builder/tempbuild/build/inplace/lib"' >> inplace/bin/deriveConstants echo 'pgmgcc="/usr/bin/gcc"' >> inplace/bin/deriveConstants echo 'export LD_LIBRARY_PATH=":$LD_LIBRARY_PATH"' >> inplace/bin/deriveConstants echo 'exec "$executablename" ${1+"$@"}' >> inplace/bin/deriveConstants chmod +x inplace/bin/deriveConstants "inplace/bin/mkdirhier" includes/dist-derivedconstants/header//. inplace/bin/deriveConstants --gen-haskell-type -o includes/dist-derivedconstants/header/GHCConstantsHaskellType.hs --tmpdir includes/dist-derivedconstants/header/ --gcc-program "/usr/bin/gcc" --gcc-flag -fno-stack-protector --gcc-flag -Iincludes --gcc-flag -Iincludes/dist --gcc-flag -Iincludes/dist-derivedconstants/header --gcc-flag -Iincludes/dist-ghcconstants/header --gcc-flag -Irts --gcc-flag -fcommon --nm-program "/usr/bin/nm" inplace/bin/deriveConstants --gen-haskell-wrappers -o includes/dist-derivedconstants/header/GHCConstantsHaskellWrappers.hs --tmpdir includes/dist-derivedconstants/header/ --gcc-program "/usr/bin/gcc" --gcc-flag -fno-stack-protector --gcc-flag -Iincludes --gcc-flag -Iincludes/dist --gcc-flag -Iincludes/dist-derivedconstants/header --gcc-flag -Iincludes/dist-ghcconstants/header --gcc-flag -Irts --gcc-flag -fcommon --nm-program "/usr/bin/nm" inplace/bin/deriveConstants --gen-haskell-exports -o includes/dist-derivedconstants/header/GHCConstantsHaskellExports.hs --tmpdir includes/dist-derivedconstants/header/ --gcc-program "/usr/bin/gcc" --gcc-flag -fno-stack-protector --gcc-flag -Iincludes --gcc-flag -Iincludes/dist --gcc-flag -Iincludes/dist-derivedconstants/header --gcc-flag -Iincludes/dist-ghcconstants/header --gcc-flag -Irts --gcc-flag -fcommon --nm-program "/usr/bin/nm" Creating includes/ghcversion.h... Done. inplace/bin/deriveConstants --gen-header -o includes/dist-derivedconstants/header/DerivedConstants.h --tmpdir includes/dist-derivedconstants/header/ --gcc-program "/usr/bin/gcc" --gcc-flag -fno-stack-protector --gcc-flag -Iincludes --gcc-flag -Iincludes/dist --gcc-flag -Iincludes/dist-derivedconstants/header --gcc-flag -Iincludes/dist-ghcconstants/header --gcc-flag -Irts --gcc-flag -fcommon --nm-program "/usr/bin/nm" nm: unknown option -- P usage: nm [-aCegnoprsuw] [file ...] deriveConstants: readProcess: /usr/bin/nm "-P" "includes/dist-derivedconstants/header/tmp.o" (exit 1): failed gmake[1]: *** [includes/dist-derivedconstants/header/DerivedConstants.h] Error 1 includes/ghc.mk:196: recipe for target 'includes/dist-derivedconstants/header/DerivedConstants.h' failed Makefile:71: recipe for target 'all' failed gmake: *** [all] Error 2