Configure errors

Simon Peyton Jones simon.peytonjones at gmail.com
Mon Aug 7 09:50:31 UTC 2023


Rodrigo

I'm getting lots of errors from ./configure, see below.

Seems to be something to do with your toolchain stuff?  I'm lost.  Should I
worry? If not, could they be made to look less alarming somehow?

Simon

Entering: checking for C compiler
  checking for -Qunused-arguments support...
  Entering: checking for -Qunused-arguments support
    Execute: /usr/bin/gcc -Qunused-arguments -c -o /tmp/tmp0/test.o
/tmp/tmp0/test.o.c
    Command failed: /usr/bin/gcc -Qunused-arguments -c -o /tmp/tmp0/test.o
/tmp/tmp0/test.o.c
Exited with code 1

  found for -Qunused-arguments support: Cc {ccProgram = Program {prgPath =
"/usr/bin/gcc", prgFlags = []}}
  checking whether Cc supports --target...
  Entering: checking whether Cc supports --target
    Execute: /usr/bin/gcc -Werror --target=x86_64-unknown-linux -c -o
/tmp/tmp0/test.o /tmp/tmp0/test.o.c
    Command failed: /usr/bin/gcc -Werror --target=x86_64-unknown-linux -c
-o /tmp/tmp0/test.o /tmp/tmp0/test.o.c
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
  found for C99 support: ()
  checking whether cc supports extra via-c flags...
  Entering: checking whether cc supports extra via-c flags
    Execute: /usr/bin/gcc -c -fwrapv -fno-builtin -Werror -x c -o
/tmp/tmp0/test.o /tmp/tmp0/test.c
  found whether cc supports extra via-c flags: ()
found for C compiler: Cc {ccProgram = Program {prgPath = "/usr/bin/gcc",
prgFlags = []}}
checking for C++ compiler...
Entering: checking for C++ compiler
  x86_64-unknown-linux-g++ not found in search path
  x86_64-unknown-linux-clang++ not found in search path
  x86_64-unknown-linux-c++ not found in search path
  checking whether C++ supports --target...
  Entering: checking whether C++ supports --target
    Execute: /usr/bin/g++ -Werror --target=x86_64-unknown-linux -c -o
/tmp/tmp0/test.o /tmp/tmp0/test.o.cpp
    Command failed: /usr/bin/g++ -Werror --target=x86_64-unknown-linux -c
-o /tmp/tmp0/test.o /tmp/tmp0/test.o.cpp
Exited with code 1

  found whether C++ supports --target: Cxx {cxxProgram = Program {prgPath =
"/usr/bin/g++", prgFlags = []}}
  Execute: /usr/bin/g++ -c -o /tmp/tmp0/test.o /tmp/tmp0/test.o.cpp
found for C++ compiler: Cxx {cxxProgram = Program {prgPath =
"/usr/bin/g++", prgFlags = []}}
checking for C preprocessor...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20230807/56bc4975/attachment.html>


More information about the ghc-devs mailing list