"inplace/bin/ghc-stage1" -optc-m64 -optc-fno-stack [...] -O2 -c rts/Libdw.c -o rts/dist/build/Libdw.o "inplace/bin/ghc-stage1" -optc-m64 -optc-fno-stack [...] -O2 -c rts/Stats.c -o rts/dist/build/Stats.o "inplace/bin/ghc-stage1" -optc-m64 -optc-fno-stack [...] rts/Interpreter.c -o rts/dist/build/Interpreter.o "inplace/bin/ghc-stage1" -optc-m64 -optc-fno-stack [...] -c rts/Messages.c -o rts/dist/build/Messages.o "inplace/bin/ghc-stage1" -optc-m64 -optc-fno-stack [...] -c rts/RtsUtils.c -o rts/dist/build/RtsUtils.o "inplace/bin/ghc-stage1" -optc-m64 -optc-fno-stack [...] -O2 -c rts/Timer.c -o rts/dist/build/Timer.o "inplace/bin/ghc-stage1" -optc-m64 -optc-fno-stack [...] O2 -c rts/Threads.c -o rts/dist/build/Threads.o "inplace/bin/ghc-stage1" -optc-m64 -optc-fno-stack [...] -c rts/Capability.c -o rts/dist/build/Capability.o "inplace/bin/ghc-stage1" -optc-m64 -optc-fno-stack [...] O2 -c rts/Globals.c -o rts/dist/build/Globals.o "inplace/bin/ghc-stage1" -optc-m64 -optc-fno-stack [...] -c rts/Adjustor.c -o rts/dist/build/Adjustor.o "inplace/bin/ghc-stage1" -optc-m64 -optc-fno-stack [...] -O2 -c rts/RtsAPI.c -o rts/dist/build/RtsAPI.o "inplace/bin/ghc-stage1" -optc-m64 -optc-fno-stack-protector -optc-Wall -optc-Wall -optc-Wextra -optc-Wstrict-prototypes -optc-Wmissing-prototypes [...] -irts/dist/build -irts/dist/build/autogen -Irts/dist/build -Irts/dist/build/autogen -O2 -c rts/Schedule.c -o rts/dist/build/Schedule.o "inplace/bin/ghc-stage1" -optc-m64 -optc-fno-stack-protector -optc-Wall -optc-Wall -optc-Wextra -optc-Wstrict-prototypes -optc-Wmissing-prototypes -optc-Wmissing-declarations -optc-Winline -optc-Waggregate-return -optc-Wpointer-arith -optc-Wmissing-noreturn -optc-Wnested-externs -optc-Wredundant-decls -optc-Iincludes -optc-Iincludes/dist -optc-Iincludes/dist-derivedconstants/header -optc-Iincludes/dist-ghcconstants/header -optc-Irts -optc-Irts/dist/build -optc-DCOMPILING_RTS -optc-fno-strict-aliasing -optc-fno-common -optc-DBE_CONSERVATIVE -optc-DDTRACE -optc-Irts/dist/build/autogen -optc-O2 -optc-fomit-frame-pointer -optc-g -optc-DRtsWay=\"rts_v\" -static -H32m -O -Wall -Iincludes -Iincludes/dist -Iincludes/dist-derivedconstants/header -Iincludes/dist-ghcconstants/header -Irts -Irts/dist/build -DCOMPILING_RTS -this-package-key rts -dcmm-lint -DDTRACE -i -irts -irts/dist/build -irts/dist/build/autogen -Irts/dist/build -Irts/dist/build/autogen -O2 -c rts/RtsDllMain.c -o rts/dist/build/RtsDllMain.o "inplace/bin/ghc-stage1" -optc-m64 -optc-fno-stack-protector -optc-Wall -optc-Wall -optc-Wextra -optc-Wstrict-prototypes -optc-Wmissing-prototypes -optc-Wmissing-declarations -optc-Winline -optc-Waggregate-return -optc-Wpointer-arith -optc-Wmissing-noreturn -optc-Wnested-externs -optc-Wredundant-decls -optc-Iincludes -optc-Iincludes/dist -optc-Iincludes/dist-derivedconstants/header -optc-Iincludes/dist-ghcconstants/header -optc-Irts -optc-Irts/dist/build -optc-DCOMPILING_RTS -optc-fno-strict-aliasing -optc-fno-common -optc-DBE_CONSERVATIVE -optc-DDTRACE -optc-Irts/dist/build/autogen -optc-O2 -optc-fomit-frame-pointer -optc-g -optc-DRtsWay=\"rts_v\" -static -H32m -O -Wall -Iincludes -Iincludes/dist -Iincludes/dist-derivedconstants/header -Iincludes/dist-ghcconstants/header -Irts -Irts/dist/build -DCOMPILING_RTS -this-package-key rts -dcmm-lint -DDTRACE -i -irts -irts/dist/build -irts/dist/build/autogen -Irts/dist/build -Irts/dist/build/autogen -O2 -c rts/WSDeque.c -o rts/dist/build/WSDeque.o "inplace/bin/ghc-stage1" -optc-m64 -optc-fno-stack-protector -optc-Wall -optc-Wall -optc-Wextra -optc-Wstrict-prototypes -optc-Wmissing-prototypes -optc-Wmissing-declarations -optc-Winline -optc-Waggregate-return -optc-Wpointer-arith -optc-Wmissing-noreturn -optc-Wnested-externs -optc-Wredundant-decls -optc-Iincludes -optc-Iincludes/dist -optc-Iincludes/dist-derivedconstants/header -optc-Iincludes/dist-ghcconstants/header -optc-Irts -optc-Irts/dist/build -optc-DCOMPILING_RTS -optc-fno-strict-aliasing -optc-fno-common -optc-DBE_CONSERVATIVE -optc-DDTRACE -optc-Irts/dist/build/autogen -optc-O2 -optc-fomit-frame-pointer -optc-g -optc-DRtsWay=\"rts_v\" -static -H32m -O -Wall -Iincludes -Iincludes/dist -Iincludes/dist-derivedconstants/header -Iincludes/dist-ghcconstants/header -Irts -Irts/dist/build -DCOMPILING_RTS -this-package-key rts -dcmm-lint -DDTRACE -i -irts -irts/dist/build -irts/dist/build/autogen -Irts/dist/build -Irts/dist/build/autogen -O2 -c rts/Linker.c -o rts/dist/build/Linker.o rts/Linker.c: In function ?ocGetNames_ELF?: rts/Linker.c:4632:10: error: error: ?Elf64_Section? undeclared (first use in this function) rts/Linker.c:4632:10: error: note: each undeclared identifier is reported only once for each function it appears in rts/Linker.c:4632:22: error: error: expected ?;? before ?shndx? rts/Linker.c:4640:14: error: error: ?shndx? undeclared (first use in this function) `gcc' failed in phase `C Compiler'. (Exit code: 1) gmake[1]: *** [rts/dist/build/Linker.o] Error 1 gmake: *** [all] Error 2