Skip to content

ghc-toolchain: Failing on Centos7

Exited with code 1

  found whether Cc supports --target: Cc {ccProgram = Program { prgPath =  "/usr/bin/gcc" , prgFlags = [] }}
  checking whether Cc works...
  Entering: checking whether Cc works
    Execute: /usr/bin/gcc -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c
  found whether Cc works: ()
  checking for C99 support...
  Entering: checking for C99 support
    Execute: /usr/bin/gcc -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c
    Command failed: /usr/bin/gcc -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c
Exited with code 1

[Error {errorMessage = "Command failed: /usr/bin/gcc -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.c\nExited with code 1\n", errorLogContexts = ["checking for C99 support","checking for C compiler"]}]
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information